summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/queue_fsqueue.c
AgeCommit message (Expand)Author
2013-04-02change log format to fix warningGilles Chehade
2013-03-31ooops, forgot to lower the define after my very last test: it's 10% not 99%Gilles Chehade
2013-03-30have smtpd temporarily refuse new messages if file system holding the queueGilles Chehade
2013-01-31assorted fixes spotted by Coverity.Eric Faurot
2013-01-26Sync with our smtpd repo:Gilles Chehade
2012-11-23Replace the qwalk API (to retreive on disk envelopes at runtime) withEric Faurot
2012-11-12Cleanups and improvements:Eric Faurot
2012-10-22switch from {open,read,close}() to {fopen,fread,fclose}() in fsqueue_envelope...Charles Longeau
2012-08-30when reloading the envelopes from disk, skip envelopes that areEric Faurot
2012-08-26sane rewrite of the disk-queue traversal code, and log bogus files foundEric Faurot
2012-08-24Don't pass struct envelope pointer in queue backend API, instead use envelope...Charles Longeau
2012-08-24When creating an envelope, check if the message is incoming orEric Faurot
2012-08-19coding style: replace all occurences of u_int* with uint*Charles Longeau
2012-08-19Kill envelope_{dump,load}_file() and replace them with envelope_{dump,load}_b...Charles Longeau
2012-08-08cleanup some old debug tracesEric Faurot
2012-07-10backout the:Charles Longeau
2012-07-09first step of simplifying fsqueue:Gilles Chehade
2012-07-08remove enum queue_kind from queue_fsqueue.c.Charles Longeau
2012-07-02make backend functions static.Eric Faurot
2012-06-20Finally get rid of the queue_kind enum in the queue API. Keep thatEric Faurot
2012-06-01on envelope creation, setup and reset the relevant envelope fields inEric Faurot
2012-06-01move envelope dump/load functions to envelope.cEric Faurot
2012-03-07various reliability fixes:Gilles Chehade
2012-01-31fix an issue observed this week-end while flooding ajacoutot@ :Gilles Chehade
2012-01-29Remove message directories right away instead of moving them to purge/.Eric Faurot
2012-01-29Quick fix to prevent two processes from using the same temporaryEric Faurot
2012-01-24Add a parameter to the queue backend init() call to specify wether theEric Faurot
2012-01-14When moving a message to the corrupt/ directory, give it an alternate nameEric Faurot
2012-01-14Change fsqueue_*_path() to report success or failure instead ofEric Faurot
2012-01-14When creating a new message (in incoming/) make sure that the msgid does notEric Faurot
2012-01-14Add a fsqueue_message_path() function to build path to message dirEric Faurot
2012-01-13use a simpler way to get to the parent directoryEric Faurot
2012-01-13queue_message_purge() and queue_message_delete() are actually the sameEric Faurot
2012-01-12Add a fsqueue_envelope_dump_atomic() function that writes an envelopeEric Faurot
2012-01-11implement an envelope_ascii API that's not tied to a specific queue_backendGilles Chehade
2012-01-11Simplify runner/queue by getting rid of Q_PURGE. Instead, let smtpdEric Faurot
2011-12-27Q_BOUNCE is not used anymoreEric Faurot
2011-12-23On envelope creation, get the message id in a saner way than theEric Faurot
2011-12-22Add fqueue_envelope_path() function to create path to envelopes.Eric Faurot
2011-12-14make queue_fsqueue backend consistent with the backend scheme.Eric Faurot
2011-11-21get rid of the "enqueue/" queue; use "incoming/" instead.Eric Faurot
2011-11-15wooooops defines missing from previous commitGilles Chehade
2011-11-15Qwalk, our API to linearly walk over the persistent queue, did not take theGilles Chehade
2011-11-14The spool and offline directories are backend-independent, so theyEric Faurot
2011-11-06No need to save/restore the batch_id since the envelope is not dumpedEric Faurot
2011-10-27Use PRI{x,d}64 in format strings instead of %llx, %lld or %qd to print {u_,}i...Charles Longeau
2011-10-23introduce Q_CORRUPT and queue_backend operation to move a message fromGilles Chehade
2011-10-23fsqueue no longer stores envelopes by dumping the structure, instead use aGilles Chehade
2011-08-26add missing header needed by time()Charles Longeau
2011-05-16murder struct path and make sure smtpd uses simpler structures that do notGilles Chehade