Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Client-side vs Server-side spam/anti-virus filtering

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Author Message
milo



Joined: 01 Dec 2003
Posts: 20
Location: Oakland, CA

Posted: Tue Apr 06, 2004 11:24 pm    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?
Back to top  
gmt



Joined: 20 Jul 2003
Posts: 96
Location: Tropical Queensland, Australia

Posted: Wed Apr 07, 2004 3: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
Back to top  
 
       Linode.com Forum Forum Index -> Email/SMTP Related Forum
Page 1 of 1