zimbra system user bounced on mail each night at 2:00 am

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ludolelarge
Posts: 2
Joined: Fri Jun 23, 2017 8:35 am

zimbra system user bounced on mail each night at 2:00 am

Post by ludolelarge »

Dear all,

I recently installed zimbra Release 8.7.9.GA.1794.UBUNTU16.64 UBUNTU16_64 FOSS edition.

It working fine, but nightly at 2:05 am, i have a bounced mail in my log from system account zimbra. <zimbra@mail.eta123.be>, this account doesn't exist.

here's my log :

/opt/zimbra/libexec/zmmsgtrace -s zimbra@mail.eta123.be /var/log/mail.log

Message ID '20170623000521.658091C13A8@mail.eta123.be'
zimbra@mail.eta123.be -->
zimbra@mail.eta123.be (originally to zimbra)
Recipient zimbra@mail.eta123.be
Jun 23 02:05:21 - mail --> 127.0.0.1:10024 (127.0.0.1:10024) status sent
Jun 23 02:05:22 - mail --> none status bounced
(mail for mail.eta123.be loops back to myself)

/var/log/mail.log

Jun 23 02:05:21 mail postfix/pickup[3934]: 658091C13A8: uid=999 from=<zimbra>
Jun 23 02:05:21 mail postfix/cleanup[12645]: 658091C13A8: message-id=<20170623000521.658091C13A8@mail.eta123.be>
Jun 23 02:05:21 mail postfix/qmgr[16090]: 658091C13A8: from=<zimbra@mail.eta123.be>, size=9943, nrcpt=1 (queue active)
Jun 23 02:05:22 mail postfix/amavisd/smtpd[12650]: connect from localhost.localdomain[127.0.0.1]
Jun 23 02:05:22 mail postfix/amavisd/smtpd[12650]: CF6121C13A9: client=localhost.localdomain[127.0.0.1]
Jun 23 02:05:22 mail postfix/cleanup[12645]: CF6121C13A9: message-id=<20170623000521.658091C13A8@mail.eta123.be>
Jun 23 02:05:22 mail postfix/amavisd/smtpd[12650]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Jun 23 02:05:22 mail postfix/qmgr[16090]: CF6121C13A9: from=<zimbra@mail.eta123.be>, size=10586, nrcpt=1 (queue active)
Jun 23 02:05:22 mail postfix/smtp[12648]: 658091C13A8: to=<zimbra@mail.eta123.be>, orig_to=<zimbra>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.6, delays=0.15/0.04/0.03/1.3, 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 CF6121C13A9)
Jun 23 02:05:22 mail postfix/qmgr[16090]: 658091C13A8: removed
Jun 23 02:05:22 mail postfix/smtp[12651]: CF6121C13A9: to=<zimbra@mail.eta123.be>, relay=none, delay=0.03, delays=0/0.03/0/0, dsn=5.4.6, status=bounced (mail for mail.eta123.be loops back to myself)
Jun 23 02:05:22 mail postfix/cleanup[12645]: EEA601C13A8: message-id=<20170623000522.EEA601C13A8@mail.eta123.be>
Jun 23 02:05:22 mail postfix/qmgr[16090]: EEA601C13A8: from=<>, size=12534, nrcpt=1 (queue active)
Jun 23 02:05:22 mail postfix/bounce[12652]: CF6121C13A9: sender non-delivery notification: EEA601C13A8
Jun 23 02:05:22 mail postfix/qmgr[16090]: CF6121C13A9: removed
Jun 23 02:05:22 mail postfix/smtp[12651]: EEA601C13A8: to=<zimbra@mail.eta123.be>, relay=none, delay=0.01, delays=0.01/0/0/0, dsn=5.4.6, status=bounced (mail for mail.eta123.be loops back to myself)
Jun 23 02:05:22 mail postfix/qmgr[16090]: EEA601C13A8: removed

/var/log/zimbra.log

Jun 23 02:05:21 mail postfix/pickup[3934]: 658091C13A8: uid=999 from=<zimbra>

Jun 23 02:05:21 mail postfix/cleanup[12645]: 658091C13A8: message-id=<20170623000521.658091C13A8@mail.eta123.be>

Jun 23 02:05:21 mail postfix/qmgr[16090]: 658091C13A8: from=<zimbra@mail.eta123.be>, size=9943, nrcpt=1 (queue active)

Jun 23 02:05:21 mail amavis[30199]: (30199-02) ESMTP [127.0.0.1]:10024 /opt/zimbra/data/amavisd/tmp/amavis-20170623T005100-30199-uDdGby76: <zimbra@mail.eta123.be> -> <zimbra@mail.eta123.be> SIZE=9943 BODY=8BITMIME Received: from mail.eta123.be ([127.0.0.1]) by localhost (mail.eta123.be [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <zimbra@mail.eta123.be>; Fri, 23 Jun 2017 02:05:21 +0200 (CEST)

Jun 23 02:05:21 mail amavis[30199]: (30199-02) Checking: Y-uD1MAVJ4Sv [127.0.0.1] <zimbra@mail.eta123.be> -> <zimbra@mail.eta123.be>

Jun 23 02:05:21 mail clamd[15498]: SelfCheck: Database status OK.

Thx for your help.
ludolelarge
Posts: 2
Joined: Fri Jun 23, 2017 8:35 am

Re: zimbra system user bounced on mail each night at 2:00 am

Post by ludolelarge »

Solved !

backup mailbox script in crontab generate mail.
solved by adding >/dev/null 2>&1 in crontab.

Regards,
liverpoolfcfan
Elite member
Elite member
Posts: 1111
Joined: Sat Sep 13, 2014 12:47 am

Re: zimbra system user bounced on mail each night at 2:00 am

Post by liverpoolfcfan »

You can also likely fix it, and still get the emails by adding

MAILTO=anAccountThatExists@your.domain
MAILFROM=anAccountThatExists@your.domain

as the first 2 lines of the zimbra crontab. This will send the email from the MAILFROM account to the MAILTO account.

They should be inserted before the lines
# ZIMBRASTART -- DO NOT EDIT ANYTHING BETWEEN THIS LINE AND ZIMBRAEND
SHELL=/bin/bash
Post Reply