Link to home
Start Free TrialLog in
Avatar of mrlucio79
mrlucio79

asked on

is my spamassassing working?

I currently have MailScanner, ClamAv, Sendmail, SpamAssassin installed on  my Debian box. For some reason I don't think spamassassin isn't scanning the emails. How can I tell if it is or not? Your help is appreciated.
Avatar of Jon_Ferguson
Jon_Ferguson

You can look at the message headers.  The exact method depends on the mail client you are using.
Avatar of mrlucio79

ASKER

Am I supposed to see anything in the mail.log file? When running the command "tail -f /var/log/mail.log" the only thing i see is sendmail and mailscanner messages. THe mail client the users are using is outlook 2002.
In outlook 2002, open the email, click view->options.  If spamassassin is running against the message, there should be some headers added by it.
SOLUTION
Avatar of ravenpl
ravenpl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well i inserted the line into a email and sent the message. It was picked up as spam. Did the MailScanner or Spamassassin picked it up as spam? If SA picked it up as spam I guess SA is working in the system. If thats the case how is spam still coming across?
You would think it would pick up a simple spam message with this text:

Vlimagra - $3.3
Levitxra - $3.3
Cialois - $3.7
Imitrhex - $16.4
Frlomax - $2.2
Ultrham - $0.78
Vionxx - $4.75
Amxblem - $2.2
VaIioum - $0.97
Xanpax - $1.09
Sorma - $3
Merirdia - $2.2
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
> Well i inserted the line into a email and sent the message. It was picked up as spam
As this is SA test rule, I guess that it's the SA who intercept it.
OK, Jon_Ferguson is right. Are there any headers added by SA, ususally it does?
Next, do You know how have You installed the SA? Maybe You forgot to plug it into the mail path (for example with procmail, but since GTUBE works, I guess it works)?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Install Mailwatch if you are using MailScanner, it's a web frontend for it, and it allows u to train messages as spam and release ham messages that get caught as spam.

http://mailwatch.sourceforge.net/
I am looking at the running process and spamd is not running on the machine. Should it? I thought when MailScanner was running spamassassin it should not be ran as a daemon. Let me know your thoughts on this. I agree thedwill, i think mailscanner is picking up the spam and not give SA the chance to scan.
can you shut down mailscanner and see if SA picks it up ?

I just shut down mailscanner and looked at the mail.log. Looks like SA isn't picking up spam at all. I downloaded mailscanner and SA at the same time using apt-get. You would think it would work.
hey does spamassassin create a log file when running?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
what options or config files should i look at first? In the MailScanner.conf I have "YES" to use SA.
when i do a "MailScanner -v" it lists the wrong version of spamassassin. here is the output:

3.001000      Mail::SpamAssassin

When i do a spamassassin -v it lists a different version. here is the output:

SpamAssassin version 3.0.3
  running on Perl version 5.8.4

Thats gotta be my problem, but how do i fix that?