Ben Schmidt:
> What I want is a way to redirect all mail being send from user1 to
> [email protected] and all mail being send from user2 being redirected
> to [email protected]

Perhaps this:

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

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

Use "postmap /etc/postfix/sender_access" after editing the file.

Be sure to read the "redirect" description in the access(5) manpage.
http://www.postfix.org/access.5.html - Postfix supports only one
"redirect" action per message.

        Wietse

Reply via email to