Chris Dos wrote:
I've been tasked to figure out a way for our three postfix relay servers to 
intercept every hard bounced back
e-mail and process it for our web application.

We have about nine servers relaying mail through our three postfix servers.  
These servers send mail on behalf
of our clients.  I'm trying to figure out a way to intercept a hard bounce back 
from the destination server
and process it internally instead of bouncing back the error to our clients.  
I've figured out a way to have a
copy of the bounce that would have gone to the postmaster account and have that 
get processed, but it would
have still bounced it back to our client as well.

A check_sender_access map that returns REDIRECT should do the trick.

<>  REDIRECT someu...@localhost

careful here - this may intercept stuff you don't intend. You might combine this with a check_recipient_access under smtpd_restriction_classes.


  -- Noel Jones

Reply via email to