dspam as pipe not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

dspam as pipe not working

Colin Brace
Hi all,

Following the instructions here <http://dspamwiki.expass.de/Installation/Postfix/NealesSetup> I have configured Postfix to pass email to dspam. The procedure seems straightforward: adding this to master.cf 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 main.cf

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.

$ postconf -n
alias_database = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
inet_protocols = all
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
max_use = 10
mydestination = $myhostname, localhost.$mydomain, localhost, mail.$mydomain, www.$mydomain, ftp.$mydomain
mydomain = lim.nl
myhostname = venus
mynetworks = 127.0.0.0/8, 10.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains = $mydestination
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtp_helo_name = lim.nl
smtpd_recipient_restrictions = permit_mynetworks                reject_unauth_destination                permit
smtpd_tls_CAfile = /usr/local/www/phpldapadmin/doc/certs/ca-bundle.crt
smtpd_tls_cert_file = /etc/ssl/certs/venus.pem
smtpd_tls_key_file = /etc/ssl/certs/venus.key
smtpd_tls_loglevel = 1
smtpd_use_tls = yes
unknown_local_recipient_reject_code = 550
virtual_alias_domains = carolevanwees.nl
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual
virtual_gid_maps = static:200
virtual_mailbox_base = /home/colin/vmail
virtual_mailbox_domains = lim.nl wfbrace.com quilombo.nl
virtual_mailbox_maps = hash:/usr/local/etc/postfix/vmailbox
virtual_uid_maps = static:500