Anything need fixing before stable release?

Mike michael at NOMENNESCIO.NET
Wed Jun 29 20:28:35 IST 2005


> From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> Behalf Of Julian Field
> 
> I propose to make the next stable release on Friday, and to base it on
> the latest beta that is out there.
> 
> Any changes or extras that you think should be in it, please shout
now.

Please see my message sent on 23-06-2005:
=========================================
Hi,

I seem to have stumbled onto a rules bug/problem, unless I'm doing
something wrong.

I noticed that my rules aren't firing properly. For example, I would
like the following (since I use MailWatch) in a ruleset (for instance
"Spam Checks"):

From:	127.0.0.1	and	From: postmaster@<domain>	no

In English: if the message is sent from the localhost AND has a sender
of postmaster@<domain>, skip the Spam Checks (and Filename/type checks
in other rulesets, etc.). The reason for this double check is that a
check on "From: postmaster@<domain>" only is not strict enough, since it
can be sent from any host. The "From: 127.0.0.1" localhost check only
would bypass Spam Checks for ALL senders from the localhost.

The rule above does not work at all. However, if I change it to:

From:	127.0.0.1	and	To: support@<domain>	no

the rule DOES work. This seems to imply that a rule with "and" cannot
have two "From:" statements (possibly the same holds for two "To:"
statements, I haven't checked this).

I've also tried to change the two "From:" statements to "FromOrTo:", but
then MailScanner syslogs the following message (which makes sense):
==========
Config Error: Cannot match against destination IP address when resolving
configuration option "spamchecks"
==========

Julian, can you confirm this behaviour and is it by design (i.e. "a
feature and not a bug" to speak with the words of one L. Torvalds...)?
Is what I want obscure or is it something others want as well (not sure
if this can easily be changed in the code).

Regards and thanks in advance,
Mike Klinkert
=========================================

> --
> Julian Field

Mike.

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