Koozali.org: home of the SME Server

SpamAssassin logs?

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SpamAssassin logs?
« 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

Offline raem

  • *
  • 3,972
  • +4/-0
Re: SpamAssassin logs?
« Reply #1 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
...

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SpamAssassin logs?
« Reply #2 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

Offline raem

  • *
  • 3,972
  • +4/-0
SpamAssassin logs?
« Reply #3 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 !
...

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SpamAssassin logs?
« Reply #4 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?

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SpamAssassin logs?
« Reply #5 on: June 13, 2005, 01:32:04 PM »
Is there really NOBODY who knows how to enable those logs?

Offline raem

  • *
  • 3,972
  • +4/-0
SpamAssassin logs?
« Reply #6 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.
...

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
SpamAssassin logs?
« Reply #7 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.