LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   postfix not piping to dspam (https://www.linuxquestions.org/questions/linux-server-73/postfix-not-piping-to-dspam-792296/)

Kropotkin 03-01-2010 03:46 AM

postfix not piping to dspam
 
Hi all,

Following the instructions here http://dspamwiki.expass.de/Installat...ix/NealesSetup I have configured Postfix to pass email to dspam. The procedure seems straightforward: adding this to master.cf under the first entry:
Code:

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 main.cf
Code:

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.

Thanks

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 master.cf 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 12:17 AM.