Hi again! I've discovered that my previuos problem was due to a bug in the qmail-scanner-queue.pl code. In the spamassassin sub-routine, there is several checks for the "-c" option on spamc. All checks are done AFTER the recipient has been added to the $spamc_options. If the recipient contains "-c", all checks will fail and the script will assume that the -c options has been used. In my case, the domain giving trouble is "jt-com.dk", which contains "-c". I've changed my code to check for the -c option BEFORE the recipient is added.
If you need my code, please let me know. Kind regards, Jonas Thomsen > Hi list! > > I've just installed qmail-scanner and spamassassin on a running > qmail/vpopmail system. After the installation, all my customers domains > are tagged by SA as expected, but mails for my own domains does not get > tagged even though SA (spamd) says it has a sufficient high score in the > maillog. > > When the maillog states the result from spamd, I assume it must be the > qmail-scanner that does not put the right headers into the mails. It this > a corrent assumption? > > When looking at the mail header from an e-mail found to be spam in the > maillog and not marked as so by the qmail-scanner, it looks a little > strange: > > ----- > Received: from [EMAIL PROTECTED] by ardbeg by uid 1002 with > qmail-scanner-1.20 > (spamassassin: 2.60. Clear:RC:0(63.212.169.134):SA:0(Received: from > mail134.swordfishmedia.biz (63.212.169.134)/?):. > Processed in 4.196369 secs); 03 Dec 2003 08:37:21 -0000 > X-Spam-Status: No, hits=Received: from mail134.swordfishmedia.biz > (63.212.169.134) required=? > ----- > > It looks like some informations are messed up (received from where the > score should be). The same place from an email for another domain, also > containing spam: > > ----- > Received: from [EMAIL PROTECTED] by ardbeg by uid 1002 with > qmail-scanner-1.20 > (spamassassin: 2.60. Clear:RC:0(24.159.49.23):SA:1(27.8/10.0):. > Processed in 5.195625 secs); 03 Dec 2003 09:08:14 -0000 > X-Spam-Status: Yes, hits=27.8 required=10.0 > tests=BIZ_TLD,DATE_IN_PAST_03_06, > DATE_SPAMWARE_Y2K,FORGED_MUA_THEBAT,FORGED_MUA_THEBAT_BOUN, > FORGED_THEBAT_HTML,FORGED_YAHOO_RCVD,HTML_20_30,HTML_MESSAGE, > HTML_MIME_NO_HTML_TAG,LINES_OF_YELLING,MIME_HTML_NO_CHARSET, > MIME_HTML_ONLY,MIME_HTML_ONLY_MULTI,MISSING_MIMEOLE, > MISSING_OUTLOOK_NAME,RCVD_IN_DSBL,RCVD_IN_SORBS,USERPASS > autolearn=spam version=2.60 > ----- > > When I installed qmail-scanner I gave it a domain with the --domain > option. This domain is an alias domain for the domain giving me the > trouble. > > I really hope someone can give me a direction to look for the error. > > > Kind regards, > > Jonas Thomsen > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN's Audience Survey. > Help shape OSDN's sites and tell us what you think. Take this > five minute survey and you could win a $250 Gift Certificate. > http://www.wrgsurveys.com/2003/osdntech03.php?site=8 > _______________________________________________ > Qmail-scanner-general mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general > ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general
