HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   does spam check works (http://www.howtoforge.com/forums/showthread.php?t=53833)

pgh001 19th August 2011 13:39

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.

falko 20th August 2011 15:43

Are there any errors in your mail log (in the /var/log/ directory)?

pgh001 6th September 2011 20:16

There are no errors.

But how do I know if spamassin is working?

falko 7th September 2011 11:50

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
?

pgh001 8th September 2011 15:31

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::DNS::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?

falko 9th September 2011 17:52

http://forums.cpanel.net/f5/mrtg-cron-error-94397.html
http://www.mail-archive.com/users@li.../msg01844.html

madmucho 25th September 2011 01:13

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.

Ovidiu 9th December 2011 17:22

what if the two commands given above by falko don't return anything and I can't see any x-spam headers?

macguru 15th December 2011 10:19

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?

falko 16th December 2011 11:36

Quote:

Originally Posted by macguru (Post 269686)
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. :)


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

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