On Fri, 25 Sep 2009 08:46:01 -0400 (EDT), wie...@porcupine.org (Wietse Venema) wrote: > Martijn de Munnik: >> >> On Fri, 2009-09-25 at 07:38 -0400, Wietse Venema wrote: >> > Martijn de Munnik: >> > > Hi, >> > > >> > > It seems that e-mails which are relayed to other servers (using >> > > relay_domains and transport_maps) don't go through content_filter. >> > > How >> > > can I make sure that all mails go through the content_filter? >> > >> > You need to implement one of the models described in FILTER_README. >> > on-line as http://www.postfix.org/FILTER_README.html >> > >> > Be sure to check all the details. >> >> I read the document but still I don't understand why mails which are >> relayed don't go through the content filter? > > You must check ALL the details. Print it on paper. Use a red pen.
I only had a yellow marker, I hope that'll do :) > Mark each configuration detail that you have checked against your > configuration. > >> From the doc: >> The "content_filter" line causes Postfix to add one content filter >> request record to each incoming mail message... > > Right. Now read the OTHER text too. Look for stuff in master.cf > that overrides main.cf entries. Mmm, I tried real hard to understand what you mean. I already have receive_override_options = no_address_mappings in main.cf. So only thing I could think of is I need to add -o transport_maps= to the smtp, pickup and submission line in master.cf?