cannot send email from Postfix to gmail
-
@JaredBusch said:
Follow the instructions. Google's response message said to go verify/allow the IP in your Google Apps account..
i don't have any google apps account, i only have a free gmail account
-
@IT-ADMIN said:
i don't have any google apps account, i only have a free gmail account
This means you are NOT READING THE INSTRUCTIONS
-
@scottalanmiller said:
Google suggests that you use this name: smtp-relay.gmail.com
@JaredBusch said:
That is specific to Google Apps. I thought he was using a personal Gmail account. That would be smtp.gmail.com
I get really really really tired of being nice to people that do not follow basic instructions.
-
@JaredBusch said:
@scottalanmiller said:
Google suggests that you use this name: smtp-relay.gmail.com
@JaredBusch said:
That is specific to Google Apps. I thought he was using a personal Gmail account. That would be smtp.gmail.com
I get really really really tired of being nice to people that do not follow basic instructions.
ok ok don't get angry, i just try that, and i'm not familiar with CLI for this reason i'm confused and try everything
-
i return everything as before, but still cannot sent email
-
so the root cause problem now why i can't look smtp.google.com up ???
-
@IT-ADMIN said:
so the root cause problem now why i can't look smtp.google.com up ???
I thought we covered this. Because it is the wrong name and does not exist. You should not be able to look it up.
-
@IT-ADMIN said:
as for the name i think it is correct cuz i'm using my personel gmail account, i fount that name on many howto articles , all of them mention this name smtp.google.com
There is no question here, the name you have chosen is not correct.
-
@IT-ADMIN said:
i change smtp.google.com to smtp-relay.gmail.com and i get in the log the following
Use smtp.gmail.com
-
you very very very clearly did not read what I entered and then quoted myself with just a few posts above.
-
-
There you go, that part is working now.
-
-
The text of the log is much easier to read than a screenshot of it.
-
[root@localhost postfix]# mail [email protected]
Subject: test
hello world
EOT
[root@localhost postfix]# tail /var/log/maillog
Aug 20 18:55:01 localhost postfix/qmgr[17342]: E4632812CC: removed
Aug 20 18:56:34 localhost postfix/qmgr[17342]: 75957812CB: from=[email protected], size=421, nrcpt=1 (queue active)
Aug 20 18:56:34 localhost postfix/error[18446]: 75957812CB: to=[email protected], relay=none, delay=582, delays=582/0.03/0/0.02, dsn=4.7.14, status=deferred (delivery temporarily suspended: SASL authentication failed; server smtp.gmail.com[64.233.184.108] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbsIR?534-5.7.14 U8s7ITZC0YNJR1zOuv6zOtO9VuZofNylkSWMHEPuihU2JvnsN4ladAqvh9iCWH_vednZH1?534-5.7.14 TFvhvCFn9fi-qAtqKECTIPwvGNzKOKzr7MB9XTS3GLbg5RPDpn901RyN0rwkxwqGQazvIj?534-5.7.14 6BQZkkkMQUYP6-RcKMMhpoJsszN-UK_DZXiNG313BOPCiMtpXGdgVS_9uIlEBWjFf58Uf4?534-5.7.14 vHllOx4qpNDxbzjP1FGSCmkxd7rM> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 mc18sm6667117wic.23 - gsmtp)
Aug 20 18:58:02 localhost postfix/pickup[17341]: 876B2812CC: uid=0 from=<root>
Aug 20 18:58:02 localhost postfix/cleanup[18480]: 876B2812CC: message-id=[email protected]
Aug 20 18:58:02 localhost postfix/qmgr[17342]: 876B2812CC: from=[email protected], size=427, nrcpt=1 (queue active)
Aug 20 18:58:02 localhost postfix/smtp[18482]: warning: database /etc/postfix/sasl_passwd.db is older than source file /etc/postfix/sasl_passwd
Aug 20 18:58:03 localhost postfix/smtp[18482]: connect to smtp.gmail.com[2a00:1450:400c:c09::6d]:587: Network is unreachable
Aug 20 18:58:04 localhost postfix/smtp[18482]: 876B2812CC: SASL authentication failed; server smtp.gmail.com[64.233.184.108] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtKo?534-5.7.14 mAFPOyVXudlFtsnjbF6yGeyZQvPtuVy_YDx2RMp6r5Y4HI4H3FztAmNWjXW7gBU1Iukkv3?534-5.7.14 ypI0fyyPOE-ioZne4kjGt72S4EwwL8ZvPKD8DCT1lZbTceW5JSqV1vKRjv-I3umNHPg1iN?534-5.7.14 QppIdGROEzMMZgE_7X-NmJraK0nx51SEQmuEdPTEah0K3vV_s_UYTuOZJweMP5G0A8j_Hd?534-5.7.14 PSBVkhSn_f6EPWA04G0yHpty3ViY> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 p1sm6137159wjq.28 - gsmtp
Aug 20 18:58:06 localhost postfix/smtp[18482]: 876B2812CC: to=[email protected], relay=smtp.gmail.com[64.233.184.109]:587, delay=3.9, delays=0.06/0.04/3.8/0, dsn=4.7.14, status=deferred (SASL authentication failed; server smtp.gmail.com[64.233.184.109] said: 534-5.7.14 <https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbt7Z?534-5.7.14 vTH4_FVXXJpYdqId-PWVDGHvRaDHXe7Mj_1juHzeRgceCRonAtXXVuy21udXoqab48SHaW?534-5.7.14 d6-OWY2sklgg3rsYYG2d4egnsmY5NckkyTJBbuLpwLdFukFg2ZAnM_csU0V1N1lZFkfGDd?534-5.7.14 E_psYTHbZcRz9oRi3MpcsO2-avI1G1ZCTs19C8dpQ3Lbq5S00XbwuuLav5bVcJQUOQ2SjF?534-5.7.14 iu7Wkfs3OPBG-kSkSkcGkzvx_Mjk> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 s7sm31117322wix.23 - gsmtp) -
Did you follow the instructions in the error message yet? It says to sign in from your web browser then try again.
-
Right at the end...
.... iu7Wkfs3OPBG-kSkSkcGkzvx_Mjk> Please log in via your web browser and?534-5.7.14 then try again.?534-5.7.14 Learn more at?534 5.7.14 https://support.google.com/mail/answer/78754 s7sm31117322wix.23 - gsmtp)
It even send you to a support page.
-
https://support.google.com/mail/answer/78754
My client isn't accepting my username and password
If you're repeatedly prompted for your username and password, or if you're getting an 'invalid credentials' or 'web login required' error, make sure your password is correct. Keep in mind that passwords are case-sensitive.
If you’re sure your password is correct, you can try these troubleshooting tips:
- If you've turned on 2-Step Verification for your account, you might need to enter an App password.
- Sign in to your account from the web version of Gmail at https://mail.google.com. Afterwards try accessing your messages in your mail app again.
- If you're still having problems, visit http://www.google.com/accounts/DisplayUnlockCaptcha and sign in with your Gmail username and password. If necessary, enter the letters in the distorted picture.
- Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account.
- Make sure your mail app isn't set to check for new email too frequently. If your mail app checks for new messages more than once every 10 minutes, the app’s access to your account could be blocked.
- Try changing your password according to our tips on creating a strong password.
-
yes i follow it, i already sign in my gmail account
-
@scottalanmiller said:
- Your mail app might not support the latest security standards. Learn how to allow less secure apps access to your account.
Did you follow this part of the instructions?
https://support.google.com/accounts/answer/6010255?vid=1-635756832764607833-18280792062057614980