LuKreme wrote:
On 11-Mar-2009, at 09:14, Noel Jones wrote:
You can optionally use a pcre smtp_generic_maps to rewrite the recipient back to the original domain.
main.cf
smtp_generic_maps = pcre:/etc/postfix/smtp_generic.pcre

smtp_generic.pcre:
/^(.*)@new\.example\.com$/  $...@example.com


This would need to be on new.example.com, right?


No, this is on the existing gateway. Generic rewriting is for outgoing mail.
http://www.postfix.org/ADDRESS_REWRITING_README.html#generic

  -- Noel Jones

Reply via email to