summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2009-10-20the flags -h and -u are mutually exclusive; we do not need enclosingIgor Sobrado
-f in brackets in the list of options; while here, sort the options in the manual page. jmc@ greatly improved the diff fixing a few additional bits on the manual page. ok jmc@
2009-10-20improve the synopsis of mkalias(8) and sort the list of flags onIgor Sobrado
the manual page. ok jmc@
2009-10-19update man pagesGilles Chehade
2009-10-19change virtual rule so that it reads: accept for virtual "mapname", insteadGilles Chehade
of: accept for virtual map "mapname" ... discussed with jacekm@
2009-10-19currently, smtpd is capable of having multiple listeners with differentGilles Chehade
options but they will all share the same ruleset. this means that there is no way to have a rule apply to a session established on one listener but not applied on another. this commit brings initial support for tagging listeners and having the rules able to match these specific listeners. The following will define a rule which will only apply to interfaces tagged as "mynet": listen on lo0 # implicit lo0 tag listen on fxp0 tag mynet listen on fxp1 tag mynet accept on mynet for domain "example.org" deliver to mbox
2009-10-19users within virtual domains do not necessarily map to a real user account,Gilles Chehade
teach smtpd how to deliver using specific user permissions: accept for virtual map "foo" deliver to maildir "/m/%d/%u" user foo will deliver mail under /m/domain/user as user foo idea and initial diff discussed with jacekm@
2009-10-19fix compile time warning due to missing castGilles Chehade
2009-10-19Correct a target name so that we don't rebuild vers.o (and thenPhilip Guenthe
bsd) unless some other object has changed. Rebuild and reinstall in /usr/src/usr.sbin/config/ after updating! "I like it" deraadt@
2009-10-19remove almost all references to set->handle, iterate over newer in mostMarc Espie
cases (todo: rebuild dependency headers for the complex case...)
2009-10-19iterate over newer instead of 1 single handleMarc Espie
2009-10-19basic routines to handle the merging of updatesets: mark updatesets asMarc Espie
already done, separate remove/mark_installed in tracker, create a merge method that allows the merging of updatesets.
2009-10-19cleanup method that does more or less what's neededMarc Espie
2009-10-19syntactic sugar: methods to access plist and location from handle.Marc Espie
2009-10-19factor common code, that's a handle specific headerMarc Espie
2009-10-18actually, we want to resolve C_ALL and C_NET, we just don't want to do itGilles Chehade
when their action is to be relayed.
2009-10-18fix a bug that was introduced by my changes in ruleset matching and whichGilles Chehade
caused an envelope to be saved with action A_INVALID when it matches either A_RELAY or A_RELAYVIA. reported by various people
2009-10-18do not attempt to resolve aliases for C_ALL and C_NET destinationsGilles Chehade
2009-10-17sort flags.Igor Sobrado
2009-10-16after recent change in virtual maps support smtpd.conf.5 was not fullyGilles Chehade
updated and still referenced the "virtual" map which no longer exists. issue spotted by Alexander Hall <alexander@beard.se>
2009-10-16as of now, "accept for all deliver to mbox" is a valid syntax, sadly lka isGilles Chehade
not aware of this and will fatal() when it attempts to resolve a recipient for a destination that's not C_DOM or C_VDOM. issue reported by Dorian Buettner <dorian.buettner@gmx.de>
2009-10-16ouch. delete is not undef. We need to make sure the entries vanish,Marc Espie
otherwise, find_dep_in_stuff_to_install will still find the key.
2009-10-16sort flags in synopsis, usage, and description.Igor Sobrado
2009-10-15fix installation headerMarc Espie
2009-10-15missed one, tell tracker this is already installedMarc Espie
2009-10-15allow solve to find dependencies in current UpdateSetMarc Espie
2009-10-15sync updatesets with tracker when we create them...Marc Espie
2009-10-15separate the dependencies in several lists for registration, so thatMarc Espie
newer can have several entries.
2009-10-15remove parameter we no longer useMarc Espie
2009-10-15the to_install/to_update stuff is now in the tracker object.Marc Espie
2009-10-15move the installed check in Tracker, where they belongMarc Espie
2009-10-15pkg_add will need to track installation progress globally, so that we don'tMarc Espie
solve dependencies with stuff that we want to update later... create that information, to be used...
2009-10-15reorg codeMarc Espie
2009-10-15missed oneMarc Espie
2009-10-15fix typo that prevented `pkg_info -r` from working.Peter Hessler
OK espie@
2009-10-15let handle compute pkgnames correctly, simplifies code a bitMarc Espie
2009-10-14move OpenBSD::Handle into its own file. I guess I need to disentangle thisMarc Espie
code before I go further....
2009-10-14fix slice that doesn't work as I thought it would...Marc Espie
2009-10-14add a few comments, finish killing kitchensink.Marc Espie
2009-10-14be a bit more specific, write the list of unsigned packages.Marc Espie
2009-10-14use choose_locationMarc Espie
2009-10-14make signature checking more quiet: discard openssl's STDERR, keep a tallyMarc Espie
of signed packages. - display a message only if signed packages have been signed. - show IN BIG CAPS unsigned package numbers if a mixture of signed/unsigned has been seen.
2009-10-14add a "print" method to ProgressMeter and StubProgress to allow me to cleanMarc Espie
up the current mess (e.g., print things out to stderr without needing to explicitly clear the current line if needed). create a choose_location method directly in state, that will replace all instances of looking for a package eventually (hopefully).
2009-10-13oops, oops, oops. todo is not todo2Marc Espie
2009-10-13deal with UpdateSets earlier: build an updateset, and ask Update to completeMarc Espie
it. Tweak the control for updates to move to main program. Eventually, we will run updates on the fly (there's still some merging code and debugging to go)
2009-10-13factor out code as stem2locationMarc Espie
2009-10-13you have to hate those stupid tools:Marc Espie
if you echo nlist |ftp some_url the site *won't* give you an error code, it will just spew out a stupid line like: Failed to change directory. Can't change directory to pub/OpenBSD/zoinx: No such file or directory and that on stdout !!! Detect this in list grabbing, and display a decent error message for the user. Avoids some duh moments where you won't find shit because you mistyped the url...
2009-10-13Forgot this bit when disableing restart capability.Claudio Jeker
2009-10-13Disable graceful restart for now. The EOR marker is sent in the wrong placeClaudio Jeker
and fixing this is not a two liner. Will be enabled again when I found out how to fix this.
2009-10-13sort;Jason McIntyre
2009-10-12trim ending whitespaces in aliases files otherwhise makemap will fail toGilles Chehade
parse values correctly when ran in aliases mode, and smtpd will fail to parse values correctly when reading an include file