Re: Redirect all email to an external address

2018-06-20 Thread Martin LEUSCH
Thanks for your answer, it help me a lot. There was just a little error, the correct option to put in smtpd process is "cleanup_service_name". I also modify options for address rewriting to only modify the recipient address in envelope and keep sender and addresses in header unchanged: :2525

Re: Redirect all email to an external address

2018-06-19 Thread Wietse Venema
Martin LEUSCH: > Hi, > > I'm trying to create postfix master process listening on port 2525 and > redirect all email send trough this port to an external address. > > I create regexp table "/etc/postfix/canonical-redirect-test" to map any > address to the external address I want, test query

Redirect all email to an external address

2018-06-19 Thread Martin LEUSCH
Hi, I'm trying to create postfix master process listening on port 2525 and redirect all email send trough this port to an external address. I create regexp table "/etc/postfix/canonical-redirect-test" to map any address to the external address I want, test query with postmap return the