Three-way match headache
PHachey at CITY.CORNWALL.ON.CA
Wed Jul 27 16:23:11 IST 2005
Assuming Perl regexp "extended patterns" (I haven't tried) can be used,
consider the following two lines in the order presented:
From: user at domain andFrom: /^(?!ip\.ad\.dr\.es)$/ no
From: user at domain andTo: otherdomain yes
The regular expression in the first line basically says to act "no" if
the message is from user at domain but NOT from the specified IP address.
Chuck Foster <chuck.foster at STREAMSHIELD.COM>
Sent by: MailScanner mailing list <MAILSCANNER at JISCMAIL.AC.UK>
Please respond to MailScanner mailing list
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Three-way match headache
I have a scenario whereby we are now looking at customers being able to
configure per-user rules, but this has thrown up a headache in how to
handle some potential rules for outgoing messages.
Taking sender notification, for example, in the old, per-domain only
environment it was enough to simply set something like:
From: ip.ad.dr.es and From: domain
but now we effectively need something like:
From: ip.ad.dr.es and From: user at domain and To:
which from what I can tell isn't possible in MailScanner, as it doesn't
handle three conditions as yet anyway, you can't do multiple lines with
a 'continue' like statement, and can't call another ruleset within the
existing one (which would have been quite useful in this context
This message should be regarded as confidential. If you have received
this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard
copy by an authorized signatory.
This message has been scanned for viruses and potentially
harmful content by StreamShield Protector.
------------------------ 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!
[ Part 2, "S/MIME Cryptographic Signature" ]
[ Application/X-PKCS7-SIGNATURE 5.4KB. ]
[ Unable to print this part. ]
More information about the MailScanner