As specified on the http://www.postfix.org/FILTER_README.html page.

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

Of course, dspam doesn't handle xforward so that's actually irrelevant I think. 
 This example doesn't exactly match either the simple, or the advanced. I 
actually don't understand what it is, but, am wanting to make this work well 
via 
the advanced method IF the doc is current about performance gains and less 
bounce probability.

So, does this qualify as the advanced method? That method says you can have 
your 
own filter listening on port 10025, but, doesn't give an example of that, and, 
also, doesn't really specify if a socket is ok instead of a port. 

The simple method seems to use a pipe. I am not using a pipe. The advanced 
method uses a spawn from smtp, I avoid the spawn. So, confused!

What I am wanting to get out of this is the fastest possible configuration that 
allows me to use dpsam.  
Steve

Reply via email to