fetchmail -> sendmail problem

Mikhail Goriachev mikhailg at webanoide.org
Wed Oct 4 01:27:59 PDT 2006

Karsten Fuhrmann wrote:
> Hello,
> i have a problem with some strange spam emails, which lock up my  
> email reception.
> The problem is the following : I am using fetchmail to download my  
> email (from a pop3 server), and fetchmail passes the email to my  
> local sendmail daemon who gives it to my local imap server (cyrus).  
> This works fine. But sometimes i got a spam email, which has an  
> unresolveable dns origin, and this makes my sendmail crazy in a way,  
> that sendmail wants to resolve but gets a timeout (around 20s). In  
> the meantime the fetchmail which is actualy waiting for sendmail to  
> accept the message gets a timeout from the pop server where it is  
> connected to.
> Because of that timeout fetchmail stops receiving email from pop  
> server and tries again next time, but next time it will start with  
> the same spam email again, and it all starts again, actually no more  
> new mails will arrive until i delete this particular email from the  
> pop server manually.
> Is there a way to tweak the timeout behavior of sendmail, or maybe  
> even no dns resolve option for sendmail, or even better some way to  
> tell fetchmail to use the idle command to keep the connectio to the  
> pop server open ?

Add this to your .mc file:


and let us know how it goes.


Mikhail Goriachev

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: mikhailg at webanoide.org
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B

More information about the freebsd-questions mailing list