Bug in sub-spamassassin.pl
Kris <[email protected]>
| Newsgroups | gmane.mail.qmail.scanner |
|---|---|
| Message-ID | <[email protected]> |
Hi, there appears to be a bug in sub-spamassassin.pl First off, im using unix domain sockets in /var/run/spamd, and running in debug mode (my full configure options are at the bottom of this mail) it is launching spamc this way: sh -c /usr/bin/spamc -U /var/run/spamd -R < /var/spool/qmailscan/working/new/xxxnewmailxxx When it should be this way: sh -c "/usr/bin/spamc -U /var/run/spamd -R < /var/spool/qmailscan/working/new/xxxnewmailxxx" The result is that the -U and -R switches are being interpreted by sh, instead of being passed onto spamc as switches. Resulting in 2 things: - first off, it attempts 3 connections to 127.0.0.1 port 783 (the default for spamassassin running TCP mode), causing a 1-2 second delay. - second it gets the wrong output, not the -R, but full mail. (causing the mail to jump in size). ./configure --qs-user qscand --qs-group qscand --spooldir /var/spool/qmailscan --qmaildir /var/qmail --bindir /var/qmail/bin --qmail-queue-binary /var/qmail/bin/qmail-queue --admin clamav --domain domain.com --admin-fromname "Antivirus domain.com" --notify none --local-domains "domain.com" --silent-viruses auto --block-password-protected 0 --lang en_GB --debug 0 --minidebug 1 --unzip 0 --add-dscr-hdrs yes --dscr-hdrs-text "X-Antivirus-DOMAIN.com" --archive no --settings-per-domain no --redundant yes --log-details syslog --log-crypto no --fix-mime 2 --ignore-eol-check 1 --virus-to-delete yes --sa-delta 0.5--sa-subject "[SPAM] " --sa-quarantine 2.1 --sa-delete 4.2 --sa-reject yes --sa-alt yes --sa-debug yes --sa-report yes --scanners "clamscan,fast_spamassassin" --sa-socket /var/run/spamd --sa-sql no --max-unpacked-files 200 --max-zip-size 100000000 -- This message is the result of my own free will, and not the voices in my head