1

Topic: Not Receiving new emails After MySQL Restart

==== Required information ====
- iRedMail version (check /etc/iredmail-release):  0.9.6
- Linux/BSD distribution name and version:  Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

I stop receiving new email after I restarted mysql

$ sudo service mysql restart

----

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

2

Re: Not Receiving new emails After MySQL Restart

Please make sure MySQL is actually running after this command.

3 (edited by dkuyebox 2017-02-14 11:09:48)

Re: Not Receiving new emails After MySQL Restart

ZhangHuangbin wrote:

Please make sure MySQL is actually running after this command.

MySQL is running, See all services running:

ubuntu@mx:~$ service --status-all
[ + ]  acpid
[ + ]  amavis
[ + ]  amavis-mc
[ + ]  amavisd-snmp-subagent
[ + ]  apparmor
[ + ]  apport
[ + ]  atd
[ - ]  bootmisc.sh
[ - ]  checkfs.sh
[ - ]  checkroot-bootclean.sh
[ - ]  checkroot.sh
[ + ]  clamav-daemon
[ + ]  clamav-freshclam
[ + ]  console-setup
[ + ]  cron
[ - ]  cryptdisks
[ - ]  cryptdisks-early
[ + ]  dbus
[ + ]  dovecot
[ + ]  fail2ban
[ + ]  gdomap
[ + ]  grub-common
[ - ]  hostname.sh
[ - ]  hwclock.sh
[ + ]  irqbalance
[ + ]  iscsid
[ + ]  keyboard-setup
[ - ]  killprocs
[ + ]  kmod
[ - ]  lvm2
[ + ]  lvm2-lvmetad
[ + ]  lvm2-lvmpolld
[ + ]  lxcfs
[ - ]  lxd
[ + ]  mdadm
[ - ]  mdadm-waitidle
[ + ]  memcached
[ - ]  mountall-bootclean.sh
[ - ]  mountall.sh
[ - ]  mountdevsubfs.sh
[ - ]  mountkernfs.sh
[ - ]  mountnfs-bootclean.sh
[ - ]  mountnfs.sh
[ + ]  mysql
[ + ]  networking
[ + ]  nginx
[ + ]  ondemand
[ + ]  open-iscsi
[ - ]  open-vm-tools
[ + ]  php7.0-fpm
[ - ]  plymouth
[ - ]  plymouth-log
[ + ]  postfix
[ + ]  procps
[ + ]  rc.local
[ + ]  resolvconf
[ - ]  rsync
[ + ]  rsyslog
[ - ]  screen-cleanup
[ - ]  sendsigs
[ + ]  sogo
[ - ]  spamassassin
[ + ]  ssh
[ + ]  udev
[ - ]  ufw
[ - ]  umountfs
[ - ]  umountnfs.sh
[ - ]  umountroot
[ - ]  unattended-upgrades
[ + ]  urandom
[ - ]  uuidd
[ + ]  uwsgi

See Postfix log file

Feb 14 02:33:42 mx postfix/qmgr[1805]: 5778EA17E1: from=<admin@mydomain.com>, size=2064, nrcpt=1 (queue active)
   13  Feb 14 02:33:42 mx postfix/10025/smtpd[11184]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
   14: Feb 14 02:33:42 mx amavis[1951]: (01951-04) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:35332 <admin@mydomain.com> -> <myemail@gmail.com>, Queue-ID: A3EF7A1DA7, Message-ID: <2b6e-58a26c80-1-19520440@201039384>, mail_id: vPKbpk0RsE2R, Hits: -0.999, size: 1030, queued_as: 5778EA17E1, dkim_new=dkim:mydomain.com, 642 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001]
   15: Feb 14 02:33:42 mx postfix/smtp-amavis/smtp[11180]: A3EF7A1DA7: to=<myemail@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.77, delays=0.1/0.01/0/0.65, 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 5778EA17E1)
   16  Feb 14 02:33:42 mx postfix/qmgr[1805]: A3EF7A1DA7: removed
   17  Feb 14 02:33:42 mx postfix/smtp[11185]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable
   18  Feb 14 02:33:42 mx postfix/smtp[11185]: Untrusted TLS connection established to gmail-smtp-in.l.google.com[74.125.28.26]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
   19: Feb 14 02:33:44 mx postfix/smtp[11185]: 5778EA17E1: to=<myemail@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.28.26]:25, delay=2.1, delays=0.01/0.02/0.3/1.8, dsn=2.0.0, status=sent (250 2.0.0 OK 1487039624 q25si11680379pgd.195 - gsmtp)
   20  Feb 14 02:33:44 mx postfix/qmgr[1805]: 5778EA17E1: removed
