This is a manual solution. Is there an automatic solution where based on the log a transport file or database is maintained... something that has smarts to automatically deal with 550's?
On Fri, Sep 13, 2013 at 11:05 AM, Wietse Venema <wie...@porcupine.org> wrote: > Roman Gelfand: >> If outgoing email bounced with 550,I would like, if not forever, for a >> while, to bounce emails to that address locally. Is there a way to do >> that? > > To bounce mail before it is delivered: > > /etc/postfix/main.cf: > transport_maps = hash:/etc/transport > > /etc/postfix/transport: > b...@example.com error:you can't go there > > Run "postmap hash:/etc/transport" and "postfix reload" when the > table changes. > > Wietse