Client-side vs Server-side spam/anti-virus filtering
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?
1 Reply
Install postfix - its very easy.
In main.cf add:
mimeheaderchecks = regexp:/etc/postfix/mimeheaderchecks.regexp
In mimeheaderchecks.regexp:
/^\sContent-(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