On 3/2/2015 7:59 AM, Rudy Gevaert wrote:
> Hallo,
> 
> I configured smtpd_recipient_restrictions to look in an access
> table.  I was intending to use the REDIRECT statement to redirect
> mails for certain recipients.
> 
> unfortunately, after a selected roll out into production we noticed
> that this has issues for messages sent to multiple recipients.
> 
> Of course this is mentioned in the manual page:
> 
> REDIRECT user@domain
>   After the message is queued, send the message to  the  specified
>   address instead of the intended recipient(s).
> 
>   Note:  this  action  overrides  the FILTER action, and currently
>   affects all recipients of the message.
> 
> Is there a way that I can still use the REDIRECT statement to
> achieve the same result but without braking delivery?
> 
> Thanks in advance,
> 
> Rudy


To deliver mail for a specific recipient to an alternate address,
use virtual_alias_maps (NOT virtual_alias_domains).

http://www.postfix.org/ADDRESS_REWRITING_README.html#virtual



  -- Noel Jones

Reply via email to