Linode Forum
https://forum.linode.com/

Client-side vs Server-side spam/anti-virus filtering
https://forum.linode.com/viewtopic.php?f=11&t=792
Page 1 of 1

Author:  milo [ Wed Apr 07, 2004 12:24 am ]
Post subject:  Client-side vs Server-side spam/anti-virus filtering

Here's my situation: I'm running a Linode 64 for myself. I use Mozilla's email client exclusively. No one but me is going to check email on this account.

So my question is this: would it be more hassle to setup an antivirus/antispam solution on my Linode, even though memory is a premium? Or should I just setup something on my PC and filter it as I receive it?

Author:  gmt [ Wed Apr 07, 2004 4:51 am ]
Post subject: 

Here's what I do to stop all exe files (ie viruses):

Install postfix - its very easy.

In main.cf add:
mime_header_checks = regexp:/etc/postfix/mime_header_checks.regexp

In mime_header_checks.regexp:
/^\s*Content-(Disposition|Type).*name\s*=\s*"?(.+\.(lnk|do|vxd|asd|hlp|ocx|reg|bat|c[ho]m|cmd|exe|dll|vxd|pif|scr|hta|jse?|sh[mbs]|vb[esx]|ws[fh]|wmf|xl))"?\s*$/ REJECT For security reasons emails with ".$3" attachments are not accepted by this server

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/