AnswerBun.com

Postfix Rewrite domain only after transport process

Server Fault Asked by Nerigal on December 16, 2020

we have a particular situation were we have like 2 domains

lets say example.com and test.com

The first domain has some address that go trough the postfix gateway and in the transport, if the address match, its going to another smtp server, at this point no big deal

but now, the thing is that if the email does not match any of the transport file
i would be able at that point…. to rewrite the domain from (.*)@example.com to [email protected]
and then reprocess it in the transport to send it to another smtp server

any idea how to achieve that ?

Add your own answers!

Related Questions

Puppetserver unable to locate gems

1  Asked on November 4, 2021

   

Is it okay to drop DNS type AAAA queries

1  Asked on November 4, 2021 by noyb

   

Set YUM versionlock, but allow updating to specific versions

0  Asked on November 4, 2021 by yakatz

   

How are systemd/system overrides supposed to work?

1  Asked on November 4, 2021 by philolegein

     

OpenVPN with PAM with systemd and SELinux

1  Asked on November 4, 2021 by check

         

LDAP+SSL configuration with OpenSMTPD

1  Asked on November 4, 2021 by azmeuk

     

SVN, check out folders based on authz

1  Asked on November 4, 2021 by still-shi

 

CentOS command not found

1  Asked on November 4, 2021 by jonas-heinze

       

IPtables as a reverse proxy

1  Asked on November 4, 2021 by ie

   

Ask a Question

Get help from others!

© 2022 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir