Topic: IRedAPD re-sending old messages several times
==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: iRedAdmin-Pro-LDAP-1.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): OpenLDAP
- Linux/BSD distribution name and version: CentOS release 6.4 (Final) (2.6.32-358.2.1.el6.x86_64)
- Related log if you're reporting an issue: see below maillog and iredapd.log
====
Hello,
One of my users has sent a message a couple days ago and the receiver keeps getting the same message once per minute.
Investigating maillog, I've found the messages really being sent by our server every minute. For example (I'm omitting MX hosts, IPs and e-mail addresses):
Jul 25 12:26:06 mail postfix/smtpd[28961]: 3DF6E1ED56: client=localhost[127.0.0.1]
Jul 25 12:26:06 mail postfix/qmgr[13060]: 3DF6E1ED56: from=<MYUSER@MAILADDR>, size=361539, nrcpt=1 (queue active)
Jul 25 12:26:06 mail amavis[440]: (00440-05) Passed CLEAN, MYUSERS LOCAL [A.B.C.D] [A.B.C.D] <MYUSER@MAILADDR> -> <DESTINATION@MAILADDR>, Message-ID: <040c01cfa81d$9b2b7c30$d1827490$@USERDOMAIN>, mail_id: E+AsQMBvWAhQ, Hits: -9.716, size: 360597, queued_as: 3DF6E1ED56, 4872 ms
Jul 25 12:26:07 mail postfix/smtp[30370]: 3DF6E1ED56: to=<DESTINATION@MAILADDR>, relay=DESTINATIONMX[A.B.C.D]:25, delay=1.1, delays=0.07/0.01/0.12/0.91, dsn=2.0.0, status=sent (250 OK id=1XAhTj-0003zl-KO)
Jul 25 12:26:07 mail postfix/qmgr[13060]: 3DF6E1ED56: removed
The log above shows up every minute for the same sender and the same receiver.
Seeing these messages are sent from localhost (first line), I looked into iredapd.log and I've found these:
2014-07-25 12:28:58 INFO [A.B.C.D] MYUSER@MAILADDR -> DESTINATION@MAILADDR, DUNNO
2014-07-25 12:26:58 INFO [A.B.C.D] MYUSER@MAILADDR -> DESTINATION@MAILADDR, DUNNO
2014-07-25 12:25:57 INFO [A.B.C.D] MYUSER@MAILADDR -> DESTINATION@MAILADDR, DUNNO
2014-07-25 12:24:57 INFO [A.B.C.D] MYUSER@MAILADDR -> DESTINATION@MAILADDR, DUNNO
2014-07-25 12:23:57 INFO [A.B.C.D] MYUSER@MAILADDR -> DESTINATION@MAILADDR, DUNNO
After observing that, I noticed there are a few other cases just like it (about 4 or 5 messages are sent every minute). These messages are just replay from something sent days ago.
Question: why the server started this behavior? how to stop it?
Thanks
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.