On 09/24/2013 10:45 PM, P.V.Anthony wrote:
> On 25/09/2013 01:02, Nathanael D. Noblet wrote:
>
>> I use clamsmtp and dspam on the same system using postfix. Maybe take a
>> look at clamsmtp?
>
> Cool.
>
> If it is ok with you, may I have the postfix configuration where dspam 
> comes in and where clamsmtp comes in.
>
> P.V.Anthony
>
>

/etc/postfix/main.cf
content_filter=scan:127.0.0.1:10025
receive_override_options = no_address_mappings

mailbox_transport = lmtp:unix:/var/run/dspam/dspam.sock

/etc/postfix/master.cf
#return from clamsmtpd
127.0.0.1:10026 inet    n       -       n       -       16 smtpd
  -o content_filter=
  -o 
receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=
  -o smtpd_client_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
  -o check_policy_service=


Using the above, I have clamsmtp as the content filter it listens on 
port 10025 and re-injects into postfix on port 10026. Then follows 
through with delivery via a lmtp socket where dspam is listening. Dspam 
is configured to use lmtp to deliver mail to cyrus...




------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to