1

Topic: Can not receive incoming email

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.2 MARIADB edition
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu 22.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Dear Zhang,

Please help me. I have problem many users can not receive email. I checked mailq and i got many temporary failure with status= deferred. Here some log from syslog:

root@mail:/var/log# cat syslog|grep 10C1945C75
May  5 16:25:19 mail postfix/pickup[1067926]: 10C1945C75: uid=2000 from=<>
May  5 16:25:19 mail postfix/cleanup[1070315]: 10C1945C75: message-id=<dovecot-1683278719-52259-0@mail.klr.com>
May  5 16:25:19 mail postfix/qmgr[781741]: 10C1945C75: from=<>, size=2239, nrcpt=1 (queue active)
May  5 16:28:35 mail postfix/postsuper[1072763]: 10C1945C75: removed
May  5 16:29:20 mail postfix/pipe[1070558]: 10C1945C75: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=242, delays=0.01/62/0/180, dsn=4.3.0, status=deferred (temporary failure)

Because i have no idea, i just do this:
1. cd /var/vmail/vmail1/ah.co.id/m/g/r/mgr_ps-2022.07.18.09.59.58/Maildir/
2. rm dovecot.*
3. postfix flush
4. and then the user can receive the email.

But i think this is a wrong procedure, because the error will come again and again.

FYI:
This is a new migrate mail server from Centos 6 and iRedMail 0.8.1. And this is my first project in mail server, so totally have no idea and i think i messed many configurations.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can not receive incoming email

needs the full postfix log for that, my guess is that amavis is not running/crashed, or iredapd

3 (edited by mulia.pernandos 2023-05-08 11:13:33)

Re: Can not receive incoming email

Cthulhu wrote:

needs the full postfix log for that, my guess is that amavis is not running/crashed, or iredapd

This is my mail.log

May  5 16:28:19 mail postfix/pipe[1070520]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=184, delays=0.49/2.9/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:28:19 mail postfix/pipe[1070454]: ED9AD45C70: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=180, delays=0.01/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:28:40 mail postfix/qmgr[781741]: 8D5244157E: from=<mgr_ps@ah.co.id>, size=4367, nrcpt=248 (queue active)
May  5 16:28:50 mail postfix/pipe[1048146]: 3EFB045C2D: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=212, delays=0.03/0.01/0/212, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:29:20 mail postfix/pipe[1070558]: 10C1945C75: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=242, delays=0.01/62/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:29:20 mail postfix/pipe[1070602]: 055D845C73: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=242, delays=0.01/62/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:29:51 mail postfix/pipe[1070470]: 134C745C78: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=273, delays=0.01/92/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:31:19 mail postfix/pipe[1061116]: 1C42441871: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=180, delays=0.01/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:31:40 mail postfix/pipe[1070504]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=385, delays=205/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:32:10 mail postfix/pipe[1070517]: EB2CB45C8E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=185, delays=0.26/4.1/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:33:34 mail postfix/smtpd[1075397]: 9FCBF45C1B: client=unknown[172.25.8.41], sasl_method=PLAIN, sasl_username=mgr_ps@ah.co.id
May  5 16:33:34 mail postfix/qmgr[781741]: 9FCBF45C1B: from=<mgr_ps@ah.co.id>, size=1060, nrcpt=1 (queue active)
May  5 16:34:34 mail postfix/qmgr[781741]: 8D5244157E: from=<mgr_ps@ah.co.id>, size=4367, nrcpt=248 (queue active)
May  5 16:35:17 mail postfix/pipe[1070484]: B8C7C45B9C: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=187, delays=1.7/4.6/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:37:34 mail postfix/pipe[1073205]: EB2CB45C8E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=509, delays=329/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:37:34 mail postfix/pipe[1073148]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=739, delays=559/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:41:01 mail postfix/pipe[1060925]: 73D7145C68: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=180, delays=0.21/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:42:47 mail postfix/pipe[1081530]: 9EBA045B82: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=185, delays=2.2/2.6/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:48:01 mail postfix/pipe[1081586]: B8C7C45B9C: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=950, delays=770/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:48:06 mail postfix/pipe[1084867]: 7D14041871: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=184, delays=0.34/2.9/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:50:01 mail postfix/qmgr[781741]: 8D5244157E: from=<mgr_ps@ah.co.id>, size=4367, nrcpt=248 (queue active)
May  5 16:50:05 mail postfix/pipe[1087036]: AF9E045CCD: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=194, delays=1.9/11/0/181, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:52:43 mail postfix/pipe[1081484]: 9047245C6E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=190, delays=3.5/3.8/0/182, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:53:01 mail postfix/pipe[1089921]: 73D7145C68: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=900, delays=720/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:53:01 mail postfix/pipe[1081510]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1666, delays=1486/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:53:01 mail postfix/pipe[1087042]: EB2CB45C8E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1435, delays=1255/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:53:01 mail postfix/pipe[1073280]: 9EBA045B82: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=799, delays=619/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:55:20 mail postfix/pipe[1081566]: 2F44045C99: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=180, delays=0.04/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:56:40 mail postfix/qmgr[781741]: 8D5244157E: from=<mgr_ps@ah.co.id>, size=4367, nrcpt=248 (queue active)
May  5 16:58:01 mail postfix/pipe[1081490]: 7D14041871: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=779, delays=599/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:40 mail postfix/pipe[1081460]: 2F44045C99: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=441, delays=261/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:40 mail postfix/pipe[1081478]: 73D7145C68: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=1300, delays=1119/0.03/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:40 mail postfix/pipe[1089933]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=2065, delays=1885/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:40 mail postfix/pipe[1084863]: B8C7C45B9C: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1650, delays=1470/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:41 mail postfix/pipe[1084858]: EB2CB45C8E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1835, delays=1655/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:41 mail postfix/pipe[1089921]: 9EBA045B82: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1198, delays=1018/0.02/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:41 mail postfix/pipe[1085045]: 9047245C6E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=608, delays=427/0.01/0/180, dsn=4.3.0, status=deferred (temporary failure)
May  5 16:59:41 mail postfix/pipe[1081504]: AF9E045CCD: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=770, delays=589/0.03/0/181, dsn=4.3.0, status=deferred (temporary failure)
May  5 17:02:47 mail postfix/qmgr[781741]: 8D5244157E: from=<mgr_ps@ah.co.id>, size=4367, nrcpt=248 (queue active)
May  5 17:02:47 mail postfix/pipe[1084891]: 2F44045C99: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=627, delays=627/0.02/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1089937]: 73D7145C68: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=1486, delays=1486/0.02/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1081486]: 7D14041871: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1065, delays=1065/0.03/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1070515]: 8D5244157E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=2252, delays=2252/0.02/0/0.08, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1089939]: AF9E045CCD: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=956, delays=956/0.02/0/0.11, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1073263]: EB2CB45C8E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=2022, delays=2021/0.02/0/0.14, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1081444]: B8C7C45B9C: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1837, delays=1837/0.04/0/0.15, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1081436]: 9EBA045B82: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=1385, delays=1385/0.02/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:02:47 mail postfix/pipe[1073171]: 9047245C6E: to=<mgr_ps@ah.co.id>, orig_to=<allmanagerstore@ah.id>, relay=dovecot, delay=794, delays=794/0.01/0/0.17, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:04:25 mail postfix/pipe[1089931]: E543A45B82: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=0.18, delays=0.1/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)
May  5 17:10:24 mail postfix/pipe[1081607]: 9EB4145B82: to=<mgr_ps@ah.co.id>, relay=dovecot, delay=0.22, delays=0.14/0.01/0/0.07, dsn=2.0.0, status=sent (delivered via dovecot service)


Somehow i have no other log, they stopped logging on April. I forgot what i did that affect the logs.

Post's attachments

logdate.png
logdate.png 207.1 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

4

Re: Can not receive incoming email

How much RAM?

5 (edited by mulia.pernandos 2023-05-08 14:25:38)

Re: Can not receive incoming email

Cthulhu wrote:

How much RAM?

40 GB RAM.
24 CPUs.
/var/vmail/vmail1 mounted on QNAP TS-2483XU-RP
And I have 9350 users.
Sometimes in my monitoring system, i got error:
mailserver-ubuntu
PROBLEM
Mount Status
CRITICAL
CRITICAL: /var/vmail/vmail1 did not respond in 3 sec. Seems to be stale. :

6

Re: Can not receive incoming email

How did you migrate old server? Did you follow our upgrade tutorials to apply sql/ldap database structure changes?

FYI https://docs.iredmail.org/

7

Re: Can not receive incoming email

ZhangHuangbin wrote:

How did you migrate old server? Did you follow our upgrade tutorials to apply sql/ldap database structure changes?

FYI

Yes, I follow the tutorial. When export the database, i just export the matching column because of different database structure.

8 (edited by petero 2023-05-11 18:00:48)

Re: Can not receive incoming email

Hi,
Recently my mail server stopped receiving external  mail  but it works perfectly internally. The domain resolves and the MX records are correct. It sends without a problem. Can you advise, thank you.
iRedMail     1.6.1
iRedAdmin     2.3 (MySQL)

9

Re: Can not receive incoming email

petero wrote:

Hi,
Recently my mail server stopped receiving external  mail  but it works perfectly internally. The domain resolves and the MX records are correct. It sends without a problem. Can you advise, thank you.
iRedMail     1.6.1
iRedAdmin     2.3 (MySQL)

Open an own thread