On 8/2/2010 10:04 AM, Zhou, Yan wrote:
Hi there,
I implemented my own mail processor (Java program processing mails), and
defined my transport for that.
The problem is if my Java program throws an exception, the mail is
rejected and back to the sender. What I want is for it to go to the
deferred queue.
How can I do that? Either direct the mail to the deferred queue in Java
program or instruct Postfix to do that, so that it can be retried later?
Thanks,
Yan
Either arrange for your java program to exit with a temporary
error or you can add "-o soft_bounce=yes" to that transport
entry in master.cf.
-- Noel Jones