• 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 postfix/smtp Connection timed out

marek999

New Pleskian
Hi all i use latest plesk obsidian version centos 7.0, i cant send mail. i try everything. help mee please, thank

Jan 15 02:49:58 vmi243124 spamd[2546]: spamd: using default config for [email protected]: /var/qmail/mailnames/xdiag.lt/marek/.spamassassin/user_prefs
Jan 15 02:49:58 vmi243124 spamd[2546]: spamd: processing message <CALvfTecTzC7ZeKfwhjegB28ofmsu=ryTJexJZgtOuV6Gz94xqw@mail.gmail.com> for [email protected]:30
Jan 15 02:49:58 vmi243124 spamd[2546]: spamd: clean message (-0.1/7.0) for [email protected]:30 in 0.9 seconds, 2945 bytes.
Jan 15 02:49:58 vmi243124 spamd[2546]: spamd: result: . 0 - DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,TVD_SPACE_RATIO scantime=0.9,size=2945,[email protected],uid=30,required_score=7.0,rhost=localhost.localdomain,raddr=127.0.0.1,rport=33682,mid=<CALvfTecTzC7ZeKfwhjegB28ofmsu=ryTJexJZgtOuV6Gz94xqw@mail.gmail.com>,autolearn=ham autolearn_force=no
Jan 15 02:49:58 vmi243124 dk_check[7384]: Starting the dk_check filter...
Jan 15 02:49:58 vmi243124 dk_check[7384]: DKIM verify result: Success
Jan 15 02:49:58 vmi243124 dmarc[7385]: Starting the dmarc filter...
Jan 15 02:49:58 vmi243124 dmarc[7385]: Store DKIM result for 'gmail.com' into DMARC library.
Jan 15 02:49:58 vmi243124 dmarc[7385]: DMARC: PASS message for [email protected]
Jan 15 02:49:58 vmi243124 spamd[1695]: prefork: child states: II
Jan 15 02:49:58 vmi243124 dovecot: service=lda, [email protected], ip=[]. msgid=<CALvfTecTzC7ZeKfwhjegB28ofmsu=ryTJexJZgtOuV6Gz94xqw@mail.gmail.com>: saved mail to INBOX
Jan 15 02:49:58 vmi243124 postfix/pipe[7380]: 693AE82111D: to=<[email protected]>, relay=plesk_virtual, delay=1.6, delays=0.54/0.01/0/1, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
Jan 15 02:49:58 vmi243124 postfix/qmgr[1863]: 693AE82111D: removed
Jan 15 02:50:04 vmi243124 postfix/smtpd[7368]: connect from unknown[218.93.21.58]
Jan 15 02:50:04 vmi243124 postfix/smtpd[7368]: lost connection after CONNECT from unknown[218.93.21.58]
Jan 15 02:50:04 vmi243124 postfix/smtpd[7368]: disconnect from unknown[218.93.21.58] commands=0/0
Jan 15 02:50:06 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7408, TLS, session=<fl+P7SOc6OZ/AAAB>
Jan 15 02:50:06 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=400, sent=2336
Jan 15 02:50:08 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7412, TLS, session=<1fKj7SOc7OZ/AAAB>
Jan 15 02:50:08 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=316, sent=1530
Jan 15 02:50:08 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7415, TLS, session=<Uwym7SOc8OZ/AAAB>
Jan 15 02:50:08 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=316, sent=1522
Jan 15 02:50:09 vmi243124 postfix/smtp[7274]: connect to alt1.gmail-smtp-in.l.google.com[209.85.233.26]:25: Connection timed out
Jan 15 02:50:09 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7419, TLS, session=<t4u07SOc9OZ/AAAB>
Jan 15 02:50:09 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=426, sent=1925
Jan 15 02:50:09 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7422, TLS, session=<MdO27SOc+uZ/AAAB>
Jan 15 02:50:09 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=417, sent=2041
Jan 15 02:50:09 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7426, TLS, session=<XLq57SOcAud/AAAB>
Jan 15 02:50:09 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=126, sent=843
Jan 15 02:50:10 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7431, TLS, session=<BP3I7SOcBOd/AAAB>
Jan 15 02:50:10 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=54, sent=837
Jan 15 02:50:12 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7435, TLS, session=<FKXg7SOcCOd/AAAB>
Jan 15 02:50:12 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=38, sent=543
Jan 15 02:50:12 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7438, TLS, session=<cgTi7SOcDOd/AAAB>
Jan 15 02:50:12 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=417, sent=2041
Jan 15 02:50:15 vmi243124 postfix/smtpd[7266]: connect from localhost.localdomain[127.0.0.1]
Jan 15 02:50:15 vmi243124 postfix/smtpd[7266]: TLS SNI localhost from localhost.localdomain[127.0.0.1] not matched, using default chain
Jan 15 02:50:16 vmi243124 postfix/smtpd[7266]: 077E482111D: client=localhost.localdomain[127.0.0.1], sasl_method=PLAIN, [email protected]
Jan 15 02:50:16 vmi243124 postfix/cleanup[7192]: 077E482111D: message-id=<[email protected]>
Jan 15 02:50:16 vmi243124 check-quota[7444]: Starting the check-quota filter...
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: handlers_stderr: SKIP
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: SKIP during call 'check-quota' handler
Jan 15 02:50:16 vmi243124 spf[7446]: Starting the spf filter...
Jan 15 02:50:16 vmi243124 spf[7446]: SPF status: PASS
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: handlers_stderr: PASS
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: PASS during call 'spf' handler
Jan 15 02:50:16 vmi243124 dk_sign[7447]: Starting the dk_sign filter...
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: handlers_stderr: PASS
Jan 15 02:50:16 vmi243124 psa-pc-remote[1051]: PASS during call 'dd51-domainkeys' handler
Jan 15 02:50:16 vmi243124 postfix/qmgr[1863]: 077E482111D: from=<[email protected]>, size=860, nrcpt=1 (queue active)
Jan 15 02:50:16 vmi243124 postfix/smtpd[7266]: disconnect from localhost.localdomain[127.0.0.1] ehlo=1 auth=1 mail=1 rcpt=1 data=1 quit=1 commands=6
Jan 15 02:50:16 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7450, TLS, session=<wWkc7iOcFOd/AAAB>
Jan 15 02:50:16 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=805, sent=1095
Jan 15 02:50:16 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7454, TLS, session=<oCYn7iOcGOd/AAAB>
Jan 15 02:50:16 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=70, sent=704
Jan 15 02:50:17 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7457, TLS, session=<sOkq7iOcHud/AAAB>
Jan 15 02:50:17 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=316, sent=1498
Jan 15 02:50:18 vmi243124 dovecot: imap-login: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=7461, TLS, session=<fFI67iOcIOd/AAAB>
Jan 15 02:50:18 vmi243124 dovecot: service=imap, [email protected], ip=[127.0.0.1]. Logged out rcvd=126, sent=851
Jan 15 02:50:18 vmi243124 postfix/smtp[7320]: connect to alt1.gmail-smtp-in.l.google.com[209.85.233.26]:25: Connection timed out
Jan 15 02:50:27 vmi243124 postfix/smtp[7200]: connect to alt2.gmail-smtp-in.l.google.com[142.250.4.27]:25: Connection timed out

When i try send email via telnet say Relay access denied

here is MXTOOLS result:

EHLO keeper-us-east-1b.mxtoolbox.com
250-vmi243124.contaboserver.net
250-PIPELINING
250-SIZE 10240000
250-ETRN
250-STARTTLS
250-AUTH DIGEST-MD5 CRAM-MD5 PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250-DSN
250-SMTPUTF8
250 CHUNKING [704 ms]
MAIL FROM:<[email protected]>
250 2.1.0 Ok [721 ms]
RCPT TO:<[email protected]>
554 5.7.1 <[email protected]>: Relay access denied [700 ms]
 
Jan 15 02:50:18 vmi243124 postfix/smtp[7320]: connect to alt1.gmail-smtp-in.l.google.com[209.85.233.26]:25: Connection timed out
Jan 15 02:50:27 vmi243124 postfix/smtp[7200]: connect to alt2.gmail-smtp-in.l.google.com[142.250.4.27]:25: Connection timed out

Your server cannot connect to port 25 (SMTP) of other servers. Most likely, it's your firewall that blocks outgoing port 25 connections.
Have a look here: Unable to send emails using Plesk local mail server: Connection timed out or connection refused. (#4.4.1)
 
Back
Top