scanning of messages received using fetchmail - followup

Rajesh Fowkar rajesh-shriram at GMX.NET
Wed May 15 01:03:16 IST 2002

On 12/05/02 at 21:52 - Nick Phillips said in public:
>On Mon, May 13, 2002 at 03:13:23PM +0000, Rajesh Fowkar wrote:
>> Thanks. I will do that.
>> So does that mean, If I want to scan incoming mails than I cannot use
>> procmail for filtering the mail ?
>How do you think people use procmail when they aren't using fetchmail?

Thanks Nick.

Did all that. Now fetchmail hands over the mail to port 25 smtp than it is
handed over to procmail after scanning. Everything works fine. Thanks a

However one problem. Whenever a virus is detected a mail is sent to the
sender of the mail telling him that his machine is infected. But the mail
is going as

From: "MailScanner" <postmaster at debian.home>
Date: Tue, 14 May 2002 21:53:37 GMT
To: <horacio at>
Subject: Warning: E-mail viruses detected

Our virus detector has just been triggered by a message you sent:-
  To: <rajesh at localhost>
  Subject: A very  powful tool
  Date: Tue May 14 21:53:37 2002
Any infected parts of the message have not been delivered.

This message is simply to warn you that your computer system may have a
virus present and should be checked.

The virus detector said this about the message:
Report: /var/spool/mailscanner/incoming/g4ELq8pi000692/align.scr
Infection: W32/Klez.H at mm

As you can see, it is going as postmaster at debian.home ( here debian.home is
a fictitous domain name on my home machine ). Due to this sendmail is not
sending the mail to the actual sender but bounces back.


Final-Recipient: RFC822; horacio at
Action: failed
Status: 5.5.2
Diagnostic-Code: SMTP; 501 <postmaster at debian.home>... Sender domain must
Last-Attempt-Date: Tue, 14 May 2002 21:53:43 GMT


What changes in configuration should I do to the mailscanner so that the
from address domain is a valid domain. I don't seem to find the setting
required for this.

Can anybody help ?

Thanks in advance.

Sorry for the long mail.


Rajesh *  rajesh at  *
Powered By : Debian GNU/Linux 2.2 R-3 [Kernel 2.4.18(ext3),Mutt 1.3.28i]
Business will be either better or worse.
                -- Calvin Coolidge

More information about the MailScanner mailing list