John Schmerold:
> I want messages sent to [email protected] to be redirected to 
> [email protected]
> 
> Until this morning, adding canonical_maps = hash:/etc/postfix/canonical 
> to main.cf got the job done.
> 
> canonical contained:
>    @tld1.com @redirected.com
> 
> Now the remote server is rejecting the message with this error:
>      <[email protected]> (expanded from <[email protected]>): host
>          mx10.redirected.com[104.119.187.151] said: 550 Unauthorized 
> recipient: domain part

Postix sends "RCPT TO:<[email protected]>" to the remote SMTP
server (not the 'expanded from' stuff, that would not make any
sense). 

Postfix adds "(expanded from <[email protected]>)" only in the
NON-DELIVERY NOTIFICATION, so that you can see why it sends
mail to [email protected].

> How do I persuade Postfix to replace tld1.com with redirected.com, 
> without the "expanded from" issue (I am not even sure what expanded from 
> means)?

It already does that.

        Wietse

Reply via email to