Redirect to one recipient:

/etc/postfix/main.cf:
    smtpd_sender_restrictions = 
        check_sender_access hash:/etc/postfix/sender_access

/etc/postfix/sender_access:
    [email protected]    redirect [email protected]

(requires "postmap hash:/etc/postfix/sender_access").

Redirect to multiple recipients:

/etc/postfix/main.cf:
    smtpd_sender_restrictions = 
        check_sender_access hash:/etc/postfix/sender_access
    virtual_alias_maps = hash:/etc/postfix/virtual

/etc/postfix/sender_access:
    [email protected]    redirect [email protected]

/etc/postfix/virtual:
    [email protected]       [email protected], [email protected]

(requires "postmap hash:/etc/postfix/sender_access hash:/etc/postfix/virtual")

        Wietse

Reply via email to