Let me try rephrasing this so hopefully someone who understand how the so 
called advanced content filter can take a quick gander and let me know. By 
advanced content filter, I mean this: http://www.postfix.org/FILTER_README.html 

So, here is my current setup from master.cf:

smtp    inet    n       -       n       -       -       smtpd -o 
content_filter=dspam:unix:/var/dspam/dspam.sock
dspam   unix    -       -       n       -       -       lmtp -o 
smtp_send_xforward_command=yes -o disable_mime_output_conversion=yes -o 
smtp_generic_maps= -o disable_dns_lookups=yes
localhost:10026 inet    n       -       n       -       -       smtpd
  -o content_filter=
  -o 
receive_override_options=no_unknown_recipient_checks,no_header_body_checks,no_milters
  -o smtpd_helo_restrictions=
  -o smtpd_client_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o smtpd_authorized_xforward_hosts=127.0.0.0/8

So, mail should go from postfix -> lmtp -> dspam -> smtpd on port 10026, but 
using some sockets instead of TCP.

So, assuming I have this correct, does this then qualify as the so called 
advanced content filter technique so it gains the supposed performance 
benefits? The above does work, just wondering if I have it setup in the most 
efficient manner.

Reply via email to