Rulset enhancement request

Anthony Peacock a.peacock at CHIME.UCL.AC.UK
Fri May 13 14:59:38 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Hi,

I have been using MailScanner very happily on Solaris with Sendmail,
SpamAssassin and Sophos.

I had reason to try to exclude a mailing list from being checked by
SpamAssassin recently (the SpamAssassin mailing list :-).  I followed
the directions and created a ruleset, which should have excluded
mails FromTo this list, restarted MailScanner and waited to test.
This didn't work, it seemed to be just ignoring the ruleset.  I did
lots of digging, mailling list archives, google, documentation etc.
Upgraded all packages, I even uncommented debugging prints in the
code to try to work out what was going on!  This wasn't high priority
so kept moving on to other jobs, and returning to look into this.

Anyway, to cut a long story short, I discovered my problem.  I have a
number of emails addresses here at work, they all get automatically
forwarded to the mail server I run here.  I had used one of the
forwarded addresses to subscribe to the list in question (policy
decisions by the PHBs).  The forwarding process changed the envelope
sender address, to be forwarding at MUNGED-ucl.ac.uk instead of the list
address, so the rulesets were not hitting.  I solved the problem by
changing my subscription address to the one that comes straight here.

In this instance it would have really helped if I was able to check
against the 'List-ID' header in the ruleset instead of just 'From' or
'To'.  I think being able to check against any header would be a
useful new feature.  The syntax could be:

header: List-Id =~ /users.maillist.id/  yes

What do others think?

Would it be possible to place this on the new feature wish list?

If I can find any free time, I might be able to look at the code for
this, but I am swamped at the moment.

--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
"It is easy to be blinded to the essential uselessness of
computers by the sense of accomplishment you get from
getting them to work at all." -- Douglas Adams

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list