Re: best way to only alias postmaster@ for local domains?

From: Noel Jones (no email)
Date: Thu Mar 01 2007 - 15:42:29 EST

  • Next message: Charles Marcus: "Re: Postfix rejecting NDRs with 501 5.5.4 Bad message size syntax ?"

    At 10:17 AM 3/1/2007, Justin McAleer wrote:
    >I'm setting up a server that all of our customers will use for
    >outbound mail. For domains that we host, it will send the messages
    >to our internal servers, and otherwise out to wherever the MX record
    >points. The problem I'm dealing with is I want
    >postmaster/abuse/root@<local domains> to all be redirected to a
    >handler address. So, I have a pcre map included in the virtual alias
    >maps like so:
    >
    >/^postmaster@/

    For real local domains (equal to $myorigin, listed in
    mydestination, or [my.ip.num.ber]), you can use a bare username in
    virtual_alias_maps. see virtual(5)
    postmaster

    For other domains the best idea is a scripted update that takes a
    list of the domains and generates ,
     etc. addresses to a virtual_alias_maps hash file.

    -- 
    Noel Jones 
    

  • Next message: Charles Marcus: "Re: Postfix rejecting NDRs with 501 5.5.4 Bad message size syntax ?"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD