Subject: Re: recommendations for virus/worm scanning software?
To: Perry E. Metzger <>
From: Julio M. Merino Vidal <>
List: tech-pkg
Date: 09/21/2003 10:10:02
On 20 Sep 2003 18:20:29 -0400
"Perry E. Metzger" <> wrote:

> Michael Wolfson <> writes:
> > I've been slammed with a ton of worms the past two days.  What do
> > y'all recommend I use from pkgsrc to block them (using postfix)?
> you don't need anything from pkgsrc to block them. Postfix 2.0 and
> later have excellent scanning abilities built in.
> Just add:
> /^Content-(Type|Disposition):.*(file)?name=.*\.(asd|bat|chm|cmd|com|dll|exe|hlp|hta|js|jse|lnk|ocx|pif|scr|shb|shm|shs|vb|vbe|vbs|vbx|vxd|wsf|wsh)/     REJECT Sorry, we do not accept .${3} file types.
> to your header_checks file (and turn on header checks!) and you'll
> never see any Microsoft viruses ever again.

BTW, does this work if I use fetchmail to fetch my mail?  I thought that fetchmail
connected to the local MTA using SMTP (in this case, postfix) so that the rules
could take effect.  But it seems they do not work...  Ideas?


Julio M. Merino Vidal <>
The NetBSD Project -