[Dovecot] deliver exit codes?
Ralf.Hildebrandt at charite.de
Fri May 18 00:38:04 EEST 2007
Before switching to dovecot deliver for all local deliveries, I'm
calling deliver from maildrop (yes, don't laugh).
Snippet from my global /etc/maildroprc:
# Store maillist & junk messages directly
if ( $MATCH )
log "Bulk message: $MATCH"
(meaning: delivery to $HOME/Maildir) with
(meaning: pipe the mail into dovecot deliver, and deliver to INBOX = $HOME/Maildir)
This works really well, UNLESS a user exceeds his/her quota: In that
particular case, deliver fails to deliver the mail and generates a
bounce, all on it's own.
It's exit status is 0 in that case, so my MTA (postfix) thinks that the
mail has been delivered successfully.
I'd prefer deliver to return EX_TEMPFAIL, which I can pass through
maildrop back to postfix, which will then log a temporary error and
will bounce the mail all by itself after 5 days time.
Ralf Hildebrandt (Ralf.Hildebrandt at charite.de) plonk at charite.de
Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155
The Imperial Vendor or Contractor probably told them that droid armies
don't need redundant command centers, nor any kind of high availability ...
you're supposed to buy several, and cluster them.
Redundant Array of Inexpensive Droids?
More information about the dovecot