Re: rejecting messages with attachments with postfix

Carla Schroder <[email protected]>
Newsgroups gmane.org.user-groups.linux.pdxlug
Message-ID <[email protected]>
On Saturday 24 July 2004 11:40 am, Joshua Schmidlkofer wrote:
> /^(Content-(Type|Disposition):.*).*(file)?name="?.*\.(adp|ade|bas|bat|chm|
com|cpl|cmd|crt|dll|enc|eml|exe|hlp|hta|inf|ins|isp|js|jse|lnk|mdb|mde|msc|
msi|msp|mst|pcd|pif|reg|scr|sct|shs|url|vb|vbe|vbs|wsc|wsf|wsh|zip)"?/ 
> REJECT Sorry, this organization is no longer accepting the type of 
> attachments that commonly carry viruses. Please contact email recipient 
> by phone for a mutually agreeable method of emailing attachments. Thank you!
> 
> 
> That is the Regex that I use.  -  To add extentions is trivial, and it 
> covers the microsoft trash.  Also, it lets the other end know [in 
> theory] about that I am doing.
> 
> I put that in files ref'd by 'mime_header_checks' and 'body_checks'
> 
> js

I use something like that too, except I only reference it in 
'mime_header_checks'. What's your reason for also using 'body_checks'?

thanks,
Carla

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.