Hi list I am using dspam-3.9.0-ALPHA2 .I want to use dspam to filter spam for postfix My idea is that: postfix pass mails to dspam ,after dspam processed the mails,dspam calls deliver(dovecot's LDA) to deliver mails to user's maildir
in order to make postfix to pass mails to dspam ,I add this to /etc/postfix/master.cf dspam unix - n n - 10 pipe flags=Ru user=vmail argv=/usr/local/bin/dspam --debug --deliver=innocent --user mydspam -i -f $sender -- $recipient in order to make dspam to call deliver ,I add this to /etc/dspam/dspam.conf TrustedDeliveryAgent "/usr/libexec/dovecot/deliver -d %u" and then I made a test,I saw errors in dspam's debug log : 27367: [07/01/2009 10:16:03] Opening pipe to LDA: /usr/libexec/dovecot/deliver -d mydspam -i -f [email protected] -- [email protected] 27367: [07/01/2009 10:16:03] DSPAM Instance Shutdown. Exit Code: 64 and saw this error in /var/log/maillog Jul 1 10:16:03 sosogh postfix/pipe[27366]: 405E374E74B: to=<[email protected]>, relay=dspam, delay=0.14, delays=0.07/0.02/0/0.05, dsn=5.3.0, status=bounced (command line usage error. Command output: Fatal: Unknown argument: -i Usage: deliver [-c <config file>] [-a <address>] [-d <username>] [-p <path>] [-f <envelope sender>] [-m <mailbox>] [-n] [-s] [-e] [-k] ) the correct way to use deliver is : /usr/libexec/dovecot/deliver -d [email protected] I wonder why dspam pass "mydspam -i -f [email protected] -- [email protected] " to /usr/libexec/dovecot/deliver. I just want dspam to pass the recipent address to /usr/libexec/dovecot/deliver How can I achieve it Thank you -------------- sosogh 2009-07-01 ------------------------------------------------------------------------------ _______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
