summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2011-09-01grammar fix; from BrynetJason McIntyre
2011-09-01move a log_debug() call to a less annoying spot so that it does not getGilles Chehade
called for each single line of DATA exchanged between smtp and mfa
2011-09-01Introduce a small set of functions to manage stat counters in aEric Faurot
simpler and hopefully saner way. ok gilles@ chl@
2011-09-01add missing header needed by bsearch()Charles Longeau
ok gilles@
2011-09-01- if no filter is setup, do not overwrite the data line with filtmsg bufferCharles Longeau
- remove annoying debug lines - disable back filters at smtpd.conf level committing on behalf of gilles@
2011-09-01Fix the display of running utilities (e.g. don't say we are runningAntoine Jacoutot
makemap when we are in fact running newaliases...). No functionnal change.
2011-08-31propagate change of internalsMarc Espie
fixes: Not a SCALAR reference at /usr/libdata/perl5/OpenBSD/PkgSpec.pm line 454
2011-08-31add support for per-line DATA callbacks, this allows filters to take theirGilles Chehade
decisions *while* the message is being received by the client.
2011-08-31versionspec stuff belongs in PkgSpec, not PackageNameMarc Espie
2011-08-31synch with current state of affairs a bitMarc Espie
2011-08-30Call free() into ramqueue_remove_{batch,host,message,envelope}() instead of ↵Charles Longeau
just after the function call. While there, also include stats counters into their respective function. ok gilles@
2011-08-30remove unused headerCharles Longeau
ok gilles@
2011-08-30fix format stringCharles Longeau
ok gilles@
2011-08-29cast all printed time_t to long long int, and change format string accordingly.Charles Longeau
ok gilles@
2011-08-29remove unused fileCharles Longeau
ok gilles@
2011-08-29add missing header needed by signal()Charles Longeau
ok gilles@
2011-08-28Clear bounce envelope structure, to avoid wrong use when ↵Charles Longeau
bounce_record_message() returns 0. Initial report from me, tweak from gilles@ ok gilles@
2011-08-28Use the correct terminology, replace the term "entry" with the term ↵aschrijver
"attribute" where applicable. OK martinh@ pyr@
2011-08-28Add support for the netid.byname YP map. This map is used by getgrouplist(3),aschrijver
which is used by (amongst other things) initgroups(3) to set the supplemantary groups on login. OK pyr@
2011-08-28fix pasto in strlcpy() truncation testGilles Chehade
2011-08-27typoGilles Chehade
2011-08-27initial support for a session-time filtering APIGilles Chehade
currently only HELO/EHLO, MAIL, RCPT are supported, however ... I have voluntarily disabled filters at smtpd.conf level so people don't play with it until the API has stabilized a bit discussed with several people in private, no one opposed the feature
2011-08-27the order of packinglists has been fixed for years by now, so it's noMarc Espie
longer necessary to look for @arch for "new" packing-lists. Optimize a bit more for @pkgpath since @wantlib/@depend mean it's over.
2011-08-26add missing header needed by time()Charles Longeau
ok gilles@
2011-08-26remove one more reference to pkg_merge; ok espieJason McIntyre
2011-08-26zap it from there tooMarc Espie
2011-08-26Shared Stuff never got usedMarc Espie
2011-08-26zap fatpackages. nobody actually uses them.Marc Espie
accordingly, locations do not need to track architecture.
2011-08-23zap old INSTALL/DEINSTALL stuff, it's been deprecated for 3 years, and removedMarc Espie
from pkg_create for over a year.
2011-08-22Use standard EXIT_SUCCESS/EXIT_FAILURE and STD{IN,OUT,ERR}_FILENOTodd C. Miller
defines instead of using custom macros. OK deraadt@ gilles@
2011-08-20Add support for -v (enable verbose logging on the command line).Stuart Henderson
Previously only available via iscsictl. ok claudio@
2011-08-20Decouple log_verbose() from log_init() so the verbose flag stays set withStuart Henderson
"-v" (previously only "-vd" worked). Similar to recent ospfd commit. ok claudio@
2011-08-20Decouple log_verbose() from log_init() so the verbose flag stays set withStuart Henderson
"ospfd -v" (previously only "-vd" worked). Feedback on earlier implementation from henning@ blambert@ claudio@, ok claudio@
2011-08-19Use futimens() instead of futimes() to avoid converting to/fromTodd C. Miller
struct timeval. OK guenther@
2011-08-19as with other list types, column lists generally do not need a Pp/-compactJason McIntyre
construct; this also sidesteps what seems to be a problem with mandoc, in that "-column -compact" seems to mess up the formatting. thus these pages should now have their lists formatted nicely (i.e. correctly aligned and with indent applied); as a side note, the fact that headers are not properly marked up is another issue which will be addressed separately (a mandoc fix is needed, i think). i have fudged a few of these to mark up properly, since the workaround does make sense for some pages. as another side note, i haven;t fixed man7, as i need to prepare a separate diff for kristaps and ingo.
2011-08-18spacingMarc Espie
2011-08-18tweakMarc Espie
2011-08-17- plug a memory leak in runner_remove_envelope()Gilles Chehade
- cosmetic change
2011-08-17move ramqueue_host pointer from ramqueue_envelope to ramqueue_message.Gilles Chehade
this allows us to save one pointer from each envelope stored in ram while still allowing O(1) host lookups by ramqueue_envelope.
2011-08-17- teach smtpctl remove about the new ramqueue structureGilles Chehade
- bonus #1: O(log n) removal of envelopes - bonus #2: removing all envelopes that have the same msgid works again
2011-08-17- introduce ramqueue_lookup_{host,message,envelope} to perform lookups inGilles Chehade
the new ramqueue structure - introduce ramqueue_reschedule() and ramqueue_reschedule_envelope() which to reschedule a message or a specific envelope. O(n) -> O(log n) \o/
2011-08-17pkg_add and pkg_delete will now syslog activity by default.Marc Espie
2011-08-16smtpctl show sizes, displays the size of queue-related structures, usefulGilles Chehade
for developers to see the impact of structure changes on memory and disk usage, and useful for users to better understand 'smtpctl show stats'
2011-08-16add a host-tree and an envelope-tree in the ramqueue, they will be used toGilles Chehade
improve scheduling and general ramqueue operations. unused yet
2011-08-03Remove the 'obsolete file(s)' feature. It may come back at some pointAntoine Jacoutot
(doubtful) but since files tend to move from one set to another sysmerge would end up tagging them as obsolete. I see no way to fix this... req. by and ok deraadt@, ok landry sthen@
2011-08-02clean up the 1st sentence even more. it is unbelievable how it sometimesTheo de Raadt
takes 3 people to get the first two sentences of a manual page right. ok halex jmc
2011-08-02better describe what this app does, at the behest of deraadt;Jason McIntyre
2011-08-02Say "firmware files" instead of "firmwares". It is so hard to be clearTheo de Raadt
when they are per-device packages which can containing more than one firmware files.. Shown to halex, no response
2011-07-28tweak previous;Jason McIntyre
2011-07-27a bunch of requested changes:Alexander Hall
- pass same count of -v's to pkg_add as was passed to fw_update - don't be all quiet if -v is specified - add -n flag as per pkg_add - prefix all verbose messages by 'fw_update: ' - look for devices in current dmesg as well as dmesg.boot ok deraadt krw