Whitelisting rule query

Julian Field MailScanner at ecs.soton.ac.uk
Wed May 27 18:36:16 IST 2009

Hash: SHA1

On 27/05/2009 16:35, Stef Morrell wrote:
>> -----Original Message-----
>> From: mailscanner-bounces at lists.mailscanner.info
>> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf
>> Of Julian Field
>> On 27/05/2009 10:48, Stef Morrell wrote:
>>> So, what I hope to be able to do is add a spam whitelisting
>> rule along
>>> the lines of
>>> From: *@mydomain and From:<IP ADDRESS>
>>> Does this makes sense and is it achieveable?
>> Yes, and you have even got the syntax right. Just add a "yes"
>> on the end of the line and put it in
>> /etc/MailScanner/rules/spam.whitelist.rules.
> Ah fantastic thanks. For some reason I was under the mistaken impression
> one could only do a
> From:Foo and To:Bar Yes
> Rather than multiple 'from' conditions.
> Is there a maximum number of conditions (not that I can think of an
> application for more than maybe 3-4)?
Yes. 2.
> Could you say
> From:Foo or From:Bar
> Or is it more appropriate to write two rules?
No, write 2 rules.


- -- 
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
Follow me at twitter.com/JulesFM

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc

Version: PGP Desktop 9.10.0 (Build 500)
Comment: Use PGP or Thunderbird Enigmail to verify this message
Charset: ISO-8859-1


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list