Re: Single domain and two destinations via Postfix

From: Noel Jones (no email)
Date: Wed Mar 11 2009 - 16:24:29 EDT

  • Next message: (no name): "Blocking certain users from sending to certain internal mail addresses"

    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$/ $1 at example dot 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


  • Next message: (no name): "Blocking certain users from sending to certain internal mail addresses"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD