Re: [exim] Broken Pipe to Dovecot LMTP Socket

Top Page
Delete this message
Reply to this message
Author: Rical Jasan
Date:  
To: exim-users
Subject: Re: [exim] Broken Pipe to Dovecot LMTP Socket
On 10/26/2016 03:01 AM, Jeremy Harris wrote:
> On 26/10/16 08:42, Rical Jasan wrote:
>> Might the broken pipe be in reference to logwatch->exim and
>> not exim->dovecot?
>
> I doubt that. "Broken pipe" refers to the EPIPE error, which
> is specifically for an attempt to write on a pipe that has no
> reader. The reverse situation, reading on a pipe where the
> writer has closed, gets an end-of-file indication - zero bytes
> returned with no error.
>
> So it's the transport, in Exim terms.


I figured. I threw that idea in at the last minute, as I was writing.
Is there anything I can throw into the signal handler to dig deeper, or
do I need to look at either the system or Dovecot? It's strange that
the "Broken pipe" occurs several times in succession, the message is
ultimately delivered, but Exim still resends the message later.

Is the transport legit?

lmtp:
driver = lmtp
socket = /var/local/run/dovecot/lmtp
batch_max = 32

Here are the relevant (AFAICT) log lines (sorry if the line-wrapping is
problematic; blank lines are in the log):

2016-10-26 00:00:14 [7838] cwd=/ 3 args: /usr/local/sbin/exim -t -i
2016-10-26 00:00:17 [7838] 1bzIC6-00022Q-7J <= root@???
U=root P=local S=366004 M8S=0 T="Logwatch for host.domain.tld (Linux)"
from <root@???> for root
2016-10-26 00:00:17 [8060] cwd=/var/local/spool/exim 3 args:
/usr/local/sbin/exim -Mc 1bzIC6-00022Q-7J
2016-10-26 00:00:17 [8063] 1bzIC6-00022Q-7J Failed writing transport
results to pipe: Broken pipe

2016-10-26 00:00:17 [8063] 1bzIC6-00022Q-7J Failed writing transport
results to pipe: Broken pipe

2016-10-26 00:00:17 [8063] 1bzIC6-00022Q-7J Failed writing transport
results to pipe: Broken pipe

2016-10-26 00:22:32 [8117] cwd=/var/local/spool/exim 2 args:
/usr/local/sbin/exim -q
2016-10-26 00:22:32 [8117] Start queue run: pid=8117
2016-10-26 00:22:32 [8119] 1bzIC6-00022Q-7J => user
(user@???) <root@???> F=<root@???>
P=<root@???> R=dovecot T=lmtp S=3727
2016-10-26 00:22:32 [8119] 1bzIC6-00022Q-7J Completed QT=22m18s
2016-10-26 00:22:32 [8117] End queue run: pid=8117