Fetchmail and MailScanner

Ismail OZATAY ismail at ismailozatay.net
Wed Aug 20 10:22:07 IST 2008

Hi Edward ,

I always read every incoming mail carefully. Also i know that Fabio Silva 's
problem is still going on because using smtphost setting will never fix that
problem. Fetchmail is routing all emails to smtp so source seems interface's
ip which is set before by smtphost.

Here is my .fetchmailrc file;

set daemon 20
set syslog
set postmaster root
set invisible
poll mail.test.net with proto POP3 and options no dns
         user 'test' with pass "123456"  is 'realuser at internal.net'

Here is my incmoing mail header ;

Received: from mail.test.net (mail.internal.net [])
     by mail.ismail.net (Postfix) with ESMTP id 99A49E8288
     for <realuser at internal.net>; Wed, 20 Aug 2008 09:55:27 +0300 (EEST)

As you see coming source is so mailscanner thinks that it is
localhost. My question was how can i leave message source untouched ?

Thanks Edward  :)



----- Original Message ----- 
From: "Edward Dekkers" <edward at tdcs.com.au>
To: "'MailScanner discussion'" <mailscanner at lists.mailscanner.info>
Sent: Wednesday, August 20, 2008 10:58 AM
Subject: RE: Fetchmail and MailScanner

> Hi all,
> I am using fetchmail as a pop connector. It downloads a lot of pop3
> inbox
> from some isps and it works properly. Today i installed postfix and
> mailscanner for filtering virus and spam mails on the same server but
> there
> is something wrong with mail headers. Because mail header says that
> mail
> coming from localhost which is already whitelisted. So every
> incoming mail is tagged as clean. How can i fix this problem ? Can i
> send
> incoming mails to smtp with the original header?
> Thanks
> ismail

Whoa - this sound like déjà-vu in a big way!

I THINK we had this exact discussion with Fabio Silva YESTERDAY.

If you've been listening, scroll back to yesterday.

If you've just joined, follow this thread:


I found it because I knew how the thread started, I'm not sure how you would
go searching the archives though, there doesn't appear to be a way to find
things based on keywords.

This should get you started though.


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

MailScanner mailing list
mailscanner at lists.mailscanner.info

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list