Loading ...
Sorry, an error occurred while loading the content.

Re: control error behavior, into deferred queue instead of rejected

Expand Messages
  • Noel Jones
    ... 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
    Message 1 of 3 , Aug 2, 2010
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.