Rulset enhancement request

Anthony Peacock a.peacock at CHIME.UCL.AC.UK
Fri May 13 15:30:26 IST 2005


Hi,

> my whitelist for the SA list is..
>
> From:
> users-return-*-martinh=solid-state-logic.com at spamassassin.apache.org
>  yes
>
> (all one line of course)
>
> you have to look carefully at how the actual From is constructed,
> there are others that have to be handled the same way

Thanks.  Mine is currently:

From:   spamassassin.apache.org         yes

Which is working now that I have subscribed with my email address
that comes straight to my server.

My original problem was that the forwarding process from my other
address was stripping the envelope 'From' and 'Return-Path' headers
so the SA From (in the format you show above) was not available to
compare the ruleset against.

Now argueably, I should be trying to get that process to do a proper
redirect and not mess with the emails.  But that will be like trying
to herd cats.

But the more I think about it, a more general syntax for the rulesets
would be useful.

> (risks-digest...) -- Martin Hepworth Snr Systems Administrator Solid
> State Logic Tel: +44 (0)1865 842300
>
>
> Anthony Peacock wrote:
> > 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!
>
> **********************************************************************
>
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote confirms that this email message has been swept
> for the presence of computer viruses and is believed to be clean.
>
> **********************************************************************
>
> ------------------------ 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!
>


--
Anthony Peacock
CHIME, Royal Free & University College Medical School
WWW:    http://www.chime.ucl.ac.uk/~rmhiajp/
All sweeping generalisations are false.

------------------------ 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