summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/queue_fsqueue_ascii.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* queue_fsqueue_ascii.c, you're not welcome anymoregilles2012-01-111-0/+0
|
* implement an envelope_ascii API that's not tied to a specific queue_backendgilles2012-01-111-760/+0
| | | | simplify queue_fsqueue
* fix typoeric2012-01-111-2/+2
| | | | | | from Nathanael Rensen ok gilles@
* - introduce delivery backend API (delivery.c)gilles2011-12-131-5/+5
| | | | | | | | - move each delivery method to it's own delivery backend - simplify smtpd.c accordingly - rename A_EXT -> A_MDA since that's what we really do ok eric@
* Do not dump the envelope status. It's useless and not reloaded anyway.eric2011-11-061-22/+2
| | | | ok chl@ gilles@
* Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}int64_t or time_tchl2011-10-271-8/+9
| | | | | | | | While there, cast some time_t to int64_t These will fix build warnings for portable smptd ok gilles@ eric@
* a few important fixes:eric2011-10-231-23/+37
| | | | | | | | | | | - use correct endianness when dumping/loading port - use the right flag set when dumping/loading flags - keep and use the authmap name when needed, rather than an id that might change when smtpd is restarted - dump/load the authmap name with the envelope - remove the rule struct from rq_batch as only the relay info is useful ok gilles@
* relay_as is not used anuwhereeric2011-10-231-16/+2
| | | | ok gilles@
* introduce Q_CORRUPT and queue_backend operation to move a message fromgilles2011-10-231-7/+3
| | | | | | schedule queue to corrupt queue upon envelope loading failure. tested by me, ok eric@
* fsqueue no longer stores envelopes by dumping the structure, instead use agilles2011-10-231-0/+783
couple of load/dump functions to convert to and from a human readable fmt. while at it kill struct delivery and merge back its fields to the envelope. this basically means we shouldn't require users to flush their queues every time we make a change to struct envelope. work is not done, but we're at a better state than the binary fsqueue so we'll improve it in-tree. has been running on my own box for the last 12 hours or so ok eric@, chl@