
8th April 2010, 13:28
|
|
Senior Member
|
|
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
|
|
Spam filter loosing loads of mail
Hi there,
I've recently migrated an ISPConfig2 installation to a new server using the procedure at http://www.howtoforge.com/forums/sho...88&postcount=2 - you may have noticed the odd posting about it
Everything's working great on the first server I migrated, except e-mail. Unless you turn Spam Filtering off for each user account, that account looses most if not all incoming mail. It just disappears into procmail never to be seen again!
Anyone know where to start debugging this?
Thanks in advance,
Neil
|

8th April 2010, 19:40
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
I guess you mix up the spamfilter with the mailfilter option. Please disable the "mailfilter" checkbox. mailfilter is a system that removes potential harmful content and should normally niot be used as it is possible that complete emails will be removed.
|

8th April 2010, 20:02
|
|
Senior Member
|
|
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
|
|
Thanks Till, but I don't think that's the case, particularly since the ISPConfig database was migrated as-is from the old server (apart from the isp-server table which was taken from a fresh test install on the system). This was all working fine on the old server...
For each affected user MailScan is NOT ticked, Antivirus IS ticked, Spamfilter WAS ticked, but is now NOT ticked, which fixes the problem, except that I would actually like spam filtering
I was wondering if it was a case of training SpamAssassin with Ham/Spam, but I don't remember having to do that in the past. What do you think? Happy to post any relevant configs as needed.
Thanks again, Neil
|

8th April 2010, 20:30
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
|

9th April 2010, 13:15
|
|
Senior Member
|
|
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
|
|
I've done the following:
Code:
:~$ /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin -V
SpamAssassin version 3.2.5
running on Perl version 5.10.0
But I don't think the version of spam assassin actually changed, particularly since the ISPConfig was only downloaded a week or two ago.
Can you think of any log files I could check in which will show SpamAssassin's scoring? Can't see anything obvious...
Thanks!
Neil
|

9th April 2010, 13:17
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Please do the update procedure that is described on faqforge.
|

9th April 2010, 13:25
|
|
Senior Member
|
|
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
|
|
Sorry, I should have clarified I have done that procedure, I ran this:
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update
I checked the spam assassin version before and after and nothing seemed to have changed... I couldn't find any spam assassin rule files with changed modification dates, but of course I may have been looking in the wrong place, I was expecting to see changed files in /home/admispconfig/ispconfig/tools/spamassassin/etc/mail/spamassassin as well...
Thanks, Neil
|

9th April 2010, 13:28
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,890
Thanks: 693
Thanked 4,188 Times in 3,205 Posts
|
|
Quote:
|
I checked the spam assassin version before and after and nothing seemed to have changed...
|
Thats ok, as this does not update the spamassasin version, it updates the ruleset.
|

11th April 2010, 20:37
|
|
Junior Member
|
|
Join Date: Feb 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You might check your spamassassin.rc file and verity that tagged mail is not being sent to /dev/null
|

17th April 2010, 10:57
|
|
Senior Member
|
|
Join Date: Aug 2007
Posts: 111
Thanks: 8
Thanked 5 Times in 5 Posts
|
|
Sorry for the delay in replying to this thread, and thank you both for your comments. The sa-update script seems to have done the trick, the server in question is now processing mail as it should.
Do you reckon it's worth running this automatically from cron, as it doesn't seem to be set up in root's crontab by ISPConfig?
Thanks, Neil
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 09:03.
|
|
Recent comments
1 day 6 hours ago
1 day 11 hours ago
1 day 13 hours ago
1 day 13 hours ago
1 day 15 hours ago
1 day 20 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 12 hours ago
2 days 13 hours ago