Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 27th March 2008, 20:16
markerman markerman is offline
Member
 
Join Date: Dec 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Question Postfix tagging everything as [SPAM]

Hello,
A year ago I built a mail gateway using the How To Titled "Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC and ClamAV" It has been working flawlessly until 3 days ago. It just started tagging all mail as [SPAM]. I was watching the log entries in mail.log using the command tail -f /var/log/mail.log. I saw every message comming thru and found an entry "MailScanner[3997]: Spam Checks: Found 1 spam messages". This is happening for messages from all senders, even those that were not being tagged before.

What I have done already...

White listing in sender_access then running postmap and postfix reload.

Setting the spam level to 7 and changing the tag from [SPAM] to [SUSPECT SPAM] in the MailScanner.conf file. The subject tag did not change.

Upgraded the server...no change..

Any idea's as to what happened? What else should I try?

Thanks in advance.
Reply With Quote
Sponsored Links
  #2  
Old 27th March 2008, 20:37
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

This could be because of ORDB just check your mailscanner config, if you are using ORDB then that may be the problem the RBL is defunct
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 27th March 2008, 20:54
markerman markerman is offline
Member
 
Join Date: Dec 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

This is whats in my MailScanner.conf file.

Spam List = ORDB-RBL SBL+XBL

Who should I replace ODB with? I want to use an RBL.
Reply With Quote
  #4  
Old 27th March 2008, 21:34
markerman markerman is offline
Member
 
Join Date: Dec 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I set the line to "Spam List =" Did a postfix reload and nothing has changed. I think I am editing the wrong file. I also changed the subject tagging line to use [Suspect SPAM] instead os [SPAM] and that has not changed either. Subject is still tagged with [SPAM]. I am editing the one in /opt/MailScanner/etc. Hope that is the right one. Thats where the documentation says it is.
Reply With Quote
  #5  
Old 28th March 2008, 00:59
Lectric Lectric is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I experienced the EXACT same problem.

Removing ORDB-RBL from that line has FIXED the problem.

I am just looking for a replacement, If I get assistance to add a new RBL into the system, I would appreciate it! If I get any further advice, I will pass it along.
Reply With Quote
  #6  
Old 28th March 2008, 01:15
markerman markerman is offline
Member
 
Join Date: Dec 2007
Posts: 33
Thanks: 1
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by Lectric
Hi,

I experienced the EXACT same problem.

Removing ORDB-RBL from that line has FIXED the problem.

I am just looking for a replacement, If I get assistance to add a new RBL into the system, I would appreciate it! If I get any further advice, I will pass it along.

I make changes to the /opt/MailScanner/etc/MailScanner.conf file but they do not appear to be taking effect. I removed ORDB-RBL from that line as well and changed [SPAM] subject line tag to [Suspect SPAM] but all messages are still being tagged with [SPAM]. I rechecked the /opt/MailScanner/etc/MailScanner.conf file and my settings are still there. No ORDB-RBL and the subject tag is still set for [Suspect SPAM]. Am I editing the right file? Or is there something else I am missing? Remember, my server was setup using the How to - "Postfix Spam Filter using Ubuntu Dapper, MailScanner, SpamAssassin, Razor, Pyzor, DCC and ClamAV"
Reply With Quote
  #7  
Old 28th March 2008, 02:01
Lectric Lectric is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My 2 (two) servers that I manage were set up using the exact same thing.

1: try running the command from #
" check_mailscanner "

Should restart Mailscanner and hopefully re-read the config.

2: try restarting the mailfilter, mine only take 2-4 minutes to reboot
" reboot " should do it, and you should find your changes work.

Enjoy.
Reply With Quote
  #8  
Old 28th March 2008, 07:42
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Try /etc/MailScanner/MailScanner.conf, I use spamcop and have no issues
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #9  
Old 28th March 2008, 07:47
Lectric Lectric is offline
Junior Member
 
Join Date: Mar 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Spamcop is quite different to the method we are using.

pico /opt/MailScanner/etc/MailScanner.conf is what i used to edit.
Reply With Quote
  #10  
Old 28th March 2008, 07:49
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

Quote:
Originally Posted by Lectric
Spamcop is quite different to the method we are using.
An what method would that be ?
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
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
Mail System Error - Returned Mail tristanlee85 General 16 16th March 2008 09:40
Postfix: connection refused error tosin Server Operation 1 30th October 2007 17:30
Issues with Postfix using "Virtual Users And Domains With Postfix, Courier And MySQL" Kyse HOWTO-Related Questions 15 6th January 2007 15:35
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36


All times are GMT +2. The time now is 23:51.


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