[CentOS] Mail has quit working

Wed Jul 25 03:44:03 UTC 2018
Peter <peter at pajamian.dhs.org>

On 24/07/18 23:31, TE Dukes wrote:
> Here's the output from tail:
> 
> Jul 24 07:00:21 ts130 postfix/pickup[4017]: 338CA811240E: uid=0
> from=<root>
> Jul 24 07:00:21 ts130 postfix/cleanup[7047]: 338CA811240E:
> message-id=<20180724110021.338CA811240E at ts130.palmettodomains.com>
> Jul 24 07:00:21 ts130 postfix/qmgr[8283]: 338CA811240E:
> from=<root at ts130.palmettodomains.com>, size=461, nrcpt=1 (queue active)
> Jul 24 07:00:22 ts130 postfix/smtpd[7112]: connect from
> localhost[127.0.0.1]
> Jul 24 07:00:22 ts130 postfix/smtpd[7112]: 468E581DAB6C:
> client=localhost[127.0.0.1]
> Jul 24 07:00:22 ts130 postfix/cleanup[7047]: 468E581DAB6C:
> message-id=<20180724110021.338CA811240E at ts130.palmettodomains.com>
> Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C:
> from=<root at ts130.palmettodomains.com>, size=946, nrcpt=1 (queue active)
> Jul 24 07:00:22 ts130 postfix/smtpd[7112]: disconnect from
> localhost[127.0.0.1]
> Jul 24 07:00:22 ts130 amavis[423]: (00423-02) Passed CLEAN
> {RelayedInbound}, [127.0.0.1] <root at ts130.palmettodomains.com> ->
> <tdukes at palmettodomains.com>, Message-ID:
> <20180724110021.338CA811240E at ts130.palmettodomains.com>, mail_id:
> 8sW4ZXrbEdBD, Hits: 1.766, size: 461, queued_as: 468E581DAB6C, 1094 ms
> Jul 24 07:00:22 ts130 postfix/smtp[7049]: 338CA811240E:
> to=<tdukes at palmettodomains.com>, relay=127.0.0.1[127.0.0.1]:10024,
> delay=1.1, delays=0.04/0/0/1.1, dsn=2.0.0, status=sent (250 2.0.0 from
> MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 468E581DAB6C)
> Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 338CA811240E: removed
> Jul 24 07:00:22 ts130 dovecot: lda(tdukes):
> msgid=<20180724110021.338CA811240E at ts130.palmettodomains.com>: saved
> mail to INBOX
> Jul 24 07:00:22 ts130 postfix/local[7113]: 468E581DAB6C:
> to=<tdukes at palmettodomains.com>, relay=local, delay=0.11,
> delays=0.03/0.01/0/0.07, dsn=2.0.0, status=sent (delivered to command:
> /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT")
> Jul 24 07:00:22 ts130 postfix/qmgr[8283]: 468E581DAB6C: removed
> Jul 24 07:04:04 ts130 postfix/smtpd[7053]: timeout after END-OF-MESSAGE
> from localhost[127.0.0.1]
> Jul 24 07:04:04 ts130 postfix/smtpd[7053]: disconnect from
> localhost[127.0.0.1]
> Jul 24 07:05:59 ts130 postfix/qmgr[8283]: C33128410546:
> from=<root at ts130.palmettodomains.com>, size=949, nrcpt=1 (queue active)

Based on that I can see pickup receives the message from the sendmail
command (which in turn receives it from the mail command).  The message
is then passed off to amavisd-new which scans it, passes the scan and
re-injects it back into postfix.  Postfix then passes the message off to
dovecot-lda for delivery.  There is no indication in the logs of what
dovecot is doing with the message at this stage.  So it appears that
postfix and amavisd-new are working correctly and if there's a problem
it's in dovecot.

For whatever reason dovecot is not logging to maillog (it may be logging
somewhere else).  You need to find your dovecot logs and trace the
message through there to see what happens next.  I am not so much of a
dovecot expert myself (I use it but I don't know it in as much detail as
I know postfix, for example).  I would suggest posting to the dovecot
mailing list, or you can join the freenode IRC network and ask in the
#dovecot channel where you should get some relevant help.


Good Luck,


Peter