-   Linux - Server (
-   -   postfix not piping to dspam (

Kropotkin 03-01-2010 03:46 AM

postfix not piping to dspam
Hi all,

Following the instructions here I have configured Postfix to pass email to dspam. The procedure seems straightforward: adding this to under the first entry:

dspam  unix    -      n      n      -      10      pipe
  flags=Ru user=dspam argv=/usr/local/bin/dspam --deliver=innocent --user $user -i -f $sender -- $recipient

and adding this line to

dspam_destination_recipient_limit = 1
Following the instructions on that page, I have also moved all my entries in the /etc/aliases file to ../postfix/virtual.

I can pass messages to dspam on the command line for training, so I know it is running, but for some reason, Postfix isn't evoking dspam; rather than piping (relaying) an incoming message to dspam, Postfix simply moves it on to the maildir.

What am I missing here?

I am running Postfix v2.6.5 under FreeBSD 8-STABLE.


spampig 03-02-2010 12:59 PM

You restarted (not reloaded) postfix?

Kropotkin 03-02-2010 01:20 PM

Oh, didn't realise there was a difference. Will try that.

spampig 03-02-2010 01:36 PM

Most people say 'yes I've done it' but changes in are not picked up by 'postfix reload'. It needs the full /etc/init.d/postfix restart (or service postfix restart/whateva on that platform).

I only know this, because it bit me on the ar..... backside......

All times are GMT -5. The time now is 11:12 AM.