inet_listener lmtp {
# Listen on localhost (ipv4)
#address = 127.0.0.1
address = 0.0.0.0
port = 24
}
set on both /etc/dovecot/dovecot.conf
have restart the dovecot service by systemctl restart dovecot
but still mail 1 could not send to mail 2
Log from Mail 1 (mail 1 to mail 2)
Dec 6 15:30:09 ct-mailsites2 postfix/amavis/smtp[1311]: 12A0140BD4: to=<mario.lee@aaa.com>, relay=127.0.0.1[127.0.0.1]:10026, delay=1.2, delays=0.17/0.04/0/0.98, 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 1973B40C71)
Dec 6 15:30:09 ct-mailsites2 postfix/qmgr[807]: 12A0140BD4: removed
Dec 6 15:30:09 ct-mailsites2 postfix/smtp[1322]: Untrusted TLS connection established to 10.8.0.159[10.8.0.159]:25: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
Dec 6 15:30:09 ct-mailsites2 postfix/smtp[1322]: 1973B40C71: to=<mario.lee@aaa.com>, relay=10.8.0.159[10.8.0.159]:25, delay=0.52, delays=0.06/0.06/0.23/0.18, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 8C3C741738)
Dec 6 15:30:09 ct-mailsites2 postfix/qmgr[807]: 1973B40C71: removed
Log from mail 2 (the recipient server)
Dec 6 15:31:57 ct-mailsitesTX postfix/qmgr[861]: 746B541799: from=<napoleon.lam@aaa.com>, size=2687, nrcpt=1 (queue active)
Dec 6 15:31:57 ct-mailsitesTX postfix/qmgr[861]: 981EA41797: from=<napoleon.lam@aaa.com>, size=2687, nrcpt=1 (queue active)
Dec 6 15:31:57 ct-mailsitesTX postfix/qmgr[861]: 0929B41796: from=<napoleon.lam@aaa.com>, size=2693, nrcpt=1 (queue active)
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1392]: connect to 10.8.0.154[10.8.0.154]:24: No route to host
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1391]: connect to 10.8.0.154[10.8.0.154]:24: No route to host
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1390]: connect to 10.8.0.154[10.8.0.154]:24: No route to host
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1391]: 981EA41797: to=<mario.lee@aaa.com>, relay=none, delay=977, delays=976/0.01/1/0, dsn=4.4.1, status=deferred (connect to 10.8.0.154[10.8.0.154]:24: No route to host)
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1392]: 0929B41796: to=<mario.lee@aaa.com>, relay=none, delay=1004, delays=1003/0.02/1/0, dsn=4.4.1, status=deferred (connect to 10.8.0.154[10.8.0.154]:24: No route to host)
Dec 6 15:31:58 ct-mailsitesTX postfix/lmtp[1390]: 746B541799: to=<mario.lee@aaa.com>, relay=none, delay=532, delays=531/0.02/1/0, dsn=4.4.1, status=deferred (connect to 10.8.0.154[10.8.0.154]:24: No route to host)
Dec 6 15:33:29 ct-mailsitesTX postfix/anvil[1302]: statistics: max connection rate 1/60s for (smtpd:10.8.0.154) at Dec 6 15:30:09
Dec 6 15:33:29 ct-mailsitesTX postfix/anvil[1302]: statistics: max connection count 1 for (smtpd:10.8.0.154) at Dec 6 15:30:09
Dec 6 15:33:29 ct-mailsitesTX postfix/anvil[1302]: statistics: max cache size 1 at Dec 6 15:30:09