View Full Version : $sa_tag_level_deflt blocks all mail
rusty
30th January 2008, 23:05
This is a hard one to search because it turns up the very common issue of no X-Spam headers are inserted.
I found one post like mine with no replies.
When I set $sa_tag_level_deflt in amavisd to undef or negative number, ALL email is blocked (sent to .spam folder).
Has anyone seen this before? Any help would be appreciated, thanks.
falko
31st January 2008, 20:48
Not sure why this happens. Is there anything related to this in your mail log?
rusty
31st January 2008, 21:30
Nothing in maillog, however, based on info I received after my original post, it seems that amavisd is treating the message as clean. Something else is seeing the x-spam header and mistakenly sending it to the .spam folder. Based on that info, I checked the dovecot log and it appears that dovecot lda is the culprit. I'm not sure how to resolve it yet.
rusty
31st January 2008, 22:01
In file globalsievec found in mail home folder:
require ["fileinto"];
# Move spam to spam folder
if exists "X-Spam-Flag" {
fileinto "spam";
stop;
}
To resolve this, in amavisd.conf, I'm setting up a unique tag to be added to subject line and I will change X-Spam-Flag (above) to match.
Sorry for the trouble. Not much info on Dovecot LDA cause I guess it's relatively new.
rusty
5th February 2008, 04:14
I just wanted to follow-up. The correct syntax for the Dovecot LDA's Sieve script is:
require ["fileinto"];
# Move spam to spam folder
if header :contains "X-Spam-Flag" ["YES"] {
fileinto "spam";
stop;
}
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.