At 10:29 +1200 19-05-2005, Jeremy Bowen wrote:
On Wednesday 18 May 2005 11:35 pm, Salvatore Toribio wrote:
 This is very strange (almost impossible), the variable DEBUG is not
 checked to add or not a header to a message. Or you are talking about
 the sa_report not shown in qmail-queue.log without DEBUG=1?

You're right. Looks like I was confused yesterday and I managed to get the report header in the email once during testing co-incidentally while I had my $DEBUG='1'; enabled. Appologies for the confusion.

I would like the X-Spam-Report: header added to my scanned email as per below:
eg.
X-Spam-Report:
* 2.0 DATE_IN_FUTURE_12_24 Date: is 12 to 24 hours after Received: date
* 2.5 RCVD_IN_DYNABLOCK RBL: Sent directly from dynamic IP address
* [219.131.56.65 listed in dnsbl.sorbs.net]
* 2.6 RCVD_IN_SORBS RBL: SORBS: sender is listed in SORBS
* [219.131.56.65 listed in dnsbl.sorbs.net]


I've seen it happen once yesterday. I can't seem to repeat it.

This is the report format from verbose_spamassassin, if you use this you won't have the sa_report in qmail-queue.log. My advice is to not use verbose_spamassassin...



Is there some other variable that controls when this report is added to the email ? Does it only get added when the spam score is above a certain threshold ?

The report is always added if 'spamassassin scanned' the mail, what it usually does not do for "local emails"..., and you set:


my $sa_alt='1';
my $sa_debug='1';
my $sa_hdr_report_site='1';


I suspect that I've been testing this and the resultant emails have spam scores of 0 which is why I don't see any report. Am I correct?


This very improbable... Maybe the mail were sent from a RELAYCLIENT box.

Cheers

ST


------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ Qmail-scanner-general mailing list Qmail-scanner-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to