Monit log prompt Mail: 534 5.7.14 https://support.google.com/mail/answer/78754 – gsmtp

Monit monitoringprogram, if setset mailserver localhost with timeout 30 seconds But the email fails to be sent, what should I do?

Chen WeiliangRecommended to usegmail SMTP ▼

set mailserver smtp.gmail.com port 587
username "[email protected]"
password "password"
using tlsv1
with timeout 30 seconds

Just replace it directly, the set mailserver in the Monit configuration file, for the Monit configuration file, please check this article for details: 《How to setup monit.conf file? monit configuration file example description"

(useGmail SMTPPremise, please confirm whether it has been enabled in gmail settingsSMTPServe? )

Step 1: Check if IMAP is enabled

  1. open on computer gmail.
  2. Click the "Settings" icon at the top right Monit log prompt Mail: 534 5.7.14 https://support.google.com/mail/answer/78754 – gsmtp
  3. ClickSetting.
  4. ClickForwarding and POP/IMAP label.
  5. In the "IMAP Access" section, clickEnable IMAP.
  6. Clicksave Changes.

Step 2: Enable less secure app access

But after setting this up,Found that the Monit log will prompt:

Mail: 534 5.7.14 https://support.google.com/mail/answer/78754 - gsmtp

This may require more than 1 step to fix this:

  1. Take the steps mentioned earlier.Log in to your Google email account and go to this link:https://www.google.com/settings/security/lesssecureappsAnd set to ON "Insecure App Access".Test that your problem is solved.If the problem is not resolved because it is not for me, continue to step 2.
  2. Go tohttps://support.google.com/accounts/answer/6009563(Title: "Incorrect Password Error").This page says "There are several reasons you might see an 'Incorrect password' error (aka 534-5.7.14) when logging into Google using a third-party application.In some cases, even entering your password correctly. " This page offers four suggestions for things to try.

For me, the 1st suggestion worked:

  • Go tohttps://g.co/allowaccessFrom the different device you used to access your Google account and follow the directions.
  • Try logging in again from the blocked app.

Therefore, the other two suggestions are simply ignored.

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) shared "Monit log tips Mail: 534 5.7.14 https://support.google.com/mail/answer/78754 – gsmtp", helpful to you.

Welcome to share the link of this article:https://www.chenweiliang.com/cwl-404.html

Welcome to the Telegram channel of Chen Weiliang's blog to get the latest updates!

🔔 Be the first to get the valuable "ChatGPT Content Marketing AI Tool Usage Guide" in the channel top directory! 🌟
📚 This guide contains huge value, 🌟This is a rare opportunity, don’t miss it! ⏰⌛💨
Share and like if you like!
Your sharing and likes are our continuous motivation!

 

Comment

Your email address will not be published. Required fields * Callout

scroll to top