Ben Schmidt:
> What I want is a way to redirect all mail being send from user1 to
> b...@example.com and all mail being send from user2 being redirected
> to al...@example.com

Perhaps this:

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

/etc/postfix/sender_access:
    us...@example.com   redirect b...@example.com
    us...@example.com   redirect al...@example.com

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