[email protected]: > Thank you Wietse. > > What if I change the requirement so all emails sent by non-authorized > senders to these protected addresses, should be delivered to > [email protected]. No rejection.
Postfix does not implement arbitrary mail delivery policies. Instead of implementing the kichen sink, Postfix has plugin support for external tools: You may be able to do the above with postfwd (use the Postfix "redirect" action). http://www.postfwd.org/ http://www.postfix.org/SMTPD_POLICY_README.html Or with a Milter (C, Perl, Python, etc.). http://www.postfix.org/MILTER_README.html Or with a before-queue SMTP filter. http://www.postfix.org/SMTPD_PROXY_README.html Wietse
