Redirect to one recipient:

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

/etc/postfix/sender_access:
    j...@example.com    redirect laywer@other.example

(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:
    bu...@example.com    redirect parents@other.example

/etc/postfix/virtual:
    parents@other.example       dad@other.example, mum@other.example

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

        Wietse

Reply via email to