> The 3.7 minutes is well below 8 minutes of $child_timeout, so 
> amavisd does not time out on this message.
> 
> If MTA times out with waiting earlier than in 3.7 minutes, 
> you end up with mail message being send, one copy at every 
> attempt: amavisd successfully processes and forwards the 
> message in time, yet MTA gives up earlier, telling the client 
> it hit a temporary failure and that it should re-try later.
> 
> Fix MTA timeout, it should not give up sooner than 
> $child_timeout time, customarily MTA timeout is set to 20 
> minutes. Don't know how to set this timeout value\ on qmail.
> 
>   Mark
> 

Hi Mark, 

I finally found the root of the problem. The QMQP code in qmail have
hardcoded timeouts set. 10 seconds for connect and 60 seconds for
read/write. If amavisd processing takes longer than 60 secs you get the
early MTA connection drop.

I found the following patch by Eric Hess on the www.qmail.org page
http://www.ehuss.org/qmail/qmqpc-timeout.tar.gz which would be great if you
could mention somewere in the amavisd docs.

clamav still times out though on zero byte members in compressed (zip)
archives.

Thanks,
Nicklas






-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to