Vicki Brown: > Can I insert a content filter before a relay via virtual_alias_maps > or relay_recipient_maps? Or are all relays done before any content > filters could be run? > Is there a clean way I can insert a content filter before the mail > is relayed?
As documented, Postfix content filters run **before** Postfix decides where to deliver mail. http://www.postfix.org/CONTENT_INSPECTION_README.html http://www.postfix.org/SMTPD_PROXY_README.html http://www.postfix.org/FILTER_README.html http://www.postfix.org/MILTER_README.html > I'd prefer to have a good feeling for whether spam checking on > there toaster will work before I start experimenting and possible > break our incoming email. To test a configuration before going live, use a test machine, or configure a secondary Postfix instance if your Postfix distribution has not broken http://www.postfix.org/MULTI_INSTANCE_README.html Wietse