Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 2014 12:16:35 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Willy Offermans <Willy@Offermans.Rompen.nl>
Cc:        freebsd-current@freebsd.org
Subject:   Re: sendmail Broken Pipe Error
Message-ID:  <20140324191635.GT32089@funkthat.com>
In-Reply-To: <20140324133634.GB6581@vpn.offrom.nl>
References:  <20140324133634.GB6581@vpn.offrom.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Willy Offermans wrote this message on Mon, Mar 24, 2014 at 14:36 +0100:
> Dear FreeBSD friends,
> 
> Lately I have setup a new FreeBSD server with 10.0-STABLE. Most of it went
> smoothly. However I have an issue with sendmail. Some of the mails can be
> sent out correctly, some of them stay in /var/spool/mqueue/. The provided
> error messages are in the latter case:
> 
> Mar 24 14:16:01 MyServer sm-mta[11725]: s2ODCWT4011717: SYSERR(root): timeout writing message to MyProvider.com: Broken pipe
> Mar 24 14:16:01 MyServer sm-mta[11725]: s2ODCWT4011717: to=<SomeAddress@example.com>, delay=00:03:29, xdelay=00:03:26, mailer=relay, pri=1284849, relay=MyProvider.com [XXX.XXX.XXX.XXX], dsn=4.0.0, stat=Deferred
> 
> I'm using Version 8.14.7
> All was fine when I was using Version 8.14.5.
> 
> Since there is a timeout error, I like to know what sendmail is writing to
> MyProvider.com
> 
> Is there a way to debug sendmail to disclose the message written to
> MyProvider.com and the response from MyProvider.com. I'm pretty sure that 
> there lays the solution to my problem.
> 
> Any help is highly appreciated.

You could use tcpflow to capture the flows for myprovider.com and look
at them...

Though you are seeing a timeout, so it sounds like myprovider.com isn't
reading your message in a timely fasion..

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140324191635.GT32089>