Re: Facing problem of network write error :timed out

"Gerrit Pape" <[email protected]>
Newsgroups gmane.mail.serialmail
Message-ID <[email protected]>
On Tue, Dec 17, 2002 at 07:16:17PM +0530, Wilson wrote:
> I have installed serialmail . It is configured in crontab to push
> mails to another mail server. It was working properly earlier as
> expected. Now it is observed that when ever maildirsmtp is run , mails
> do not get pushed . I have tried this from command line also.  The
> mail server to which i am pushing mails is available and smtp is also
> running on it.
> 
> I am getting following errors always:
> 
> serialsmtp: fatal: network write error: timed out
> serialsmtp: fatal: network write error: timed out
> serialsmtp: fatal: network write error: timed out
> maildirserial: fatal: making no progress, giving up
> 
> Sometimes i get this error also "serialsmtp: fatal: network read
> error: timed out".

> I want to know if anyone observed this problem and also ways to
> eliminate this problem.

I've seen this behavior when trying to deliver a _huge_ maildir some
time ago, IIRC.  The fix was to increase the timeout for tcpclient (-T
option) in the maildirsmtp script, e.g.:

#!/bin/sh
exec \
/usr/local/bin/maildirserial -b -t 1209600 -- "$1" "$2" \
tcpclient -RHl0 -T120 -- "$3" 25 \
/usr/local/bin/serialsmtp "$2" "$4"

I'm not sure that that's your problem, but maybe it helps.

Regards, Gerrit.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.