Fetchmail and MailScanner

Alex Broens ms-list at alexb.ch
Wed Aug 20 10:46:48 IST 2008


On 8/20/2008 11:22 AM, Ismail OZATAY wrote:
> 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'
>         keep
>         norewrite
>         smtphost 192.168.100.3
> 
> Here is my incmoing mail header ;
> 
> Received: from mail.test.net (mail.internal.net [192.168.100.3])
>     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 192.168.100.3 so mailscanner thinks that it is
> localhost. My question was how can i leave message source untouched ?
> 
> Thanks Edward  :)
> 
> Regards,
> 
> ismail
> 
> 
> ----- 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 127.0.0.1 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?

doesn't the fetchmail "silent" switch do that for you?



More information about the MailScanner mailing list