Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 30th January 2008, 23:05
rusty rusty is offline
Member
 
Join Date: Dec 2007
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
Default $sa_tag_level_deflt blocks all mail

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.

Last edited by rusty; 30th January 2008 at 23:17.
Reply With Quote
Sponsored Links
  #2  
Old 31st January 2008, 20:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Not sure why this happens. Is there anything related to this in your mail log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
rusty (31st January 2008)
  #3  
Old 31st January 2008, 21:30
rusty rusty is offline
Member
 
Join Date: Dec 2007
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #4  
Old 31st January 2008, 22:01
rusty rusty is offline
Member
 
Join Date: Dec 2007
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 5th February 2008, 04:14
rusty rusty is offline
Member
 
Join Date: Dec 2007
Posts: 45
Thanks: 5
Thanked 0 Times in 0 Posts
 
Default

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;
}
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail can't write Hellbound General 27 8th June 2009 21:51
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
Postfix reject connections gabrix Server Operation 27 25th January 2007 08:37
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 12:10.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.