On Wed, Oct 28, 2015 at 10:17:35AM -0700, Ken Simpson wrote:

> Is there a way to have Postfix take a specific action based on the
> *response* of the SMTP server to which it is connected? What I'm hoping to
> accomplish is re-queueing messages to a new queue whenever I see an SMTP
> response indicating that a message has been "grey-listed". For complex
> reasons, it's not enough in our application to just retry the message on
> the same general queue.

No, the most you can do is specify a fallback relay, which will
handle all deferred mail.  There is no mechanism to enable/disable
the fallback relay conditionally on the remote response.

    http://www.postfix.org/postconf.5.html#smtp_fallback_relay

-- 
        Viktor.

Reply via email to