Block list by email

Alexandre Gorges algorges at
Thu Feb 26 23:51:50 GMT 2009


Let me see. Please help.

I want the mail test at not receive any file. exe and any email that
comes from spam at

In Mailscanner.conf, I modified the "Filename Rules"   to Filename Rules =

In filename.rules, I added

To: test at /etc/MailScanner/rules/filename-test.rules
FromOrTo: default /etc/MailScanner/filename.rules.conf

Inside filename-test.rules, I added

deny \.exe$ - -

So, to block spam at, I use the  " Is Definitely Spam =

In spam.blacklist.rules, I added

To: test at /etc/Mailscanner/rules/blacklist-test.rules
FromOrTo:    default                    no

Inside blacklist-test.rules, I added

From: spam at yes

It is correct? 

Thanks again.

From: Alex Neuman <alex at>
Reply-To: Lista Mailscanner <mailscanner at>
Date: Thu, 26 Feb 2009 10:19:21 -0500
To: Lista Mailscanner <mailscanner at>
Subject: Re: Block list by email

On Thu, Feb 26, 2009 at 8:24 AM, Alexandre Gorges <algorges at>
> Hello,
> It is possible to create blacklist, whitelist and filename list by email?
> If it possible, how?
By editing the .rules files and following the examples within.
> Thanks
You're welcome! 
> []'s
>  Alexandre Gorges ⌘

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the MailScanner mailing list