Is deliverquota exit code being ignored?
Ricardo Mendonça Ferreira <[email protected]> Sun, 25 Oct 2009 21:16:45 +0000 (UTC)
| Newsgroups | gmane.mail.spam.tmda.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all!
We are using TMDA with Postfix and configured deliverquota as the final
delivery program:
DELIVERY = "| /usr/local/bin/deliverquota -w 90 ~/Maildir"
All is well, except when the maildir is full. In this case, it seems TMDA ends
with an exception and the message goes back to the mail queue. The same
happens if we use maildrop instead of deliverquota.
Shouldn't TMDA send back to Postfix the exit status of deliverquota? Or are we
doing something wrong?
Versions of some of our softwares: TMDA/1.1.12 "Macallan" (Python/2.5.2 on
FreeBSD-7.2-RELEASE-p3-i386-32bit-ELF)
Here is a sample of the log files:
Oct 25 17:41:49 XXXXXXX postfix/local[61785]: 7B6863F96D2: to=<XXXXXXX>,
relay=local, delay=456, delays=456/0/0/0.17, dsn=4.3.0, status=deferred
(temporary failure. Command output: See /XXXXXXX/TMDA_DELIVERY_FAILURE
for traceback )
Uncaught Python 2.5.2 Exception (Sun Oct 25 17:41:49 2009):
-----------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/bin/tmda-filter", line 53, in <module>
execfile(os.path.join(execdir, 'tmda-rfilter'))
File "/usr/local/bin/tmda-rfilter", line 880, in <module>
main()
File "/usr/local/bin/tmda-rfilter", line 846, in main
mta.deliver(msgin)
File "/usr/local/lib/python2.5/site-packages/TMDA/MTA.py", line 59, in
deliver msg.deliver()
File "/usr/local/lib/python2.5/site-packages/TMDA/Deliver.py", line 125,
in deliver dest)
File "/usr/local/lib/python2.5/site-packages/TMDA/Deliver.py", line 170, in
__deliver_program
Util.pipecmd(program, message)
File "/usr/local/lib/python2.5/site-packages/TMDA/Util.py", line 404, in
pipecmd 'failure delivering message to command "%s" (%s)' % (command,
txt)
IOError: failure delivering message to command "/usr/local/bin/deliverquota -w
90 ~/Maildir" (command "/usr/local/bin/deliverquota -w 90 ~/Maildir" exited 77
())
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
tmda-workers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-workers