ubuntu@mx:~$

4

Re: Not Receiving new emails After MySQL Restart

Did you get a bounce email if you sent email from Gmail to your mailbox?

5

Re: Not Receiving new emails After MySQL Restart

ZhangHuangbin wrote:

Did you get a bounce email if you sent email from Gmail to your mailbox?

No.

6

Re: Not Receiving new emails After MySQL Restart

dkuyebox wrote:
ZhangHuangbin wrote:

Did you get a bounce email if you sent email from Gmail to your mailbox?

No.


Postfix LOG

Feb 13 19:32:43 mx postfix/qmgr[1805]: B82C9A1DB8: removed
Feb 14 02:33:41 mx postfix/postscreen[11164]: CONNECT from [127.0.0.1]:35332 to [127.0.0.1]:25
Feb 14 02:33:41 mx postfix/postscreen[11164]: WHITELISTED [127.0.0.1]:35332
Feb 14 02:33:41 mx postfix/smtpd[11165]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 02:33:41 mx postfix/smtpd[11165]: A3EF7A1DA7: client=mx.mydomain.com[127.0.0.1]
Feb 14 02:33:41 mx postfix/cleanup[11175]: A3EF7A1DA7: message-id=<2b6e-58a26c80-1-19520440@201039384>
Feb 14 02:33:41 mx postfix/qmgr[1805]: A3EF7A1DA7: from=<admin@mydomain.com>, size=1030, nrcpt=1 (queue active)
Feb 14 02:33:41 mx postfix/smtpd[11165]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 02:33:41 mx amavis[1951]: (01951-04) NOTICE: reconnecting in response to: err=2013, HY000, DBD::mysql::st execute failed: Lost connection to MySQL server during query at (eval 99) line 172.
Feb 14 02:33:42 mx postfix/10025/smtpd[11184]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 02:33:42 mx postfix/10025/smtpd[11184]: 5778EA17E1: client=mx.mydomain.com[127.0.0.1]
Feb 14 02:33:42 mx postfix/cleanup[11175]: 5778EA17E1: message-id=<2b6e-58a26c80-1-19520440@201039384>
Feb 14 02:33:42 mx postfix/qmgr[1805]: 5778EA17E1: from=<admin@mydomain.com>, size=2064, nrcpt=1 (queue active)
Feb 14 02:33:42 mx postfix/10025/smtpd[11184]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 02:33:42 mx amavis[1951]: (01951-04) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:35332 <admin@mydomain.com> -> <myemail@gmail.com>, Queue-ID: A3EF7A1DA7, Message-ID: <2b6e-58a26c80-1-19520440@201039384>, mail_id: vPKbpk0RsE2R, Hits: -0.999, size: 1030, queued_as: 5778EA17E1, dkim_new=dkim:mydomain.com, 642 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001]
Feb 14 02:33:42 mx postfix/smtp-amavis/smtp[11180]: A3EF7A1DA7: to=<myemail@gmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.77, delays=0.1/0.01/0/0.65, 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 5778EA17E1)
Feb 14 02:33:42 mx postfix/qmgr[1805]: A3EF7A1DA7: removed
Feb 14 02:33:42 mx postfix/smtp[11185]: connect to gmail-smtp-in.l.google.com[2607:f8b0:400e:c04::1a]:25: Network is unreachable
Feb 14 02:33:42 mx postfix/smtp[11185]: Untrusted TLS connection established to gmail-smtp-in.l.google.com[74.125.28.26]:25: TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)
Feb 14 02:33:44 mx postfix/smtp[11185]: 5778EA17E1: to=<myemail@gmail.com>, relay=gmail-smtp-in.l.google.com[74.125.28.26]:25, delay=2.1, delays=0.01/0.02/0.3/1.8, dsn=2.0.0, status=sent (250 2.0.0 OK 1487039624 q25si11680379pgd.195 - gsmtp)
Feb 14 02:33:44 mx postfix/qmgr[1805]: 5778EA17E1: removed
Feb 14 03:30:03 mx postfix/pickup[10115]: ABE11A1DC4: uid=0 from=<root>
Feb 14 03:30:03 mx postfix/cleanup[11971]: ABE11A1DC4: message-id=<20170214033003.ABE11A1DC4@mx.mydomain.com>
Feb 14 03:30:03 mx postfix/qmgr[1805]: ABE11A1DC4: from=<root@mx.mydomain.com>, size=1540, nrcpt=1 (queue active)
Feb 14 03:30:04 mx postfix/10025/smtpd[11981]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 03:30:04 mx postfix/10025/smtpd[11981]: 1FFD4A1DC3: client=mx.mydomain.com[127.0.0.1]
Feb 14 03:30:04 mx postfix/cleanup[11971]: 1FFD4A1DC3: message-id=<20170214033003.ABE11A1DC4@mx.mydomain.com>
Feb 14 03:30:04 mx postfix/qmgr[1805]: 1FFD4A1DC3: from=<root@mx.mydomain.com>, size=1993, nrcpt=1 (queue active)
Feb 14 03:30:04 mx postfix/10025/smtpd[11981]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 03:30:04 mx amavis[1950]: (01950-04) Passed CLEAN {RelayedInbound}, [127.0.0.1] <root@mx.mydomain.com> -> <root@mx.mydomain.com>, Message-ID: <20170214033003.ABE11A1DC4@mx.mydomain.com>, mail_id: 4yR7Jl0kH9yp, Hits: 0.001, size: 1540, queued_as: 1FFD4A1DC3, 424 ms, Tests: [NO_RELAYS=-0.001,TVD_SPACE_RATIO=0.001,URIBL_BLOCKED=0.001]
Feb 14 03:30:04 mx postfix/smtp-amavis/smtp[11978]: ABE11A1DC4: to=<root@mx.mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.49, delays=0.04/0.01/0/0.43, 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 1FFD4A1DC3)
Feb 14 03:30:04 mx postfix/qmgr[1805]: ABE11A1DC4: removed
Feb 14 03:30:04 mx postfix/cleanup[11971]: 29725A1DC4: message-id=<20170214033003.ABE11A1DC4@mx.mydomain.com>
Feb 14 03:30:04 mx postfix/qmgr[1805]: 29725A1DC4: from=<root@mx.mydomain.com>, size=2122, nrcpt=1 (queue active)
Feb 14 03:30:04 mx postfix/local[11984]: 1FFD4A1DC3: to=<root@mx.mydomain.com>, relay=local, delay=0.06, delays=0.02/0.01/0/0.03, dsn=2.0.0, status=sent (forwarded as 29725A1DC4)
Feb 14 03:30:04 mx postfix/qmgr[1805]: 1FFD4A1DC3: removed
Feb 14 03:30:04 mx postfix/pipe[11986]: 29725A1DC4: to=<postmaster@mydomain.com>, relay=dovecot, delay=0.07, delays=0.01/0.01/0/0.04, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb 14 03:30:04 mx postfix/qmgr[1805]: 29725A1DC4: removed
Feb 14 03:34:49 mx postfix/postscreen[12220]: CONNECT from [127.0.0.1]:36204 to [127.0.0.1]:25
Feb 14 03:34:49 mx postfix/postscreen[12220]: WHITELISTED [127.0.0.1]:36204
Feb 14 03:34:49 mx postfix/smtpd[12221]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 03:34:50 mx postfix/smtpd[12221]: 14740A1DC4: client=mx.mydomain.com[127.0.0.1]
Feb 14 03:34:50 mx postfix/cleanup[12229]: 14740A1DC4: message-id=<2fa7-58a27b00-1-6f2f1780@46685121>
Feb 14 03:34:50 mx postfix/qmgr[1805]: 14740A1DC4: from=<postmaster@mydomain.com>, size=989, nrcpt=1 (queue active)
Feb 14 03:34:50 mx postfix/smtpd[12221]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 03:34:51 mx postfix/10025/smtpd[12238]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 03:34:51 mx postfix/10025/smtpd[12238]: 664E9A1DC6: client=mx.mydomain.com[127.0.0.1]
Feb 14 03:34:51 mx postfix/cleanup[12229]: 664E9A1DC6: message-id=<2fa7-58a27b00-1-6f2f1780@46685121>
Feb 14 03:34:51 mx postfix/qmgr[1805]: 664E9A1DC6: from=<postmaster@mydomain.com>, size=2021, nrcpt=1 (queue active)
Feb 14 03:34:51 mx amavis[1951]: (01951-05) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:36204 <postmaster@mydomain.com> -> <admin@mydomain.com>, Queue-ID: 14740A1DC4, Message-ID: <2fa7-58a27b00-1-6f2f1780@46685121>, mail_id: bK8_hMchvC_B, Hits: -0.999, size: 989, queued_as: 664E9A1DC6, dkim_new=dkim:mydomain.com, 1295 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001]
Feb 14 03:34:51 mx postfix/10025/smtpd[12238]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 03:34:51 mx postfix/smtp-amavis/smtp[12234]: 14740A1DC4: to=<admin@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=1.4, delays=0.09/0.01/0/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 664E9A1DC6)
Feb 14 03:34:51 mx postfix/qmgr[1805]: 14740A1DC4: removed
Feb 14 03:34:51 mx postfix/pipe[12239]: 664E9A1DC6: to=<admin@mydomain.com>, relay=dovecot, delay=0.08, delays=0.01/0.01/0/0.06, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb 14 03:34:51 mx postfix/qmgr[1805]: 664E9A1DC6: removed
Feb 14 03:52:52 mx postfix/postscreen[12471]: CONNECT from [127.0.0.1]:36536 to [127.0.0.1]:25
Feb 14 03:52:52 mx postfix/postscreen[12471]: WHITELISTED [127.0.0.1]:36536
Feb 14 03:52:52 mx postfix/smtpd[12472]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 03:52:52 mx postfix/smtpd[12472]: 954F2A1DC6: client=mx.mydomain.com[127.0.0.1]
Feb 14 03:52:52 mx postfix/cleanup[12478]: 954F2A1DC6: message-id=<2fa6-58a27f00-1-41310b00@157725123>
Feb 14 03:52:52 mx postfix/qmgr[1805]: 954F2A1DC6: from=<postmaster@mydomain.com>, size=1030, nrcpt=1 (queue active)
Feb 14 03:52:52 mx postfix/smtpd[12472]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 03:52:53 mx postfix/10025/smtpd[12486]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 03:52:53 mx postfix/10025/smtpd[12486]: 8299FA1DC8: client=mx.mydomain.com[127.0.0.1]
Feb 14 03:52:53 mx postfix/cleanup[12478]: 8299FA1DC8: message-id=<2fa6-58a27f00-1-41310b00@157725123>
Feb 14 03:52:53 mx postfix/qmgr[1805]: 8299FA1DC8: from=<postmaster@mydomain.com>, size=2062, nrcpt=1 (queue active)
Feb 14 03:52:53 mx postfix/10025/smtpd[12486]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 03:52:53 mx amavis[1950]: (01950-05) Passed CLEAN {RelayedInternal}, MYNETS LOCAL [127.0.0.1]:36536 <postmaster@mydomain.com> -> <admin@mydomain.com>, Queue-ID: 954F2A1DC6, Message-ID: <2fa6-58a27f00-1-41310b00@157725123>, mail_id: L9Ib8yEuGIug, Hits: -0.999, size: 1030, queued_as: 8299FA1DC8, dkim_new=dkim:mydomain.com, 883 ms, Tests: [ALL_TRUSTED=-1,HTML_MESSAGE=0.001]
Feb 14 03:52:53 mx postfix/smtp-amavis/smtp[12482]: 954F2A1DC6: to=<admin@mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.99, delays=0.09/0.01/0/0.89, 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 8299FA1DC8)
Feb 14 03:52:53 mx postfix/qmgr[1805]: 954F2A1DC6: removed
Feb 14 03:52:53 mx postfix/pipe[12487]: 8299FA1DC8: to=<admin@mydomain.com>, relay=dovecot, delay=0.04, delays=0.01/0.01/0/0.02, dsn=2.0.0, status=sent (delivered via dovecot service)
Feb 14 03:52:53 mx postfix/qmgr[1805]: 8299FA1DC8: removed
Feb 14 04:08:05 mx postfix/master[1803]: terminating on signal 15
Feb 14 04:08:06 mx postfix/master[12866]: daemon started -- version 3.1.0, configuration /etc/postfix
Feb 14 04:12:45 mx postfix/submission/smtpd[13001]: connect from unknown[129.56.254.166]
Feb 14 04:12:45 mx postfix/submission/smtpd[13001]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:12:45 mx postfix/submission/smtpd[13001]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:13:03 mx postfix/submission/smtpd[13001]: connect from unknown[129.56.254.166]
Feb 14 04:13:04 mx postfix/submission/smtpd[13001]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:13:04 mx postfix/submission/smtpd[13001]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:16:01 mx postfix/submission/smtpd[13026]: connect from unknown[129.56.254.166]
Feb 14 04:16:02 mx postfix/submission/smtpd[13026]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:16:02 mx postfix/submission/smtpd[13026]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:16:22 mx postfix/submission/smtpd[13026]: connect from unknown[129.56.254.166]
Feb 14 04:16:22 mx postfix/submission/smtpd[13032]: connect from unknown[129.56.254.166]
Feb 14 04:16:23 mx postfix/submission/smtpd[13026]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:16:23 mx postfix/submission/smtpd[13026]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:16:23 mx postfix/submission/smtpd[13032]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:16:23 mx postfix/submission/smtpd[13032]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:17:12 mx postfix/submission/smtpd[13026]: connect from unknown[129.56.254.166]
Feb 14 04:17:12 mx postfix/submission/smtpd[13026]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:17:12 mx postfix/submission/smtpd[13026]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:17:56 mx postfix/submission/smtpd[13026]: connect from unknown[129.56.254.166]
Feb 14 04:17:56 mx postfix/submission/smtpd[13032]: connect from unknown[129.56.254.166]
Feb 14 04:17:57 mx postfix/submission/smtpd[13026]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:17:57 mx postfix/submission/smtpd[13032]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:17:57 mx postfix/submission/smtpd[13032]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:21:17 mx postfix/anvil[13004]: statistics: max connection rate 3/60s for (submission:129.56.254.166) at Feb 14 04:16:22
Feb 14 04:21:17 mx postfix/anvil[13004]: statistics: max connection count 2 for (submission:129.56.254.166) at Feb 14 04:16:22
Feb 14 04:21:17 mx postfix/anvil[13004]: statistics: max cache size 1 at Feb 14 04:12:45
Feb 14 04:27:06 mx postfix/submission/smtpd[13115]: connect from unknown[129.56.254.166]
Feb 14 04:27:06 mx postfix/submission/smtpd[13117]: connect from unknown[129.56.254.166]
Feb 14 04:27:06 mx postfix/submission/smtpd[13115]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:27:06 mx postfix/submission/smtpd[13115]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:27:06 mx postfix/submission/smtpd[13117]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:27:06 mx postfix/submission/smtpd[13117]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:27:25 mx postfix/submission/smtpd[13115]: connect from unknown[129.56.254.166]
Feb 14 04:27:26 mx postfix/submission/smtpd[13115]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:27:26 mx postfix/submission/smtpd[13115]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:30:46 mx postfix/anvil[13118]: statistics: max connection rate 3/60s for (submission:129.56.254.166) at Feb 14 04:27:25
Feb 14 04:30:46 mx postfix/anvil[13118]: statistics: max connection count 2 for (submission:129.56.254.166) at Feb 14 04:27:06
Feb 14 04:30:46 mx postfix/anvil[13118]: statistics: max cache size 1 at Feb 14 04:27:06
Feb 14 04:35:56 mx postfix/submission/smtpd[13193]: connect from unknown[129.56.254.166]
Feb 14 04:35:56 mx postfix/submission/smtpd[13193]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:35:56 mx postfix/submission/smtpd[13193]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:36:29 mx postfix/submission/smtpd[13193]: connect from unknown[129.56.254.166]
Feb 14 04:36:30 mx postfix/submission/smtpd[13193]: improper command pipelining after EHLO from unknown[129.56.254.166]: QUIT\r\n
Feb 14 04:36:30 mx postfix/submission/smtpd[13193]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:36:46 mx postfix/submission/smtpd[13193]: connect from unknown[129.56.254.166]
Feb 14 04:36:46 mx postfix/submission/smtpd[13193]: disconnect from unknown[129.56.254.166] ehlo=1 quit=1 commands=2
Feb 14 04:40:06 mx postfix/anvil[13195]: statistics: max connection rate 3/60s for (submission:129.56.254.166) at Feb 14 04:36:46
Feb 14 04:40:06 mx postfix/anvil[13195]: statistics: max connection count 1 for (submission:129.56.254.166) at Feb 14 04:35:56
Feb 14 04:40:06 mx postfix/anvil[13195]: statistics: max cache size 1 at Feb 14 04:35:56
Feb 14 05:39:42 mx postfix/submission/smtpd[14181]: warning: hostname 124.66.172.46.customer.RostNET.net does not resolve to address 46.172.66.124: Name or service not known
Feb 14 05:39:42 mx postfix/submission/smtpd[14181]: connect from unknown[46.172.66.124]
Feb 14 05:39:43 mx postfix/submission/smtpd[14181]: Anonymous TLS connection established from unknown[46.172.66.124]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Feb 14 05:39:44 mx postfix/submission/smtpd[14181]: disconnect from unknown[46.172.66.124] ehlo=2 starttls=1 quit=1 commands=4
Feb 14 05:43:04 mx postfix/anvil[14183]: statistics: max connection rate 1/60s for (submission:46.172.66.124) at Feb 14 05:39:42
Feb 14 05:43:04 mx postfix/anvil[14183]: statistics: max connection count 1 for (submission:46.172.66.124) at Feb 14 05:39:42
Feb 14 05:43:04 mx postfix/anvil[14183]: statistics: max cache size 1 at Feb 14 05:39:42
Feb 14 06:25:09 mx postfix/pickup[14266]: 66678A1DCB: uid=0 from=<root>
Feb 14 06:25:09 mx postfix/cleanup[14914]: 66678A1DCB: message-id=<20170214062509.66678A1DCB@mx.mydomain.com>
Feb 14 06:25:09 mx postfix/qmgr[12868]: 66678A1DCB: from=<root@mx.mydomain.com>, size=17953, nrcpt=1 (queue active)
Feb 14 06:25:12 mx postfix/10025/smtpd[15073]: connect from mx.mydomain.com[127.0.0.1]
Feb 14 06:25:12 mx postfix/10025/smtpd[15073]: 19D31A1DCE: client=mx.mydomain.com[127.0.0.1]
Feb 14 06:25:12 mx postfix/cleanup[14914]: 19D31A1DCE: message-id=<20170214062509.66678A1DCB@mx.mydomain.com>
Feb 14 06:25:12 mx postfix/qmgr[12868]: 19D31A1DCE: from=<root@mx.mydomain.com>, size=18406, nrcpt=1 (queue active)
Feb 14 06:25:12 mx postfix/10025/smtpd[15073]: disconnect from mx.mydomain.com[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
Feb 14 06:25:12 mx amavis[1951]: (01951-06) Passed CLEAN {RelayedInbound}, [127.0.0.1] <root@mx.mydomain.com> -> <root@mx.mydomain.com>, Message-ID: <20170214062509.66678A1DCB@mx.mydomain.com>, mail_id: lCskjZw7vVkn, Hits: 0, size: 17945, queued_as: 19D31A1DCE, 2655 ms, Tests: [NO_RELAYS=-0.001,URIBL_BLOCKED=0.001]
Feb 14 06:25:12 mx postfix/smtp-amavis/smtp[14929]: 66678A1DCB: to=<root@mx.mydomain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=8.2, delays=5.5/0.02/0/2.7, 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 19D31A1DCE)
Feb 14 06:25:12 mx postfix/qmgr[12868]: 66678A1DCB: removed
Feb 14 06:25:12 mx postfix/cleanup[14914]: 22F03A1DCB: message-id=<20170214062509.66678A1DCB@mx.mydomain.com>
Feb 14 06:25:12 mx postfix/qmgr[12868]: 22F03A1DCB: from=<root@mx.mydomain.com>, size=18535, nrcpt=1 (queue active)
Feb 14 06:25:12 mx postfix/local[15076]: 19D31A1DCE: to=<root@mx.mydomain.com>, relay=local, delay=0.04, delays=0.01/0.02/0/0.02, dsn=2.0.0, status=sent (forwarded as 22F03A1DCB)
Feb 14 06:25:12 mx postfix/qmgr[12868]: 19D31A1DCE: removed
Feb 14 06:25:12 mx postfix/pipe[15078]: 22F03A1DCB: to=<postmaster@mydomain.com>, relay=dovecot, delay=0.07, delays=0/0.02/0/0.05, dsn=2.0.0, status=sent (delivered via dovecot service)

7

Re: Not Receiving new emails After MySQL Restart

Solved.

I'm using AWS EC2 and simple simply change security group inbound rule to All traffic source anywhere.