On Jul 24, 2010, at 4:28 AM, Alban Hertroys wrote:
> I have Dspam tied in as a mail filter in Postfix and it "works", but it has 
> several problems; it unnecessarily filters outgoing mail and is creating 
> virtual users for every recipient I ever send mail to, for example. I have no 
> idea how to solve those though.

It's actually a pretty simple problem to solve once you know how.  You need to 
have dspam pass mail back to postfix for delivery on a different port and then 
disable dspam scanning on that port.

For example, here's my master.cf config for the dspam re-injection port:

# dspam reinjection port
localhost:10026 inet  n -       n       -       -        smtpd
  -o content_filter=
  -o receive_override_options=no_unknown_recipient_checks,no_header_body_checks
  -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

Then the DeliverPort setup in dspam.conf is such:

DeliveryHost        127.0.0.1
DeliveryPort        10026
DeliveryIdent       localhost
DeliveryProto       SMTP

That should do it.

- Mark
-----
m...@pdc-racing.net





------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share 
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to