• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Problem to recive mail from external

userx87

New Pleskian
Hello
I' have a problem to recive the mail from external. The send are ok

IMAP/POP 3 SERVER: Dovecot
SMTP postfix

the port 110 and 143 is open

in the log file are present this message:

Mar 31 12:01:39 quizzical-dewdney dovecot: imap-login: Login: user=<info@****>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=38750, TLS, session=<FDyh4NO+0$
Mar 31 12:01:39 quizzical-dewdney dovecot: service=imap, user=info@****, ip=[127.0.0.1]. Logged out rcvd=117, sent=1018
 
Are you having trouble with actually receiving email in your mailbox, or with connecting to your mailbox with POP3 or IMAP?

Mar 31 12:01:39 quizzical-dewdney dovecot: imap-login: Login: user=<info@****>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=38750, TLS, session=<FDyh4NO+0$
Mar 31 12:01:39 quizzical-dewdney dovecot: service=imap, user=info@****, ip=[127.0.0.1]. Logged out rcvd=117, sent=1018
Because this log entry only states that user info@**** has logged in using IMAP and logged out again imidietely after. It has no information on receiving an email message. Are there no other log entries?
 
watch this log when trying to receive mail
root@quizzical-dewdney:~# sudo tail -f /var/log/maillog
Mar 31 15:52:53 quizzical-dewdney dovecot: imap-login: Login: user=<info@*>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=43912, TLS, session=<bxKYG9e+xJ9/AAAB>
Mar 31 15:52:53 quizzical-dewdney dovecot: service=imap, user=[email protected], ip=[127.0.0.1]. Logged out rcvd=90, sent=969
Mar 31 15:53:53 quizzical-dewdney dovecot: imap-login: Login: user=<info@*>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=43921, TLS, session=<3fkrH9e+yp9/AAAB>
 
That's not showing incoming mail. That keeps showing the dovecot client .

your maillog should be tracking and showing any incoming and outgoing connections via postfix or any other SMTP app you setup.

An incoming message log should look similar to this

Mar 31 17:04:38 myhost postfix/smtpd[17509]: connect from mail-dm3nam07olkn2062.outbound.protection.outlook.com[0.0.0.0]
Mar 31 17:04:38 myhost postfix/smtpd[17509]: 822A4C000F8E: client=mail-dm3nam07olkn2062.outbound.protection.outlook.com[0.0.0.0]
Mar 31 17:04:38 myhost postfix/cleanup[17894]: 822A4C000F8E: message-id=<[email protected]20.prod.outlook.com>
Mar 31 17:04:38 myhost psa-pc-remote[929]: SKIP during call 'limit-out' handler
Mar 31 17:04:38 myhost spf[17902]: Starting the spf filter...
Mar 31 17:04:38 myhost spf[17902]: SPF result: pass
Mar 31 17:04:38 myhost spf[17902]: SPF status: PASS
Mar 31 17:04:38 myhost psa-pc-remote[929]: PASS during call 'spf' handler
Mar 31 17:04:38 myhost check-quota[17903]: Starting the check-quota filter...
Mar 31 17:04:38 myhost psa-pc-remote[929]: SKIP during call 'check-quota' handler
Mar 31 17:04:39 myhost postfix/qmgr[1573]: 822A4C000F8E: from=<[email protected]>, size=7182, nrcpt=1 (queue active)
Mar 31 17:04:39 myhost postfix/smtpd[17509]: disconnect from mail-dm3nam07olkn2062.outbound.protection.outlook.com[0.0.0.0] ehlo=2 starttls=1 mail=1 rcpt=1 bdat=1 quit=1 commands=7
Mar 31 17:04:45 myhost postfix/smtpd[17914]: connect from localhost.localdomain[127.0.0.1]
Mar 31 17:04:45 myhost postfix/smtpd[17914]: 299CCC000F8F: client=localhost.localdomain[127.0.0.1], orig_queue_id=822A4C000F8E, orig_client=mail-dm3nam07olkn2062.outbound.protection.outlook.com[0.0.0.0]
Mar 31 17:04:45 myhost postfix/cleanup[17894]: 299CCC000F8F: message-id=<[email protected]20.prod.outlook.com>
 
now we have recived the error:


Dettagli errore
Errore segnalato:550 5.0.350 Remote server returned an error -> 553 sorry, that domain isn't in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1)
Errore permanente:3/31/2021 7:55:34 PM - Server at sanitysan.it (217.160.174.166) returned '450 4.4.316 Connection refused [Message=Socket error code 10061] [LastAttemptedServerName=sanitysan.it] [LastAttemptedIP=217.160.174.166:25] [DB8EUR05FT010.eop-eur05.prod.protection.outlook.com](Socket error code 10061)'
DSN generato da:VI1PR04MB7037.eurprd04.prod.outlook.com
Server remoto:quizzical-dewdney.217-160-174-166.plesk.page
Server di destinazione:sanitysan.it (217.160.174.166)
 
now we have recived the error:


Dettagli errore
Errore segnalato:550 5.0.350 Remote server returned an error -> 553 sorry, that domain isn't in my list of allowed rcpthosts; no valid cert for gatewaying (#5.7.1)
Errore permanente:3/31/2021 7:55:34 PM - Server at sanitysan.it (217.160.174.166) returned '450 4.4.316 Connection refused [Message=Socket error code 10061] [LastAttemptedServerName=sanitysan.it] [LastAttemptedIP=217.160.174.166:25] [DB8EUR05FT010.eop-eur05.prod.protection.outlook.com](Socket error code 10061)'
DSN generato da:VI1PR04MB7037.eurprd04.prod.outlook.com
Server remoto:quizzical-dewdney.217-160-174-166.plesk.page
Server di destinazione:sanitysan.it (217.160.174.166)
I have send email to my office 365 and recive this error.
 
Back
Top