Install a virus scanner.. that is the only good way I have found
to stop those. I use the amavirus scan and it works great...
there is a link to it on the qmail home page.
On Thu, Jul 12, 2001 at 10:41:54AM -0500, Q wrote:
> We have been getting some e-mails sent from a virus some people have. I am
> trying to block them out using the badmailfrom file, but it doesn't seem to
> be working the way I need it to. The e-mail has a:
>
> From: Hahaha <[EMAIL PROTECTED]>
>
> in the header, so I put [EMAIL PROTECTED] in the badmailfrom file.
> Whenever I try to send a test message with the from address of
> "[EMAIL PROTECTED]" it gets blocked like it should. However when the
> actual mail gets sent from someone that has the virus, it does not get
> blocked. I checked the logs and this seems to be because qmail is saying
> that it is from <> because there is a:
>
> Return-Path: <>
>
> in the header too. Is there any way I can block messages that have a null
> Return-Path or a way to have qmail check the badmailfrom against the From:
> header instead of the Return-Path one?
>
>
> Also it is interesting to note that my test messages bounce back to
> [EMAIL PROTECTED] and they get accepted by their mail server.
>