Whitelisting rule query

Julian Field MailScanner at ecs.soton.ac.uk
Wed May 27 11:28:51 IST 2009



On 27/05/2009 10:48, Stef Morrell wrote:
> Hello,
>
> I'm wanting to whitelist email coming from my office, so it doesn't get
> marked up as spam, in particular when discussing spammy topics with
> colleagues/clients.
>
> If I simply whitelist *@mydomain.com then this allows email with spoofed
> 'from' address throught.
>
> I can't whitelist the mail relay, as there's any number of domains email
> running through it and if one of those users takes it upon themselves to
> throw a spam sandwich at it, I want to catch it and stop it before the
> wide wide world decides to blacklist me.
>
> 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. 
Then do a "service MailScanner reload" and it will re-read the 
configuration, and away you go.

> Regards
>
> Stef
> --
> Stefan Morrell          | Operations Director
> Tel: 0845 3452820       | Alpha Omega Computers Ltd
> Fax: 0845 3452830       | Incorporating Level 5 Internet
> stef at aoc-uk.com         | stef at l5net.net
>    

Jules

-- 
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


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