Deleting high score messages

Joe Quinn joe at QITC.CO.UK
Tue Apr 15 20:16:39 IST 2003


Subject: Re: Deleting high score messages


> Joe Quinn <joe at QITC.CO.UK> wrote:
> >
> >I'm still trying to get certain messages deleted with a "To" address. I've tried this but the
> >messages still get through and I have delete high score set to yes in the mailscanner conf.
> >
> >In /etc/MailScanner/spam.assassin.prefs.conf
> >
> >>>>
> >header KELTICA_MEDIA To =~ /admin at keltica-media.co.uk/i
> >describe KELTICA_MEDIA To: admin at keltica-media.co.uk
> >score KELTICA_MEDIA 100.0
> ><<<
> >
> >Any ideas?
>
> I sent an email to Julian about this a couple of weeks ago. The
> default spam.assassin.prefs.conf is misleading. MailScanner's
> spam.assassin.prefs.conf is a user preferences file, and SpamAssassin
> doesn't let you define rules in a user preferences file (though it does
> let you change their scores). If you turn on the MailScanner configuration
> options "Debug" and "Debug SpamAssassin" you'll see it complaining that
> the above lines are invalid and have been ignored.
>
> To work around the problem you should put those lines in SpamAssassin's
> local.cf which it looks for in '/usr/local/etc/spamassassin',
> '/usr/pkg/etc/spamassassin', '/usr/etc/spamassassin',
> '/etc/mail/spamassassin', '/etc/spamassassin', and if you don't like any
> of those places you can use the (undocumented) MailScanner configuration
> option "SpamAssassin Local Rules Dir".
>
> Tony.

Tried this, it didn't work.

Thanks anyway,

Joe



More information about the MailScanner mailing list