Fetchmail and MailScanner
ms-list at alexb.ch
Wed Aug 20 09:11:32 IST 2008
On 8/20/2008 9:27 AM, Ismail OZATAY wrote:
> 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?
tell fetchmail to use the NIC's IP as SMTP and not 127.0.0.1
depending how you call it
/usr/bin/fetchmail -S 192.168.1.1
that should solve your problem
fetchmail docs show this quite clearly.
More information about the MailScanner