Always test the envelope source, but consider authenticated envelopes as local.
Merge branch 'master' into portable
introduce queue_init() to replace queue_backend_lookup() and
remove sc_queue from struct smtpd.
add profiling code for the queue backend.
collection of small optims
Merge branch 'master' into optims
avoid useless mkdir if bucket already exists
add a queue_null backend
add scheduler_null
must create the directory
Merge branch 'master' into optims
use rmdir, as unlink does not work on a directory
unlink -> rmdir
some knf
remove queue_message_remove_incoming() function: deleting an incoming
messgae should go through the backend anyway.
add QOP_FD_RW back to let the backend handle the message as it wants and
remove the need for all backends to create a /incoming/<msgid> directory.
fix quoting
implement queue_compress_file() as a helper function.
- avoid 1 stat() call *at least* per envelope
- store pid in struct smtpd to avoid calling getpid() every now and then
remove envelopes dir and use an envelope count instead