• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue phpmail () stopped work after upgrade to 18.0.42

victorjqv

New Pleskian
Hi,

After upgrading Plesk to 18.0.42 phpmail() stopped working on all my websites.
I had created a script for testing phpmail and If I try to execute this script via web - the script get done but it doesn't send mail.
And logs in maillog.
Code:
2022-02-06 15:04:40    postfix/qmgr[2614]    40AFD158037D: removed
2022-02-06 15:04:40    postfix/pipe[2756]    40AFD158037D: to=<[email protected]>, relay=plesk_virtual, delay=0.09, delays=0/0.02/0/0.07, dsn=2.0.0, status=sent (delivered via plesk_virtual service)
2022-02-06 15:04:40    postfix-local[2757]    40AFD158037D: Unknown user: [email protected]
2022-02-06 15:04:40    postfix-local[2757]    cannot chdir to mailname dir nuevosresidentes.com_b5743i0cm0e: No such file or directory
2022-02-06 15:04:40    postfix-local[2757]    40AFD158037D: dmarc: stderr: PASS
2022-02-06 15:04:40    dmarc[2759]    40AFD158037D: SPF record was not found in Authentication-Results
2022-02-06 15:04:40    postfix-local[2757]    40AFD158037D: dk_check: stderr: PASS
2022-02-06 15:04:40    dk_check[2758]    40AFD158037D: DKIM Feed: No signature
2022-02-06 15:04:40    postfix-local[2757]    40AFD158037D: from=<MAILER-DAEMON>, to=<[email protected]>, dirname=/var/qmail/mailnames
2022-02-06 15:04:40    postfix/qmgr[2614]    40AFD158037D: from=<>, size=3210, nrcpt=1 (queue active)
2022-02-06 15:04:40    postfix/qmgr[2614]    E49F3158037C: removed
2022-02-06 15:04:40    postfix/bounce[2755]    E49F3158037C: sender non-delivery notification: 40AFD158037D
2022-02-06 15:04:40    postfix/cleanup[2749]    40AFD158037D: message-id=<[email protected]>
2022-02-06 15:04:40    postfix/smtp[2753]    E49F3158037C: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[142.250.27.27]:25, delay=0.34, delays=0.05/0.02/0.09/0.18, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[142.250.27.27] said: 550-5.7.1 [185.197.195.164] The IP you're using to send mail is not authorized 550-5.7.1 to send email directly to our servers. Please use the SMTP relay at 550-5.7.1 your service provider instead. Learn more at 550 5.7.1 https://support.google.com/mail/?p=NotAuthorizedError bx1-20020a0564020b4100b0041295c9096asi6821510edb.20 - gsmtp (in reply to end of DATA command))
2022-02-06 15:04:39    postfix/qmgr[2614]    E49F3158037C: from=<[email protected]>, size=396, nrcpt=1 (queue active)
2022-02-06 15:04:39    postfix/cleanup[2749]    E49F3158037C: message-id=<[email protected]>
2022-02-06 15:04:39    postfix/pickup[2613]    E49F3158037C: uid=10000 from=<[email protected]>
2022-02-06 15:04:39    plesk-sendmail[2741]    S2740: check-quota: stderr: SKIP
2022-02-06 15:04:39    plesk-sendmail[2741]    S2740: add-from: stderr: SKIP
2022-02-06 15:04:39    plesk-sendmail[2740]    S2740: from=<[email protected]> to=<[email protected]>
I tried with different PHP versions - same.
OS: CentOS Linux 7.9.2009 (Core)
Product: Plesk Obsidian 18.0.42

Please can anybody help me?
Thank you!!
 
This likely has nothing to do with the Plesk update, but rather with the fact that your servers IP address got blocked by Google. It states that clearly in the mail log response. See below.

2022-02-06 15:04:40 postfix/smtp[2753] E49F3158037C: to=<[email protected]>, relay=gmail-smtp-in.l.google.com[142.250.27.27]:25, delay=0.34, delays=0.05/0.02/0.09/0.18, dsn=5.7.1, status=bounced (host gmail-smtp-in.l.google.com[142.250.27.27] said: 550-5.7.1 [185.197.195.164] The IP you're using to send mail is not authorized 550-5.7.1 to send email directly to our servers. Please use the SMTP relay at 550-5.7.1 your service provider instead. Learn more at 550 5.7.1 'The IP you're using to send email is not authorized...' - Gmail Help bx1-20020a0564020b4100b0041295c9096asi6821510edb.20 - gsmtp (in reply to end of DATA command))

You can find more information on 'The IP you're using to send email is not authorized...' - Gmail Help
 
Last edited:
Back
Top