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?

1 Reply

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

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct