Question about the Deny Filenames section

Jerry Benton jerry.benton at mailborder.com
Tue Mar 8 04:53:59 UTC 2016


This is an example of how Mailborder builds rules:

MailScanner.conf :
Filename Rules = /etc/MailScanner/frules/filename.rules

filename.rules :
FromOrTo:	linuxref.com	/etc/MailScanner/frules/linuxref.com.fn.conf
FromOrTo:	default	/etc/MailScanner/frules/default.fn.rules.conf

linuxref.com.fn.conf :
deny	\.bak$	 - 	 -
allow	\.bz2$	 - 	 -
deny	\{[a-hA-H0-9-]{25,}\}	 - 	 -
allow	\.Z$	 - 	 -
deny	\s{10,}	 - 	 -
deny	\.fdf$	 - 	 -
(more rules here)

default.fn.rules.conf :
(rules listed here)




-
Jerry Benton
www.mailborder.com



> On Mar 7, 2016, at 7:22 PM, Philip Parsons <pparsons at techeez.com> wrote:
> 
> Right now I have it set as  Deny Filenames = \.doc$ \.zip$ \.docx$
>  
> I want to make it a rule set as it stats I can so I can accept those docs from a specific person but deny everyone else..
>  
> Would it look like this?
>  
> From:                    test at test.com <mailto:test at test.com> 
> FromOrTo:       default        \.doc$ \.zip$ \.docx$
>  
>  
>  
>  
>  
> Thank you. 
> Philip Parsons
> 
>  
> 
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info <mailto:mailscanner at lists.mailscanner.info>
> http://lists.mailscanner.info/listinfo/mailscanner <http://lists.mailscanner.info/listinfo/mailscanner>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mailscanner.info/pipermail/mailscanner/attachments/20160307/374610e4/attachment-0001.html>


More information about the MailScanner mailing list