Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 19th August 2011, 13:39
pgh001 pgh001 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default does spam check works

Hi,

How can I check is spam software is working?
Because since a few days i'll get things like:

"Registreer bij King Spin Club en geniet van een eersteklas behandeling
http://www.kingsspellen.com/nl/?id648d6b8471103507fe42eb09a759bd260d49cb"

Regards, Patrick.
Reply With Quote
Sponsored Links
  #2  
Old 20th August 2011, 15:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Are there any errors in your mail log (in the /var/log/ directory)?
__________________
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
  #3  
Old 6th September 2011, 20:16
pgh001 pgh001 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are no errors.

But how do I know if spamassin is working?
Reply With Quote
  #4  
Old 7th September 2011, 11:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Does
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint
return any errors?

Also, can you try to update your SpamAssassin rules by running
Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update --no-gpg
?
__________________
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
  #5  
Old 8th September 2011, 15:31
pgh001 pgh001 is offline
Junior Member
 
Join Date: Apr 2009
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did a sa-update and when running:

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint

I get:

Subroutine IO::Socket::INET6::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib/perl5/vendor_perl/5.8.8/IO/Socket/INET6.pm line 16
Subroutine Net:NS::Resolver::Base::AF_INET6 redefined at /usr/lib/perl5/5.8.8/Exporter.pm line 65.
at /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/Net/DNS/Resolver/Base.pm line 66


But is there a way to test this?
Can I send a fake spam message?
Reply With Quote
  #6  
Old 9th September 2011, 17:52
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

http://forums.cpanel.net/f5/mrtg-cron-error-94397.html
http://www.mail-archive.com/users@li.../msg01844.html
__________________
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
  #7  
Old 25th September 2011, 01:13
madmucho madmucho is offline
Senior Member
 
Join Date: Oct 2006
Location: Czech republic, Karlovy Vary
Posts: 158
Thanks: 79
Thanked 11 Times in 11 Posts
Send a message via ICQ to madmucho
Default

You can check if your spam assassin working if in incoming messages header is 'x-spam' section with no error, if is not there you spamassasin dont work. Easy can be checked.
Reply With Quote
  #8  
Old 9th December 2011, 17:22
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,262
Thanks: 78
Thanked 24 Times in 20 Posts
Default

what if the two commands given above by falko don't return anything and I can't see any x-spam headers?
Reply With Quote
  #9  
Old 15th December 2011, 10:19
macguru macguru is offline
Member
 
Join Date: May 2007
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've got the same problem since I upgraded to the latest 2.2.40.
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint
return nothing

/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/sa-update --no-gpg
seem to run successfully (no error messages).

I found no error messages in /var/log/mail related to spamassassin.

Anyone have any clue what might go wrong?
Reply With Quote
  #10  
Old 16th December 2011, 11:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by macguru View Post
I've got the same problem since I upgraded to the latest 2.2.40.
/home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --lint
return nothing
This is a good thing, it means there are no errors with your SpamAssassin configuration.
__________________
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
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
Virtual Users /Domains /Postfix, Courier/MySQL CentOS 5.1 with no outgoing spam check waters HOWTO-Related Questions 2 10th March 2011 00:39
Spam Filter Policy don't seem to work bmclean Installation/Configuration 4 15th April 2010 23:54
My postfix server is beeing used to send large ammounts of spam. bob808 Server Operation 2 27th April 2009 12:37
ISPC2 How to do spam check BEFORE forwarding emails ? radim_h Tips/Tricks/Mods 1 18th March 2009 07:51
Ubuntu 8.04 Spamsnake - all SA scores 0.00 Thomas_Powers HOWTO-Related Questions 23 24th June 2008 17:37


All times are GMT +2. The time now is 21:11.


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