Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: jumba on June 10, 2005, 08:59:48 AM

Title: SpamAssassin logs?
Post by: jumba on June 10, 2005, 08:59:48 AM
Hi all!

I'm trying to understand SpamAssassin version 3.0.3 (from http://sme.swerts-knudsen.dk/downloads/SpamFilter/spamfilter_install.sh) and it seems to be working OK, but surely I would like some kind of log functions where I could get some information of the rejected mails.

(Sender, subject something like that)

How do I enable such a thing?

Regards Lasse
Title: Re: SpamAssassin logs?
Post by: raem on June 10, 2005, 12:25:29 PM
jumba

I don't think you can get that type of information as the email message is rejected at smtp level before that information is passed to the server.
You can view the log files in server manager for smtpfront-qmail/current and filter on rblsmtpd to see the rejected messages.
See
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/Spam%20blocking%20HOWTO%20using%20smtpfront-qmail%20for%20sme%20server.htm
Title: SpamAssassin logs?
Post by: jumba on June 10, 2005, 12:53:20 PM
Thanks for your answer, but as far as I understand, your answer is more related to seeing a log of rblssmtpd-rejected messages.

The vast majority of our rejected messages seems to be rejected according to their number of "spam points", and those messages cannot be identified in /var/log/smtpfront-qmail/current

Am I wrong here? Would it be possible to enable logging in SpamAssassin somehow?

Best Regards: Lasse
Title: SpamAssassin logs?
Post by: raem on June 10, 2005, 01:09:31 PM
jumba

> ...your answer is more related to seeing a log of rblssmtpd-rejected messages.

Well you did ask for
"I would like some kind of log functions where I could get some information of the rejected mails"


> The vast majority of our rejected messages seems
> to be rejected according to their number of "spam points"...

Are you referring to the function
Automatic deletion of spam with score above 15 ?

These are deleted mails, not rejected mails !
Title: SpamAssassin logs?
Post by: jumba on June 10, 2005, 01:16:30 PM
RayMitchell:

Sorry if I expressed myself unclearly :roll:

So, how about the DELETED mails?
Would it be possible to get any log functions of those?
Title: SpamAssassin logs?
Post by: jumba on June 13, 2005, 01:32:04 PM
Is there really NOBODY who knows how to enable those logs?
Title: SpamAssassin logs?
Post by: raem on June 14, 2005, 12:54:01 AM
jumba

Just turn off the "Automatic deletion of spam with score above 15" function, and then you will see those emails in the junkmail folder.

It seems those messages have some importance to you & your users so the delete function may not really be required in your situation.

Note you will be able to see all the delivered messages in the normal mail logs.
Title: SpamAssassin logs?
Post by: jumba on June 17, 2005, 09:01:35 PM
RayMitchell:

To complicate my question just a little bit more, the server I'm running SpamAssassin on is NOT the server where the users have their accounts, - it's just a "mail gateway", so forwarding all the spam into the internal "user-server" wouldn't be a very bright idea.

I use this configuration just as an extra protection for the real server. The "mail gateway" has no sensitive information stored and no user accounts to break...

What I would like to achive is a way to use SpamAssassin on this "mail gateway" so that at least a certain number of the incoming spam would be stopped/deleted there.

In order to control the sensitivity of the SpamAssassin settings, I would prefer to get some lind of log on that machine as well.
Title: SpamAssassin logs?
Post by: raem on June 18, 2005, 06:03:48 AM
jumba

Does these help ?

http://wiki.apache.org/spamassassin/DeletingAllMailsMarkedSpam

http://wiki.apache.org/spamassassin/SeparateLogFile

http://wiki.apache.org/spamassassin/FrequentlyAskedQuestions