September 25, 201510 yr I have some problems setting up notifications via Gmail. What ever I try, I get error "Test result: Authorization failed". Config: Preset service: Gmail Sending email address: [email protected] Mail server: smtp.gmail.com Mail server port: 465 Use SSL/TLS: Yes Use STARTTLS: No Define a TLS certificate: No Authentication method: Login Username: [email protected] Password: 64 characters (no # in password) - Tried with shorter password and no luck. Gmail account settings: Allow less secure apps: On POP3 and IMAP enabled. I tried with different e-mail provider and it worked, but I want to use gmail address since I use it in other apps for notifications (in CouchPotato the same mail and same settings works). Any ideas what am I doing wrong?
September 26, 201510 yr my settings: gmail with TLS sending email: [email protected] email recipient: [email protected] Priority in Header: yes Email subject: unraid status mail server: smtp.gmail.com mail server port: 587 User SSL/TLS: Yes Define TLS Cert: No TLS Cert: blank Auth Method: Login username: myname password: mypassword the username field does not have @gmail.com in it.
September 26, 201510 yr Author In Logs I get 2 errors: Sep 26 20:50:56 Alfheimr sSMTP[14849]: Creating SSL connection to host Sep 26 20:50:56 Alfheimr sSMTP[14849]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256 Sep 26 20:50:56 Alfheimr sSMTP[14849]: Authorization failed (535 5.7.8 https://support.google.com/mail/answer/14257 ft3sm9487967wib.17 - gsmtp) and Sep 26 20:43:18 Alfheimr sSMTP[12839]: Creating SSL connection to host Sep 26 20:43:18 Alfheimr sSMTP[12839]: SSL connection using ECDHE-RSA-AES128-GCM-SHA256 Sep 26 20:43:19 Alfheimr sSMTP[12839]: Authorization failed (534 5.7.14 https://support.google.com/mail/answer/78754 p20sm9484949wie.5 - gsmtp) Tried everything in suggested links and no luck. If I enter wrong password, I get the same error and Log entry is the same. unRAID version: 6.1.2.
September 26, 201510 yr Just to be clear ... did you change the port to 587 ?? ... one other thing: I don't think anything changed that would impact this, but nevertheless I'd upgrade to 6.1.3 just so you're on the current version.
September 27, 201510 yr Author unRAID upgraded to 6.1.3. SMTP Settings that I tried: - 465 + SSL/TLS - 587 + STARTTLS - TLS certificate always "No" - Mail server: always "smtp.gmail.com" - Authentication method: Login (Username: [email protected] (tried with mynotificationmail (without @gmail.com)) + Password: mypassword) - Authentication method: tried with None (Test result: 530 5.5.1 https://support.google.com/mail/answer/14257 fz1sm12624287wic.8 - gsmtp) and CRAM-MD5 (Test result: Authorization failed) Gmail settings: - Allow less secure apps: On - POP3 and IMAP: enabled - 2-Step verification: Off - unlock Captcha: done I always get same error: "Test result: Authorization failed" I created new Gmail account. It works. Same settings as previous account...? Edit: It seems, that there is problem with some characters in password (don't know which). Old password contained characters: (within "") " , + : $ = ' ` . * ? ". New password contain just letters (lower and upper case), numbers and brackets " [ ] { } ( ) < > " and it works.
November 21, 201510 yr If you have 2 step turned on, just go to https://security.google.com/settings/security/apppasswords?pli=1 to generate an app password
January 11, 201610 yr If you have 2 step turned on, just go to https://security.google.com/settings/security/apppasswords?pli=1 to generate an app password This did it for me so thanks!
March 10, 201610 yr I cannot get Gmail notification working with anything I try. My password are plain letters and numbers. No funny characters. I am on v. 6.1.9 of unRAID. I do not have 2 step authentication. When I click the link above, Google tells me "The setting you are looking for is not available for your account" Here are two of the many combinations I have tried: Any help is greatly appreciated. Thanks, H.
March 10, 201610 yr Community Expert I cannot get Gmail notification working with anything I try. maybe this: Found the culprit. I had to change a setting allowing less secure access to my account. While logged into your Gmail account use this link. https://www.google.com/settings/security/lesssecureapps I'm going to personally setup a unRAID email account that forwards to my primary account and use it for notifications.
April 8, 201610 yr Odd when I set this up and do a test I get HPTower kernel: blk_update_request: I/O error, dev loop0, sector 39504 Why would that pop up?
April 8, 201610 yr Odd when I set this up and do a test I get HPTower kernel: blk_update_request: I/O error, dev loop0, sector 39504 Why would that pop up? That's an issue with your docker.img file (loop0)
August 26, 20178 yr On 2016-03-10 at 4:51 PM, johnnie.black said: maybe this: No help here. Try Google with 2 factor and account without. Test Yahoo mail, no luck. Try same settings the abow member has: https://forums.lime-technology.com/applications/core/interface/imageproxy/imageproxy.php?img=http://i.imgur.com/Rj36JEy.png&key=1047afc403d3d37508c696b60debb0343e11912fd0ded00b1738c18fa0142040 Hm, i succes when I change the settings in IE Explorer instead of Google Chrome. In Chrome the new settings with the app password don't have effect. Edited August 26, 20178 yr by stormense
October 1, 20178 yr I have got it to work with "less secure apps" ENABLED However, when that option is enabled, I get signed out of my google accounts every 5-10 minutes automatically. What is the best way to get this notification working without editing "Less Secure Apps" on google?
November 6, 20178 yr On 01/10/2017 at 8:40 PM, bombz said: I have got it to work with "less secure apps" ENABLED However, when that option is enabled, I get signed out of my google accounts every 5-10 minutes automatically. What is the best way to get this notification working without editing "Less Secure Apps" on google?
June 20, 20188 yr hmm... maybe there's still a problem with wrong authentication method used by unRAID. before i recognized that, my setup looked like: email-server was not using SSL/TLS and allowed a bunch of authentication methods, like CRAM-MD5, LOGIN, Kerberos… after i saw these errors, the setup had changed to this: email-server was setup to accept TLS, but also non-TLS connections, but i disabled the LOGIN authentication. nothing else changed (same account, same passwords). but, because of the now disabled LOGIN authentication method, unRAID server yells "Server didn't like our AUTH LOGIN (504 Authentication method not enabled)" – yeah, right, because i configured you to use CRAM-MD5. so it was using all the time the "LOGIN" authentication method, despite me setting it to use CRAM-MD5. i've used the "Custom" preset, because i run my own email-server (postfix). i run this server for years and it cares about quite alot of domains/users. everthing works for everybody, only unRAID seems to misbehave here – it simply doesn't use the choosen authentication method. the email-server log, when unRAID tries to send email (or me hitting the "Test"-button). Creating SSL connection to host SSL connection using DHE-RSA-AES256-SHA Server didn't like our AUTH LOGIN (504 Authentication method not enabled)
November 9, 20196 yr On 11/21/2015 at 6:57 AM, CyberMew said: If you have 2 step turned on, just go to https://security.google.com/settings/security/apppasswords?pli=1 to generate an app password This did it for me
March 1, 20224 yr Only app password worked for me. This should get documented somewhere... Confusing and cost me an hour to look it up...
June 13, 20224 yr On 9/27/2015 at 2:41 PM, Vaseer said: unRAID upgraded to 6.1.3. SMTP Settings that I tried: - 465 + SSL/TLS - 587 + STARTTLS - TLS certificate always "No" - Mail server: always "smtp.gmail.com" - Authentication method: Login (Username: [email protected] (tried with mynotificationmail (without @gmail.com)) + Password: mypassword) - Authentication method: tried with None (Test result: 530 5.5.1 https://support.google.com/mail/answer/14257 fz1sm12624287wic.8 - gsmtp) and CRAM-MD5 (Test result: Authorization failed) Gmail settings: - Allow less secure apps: On - POP3 and IMAP: enabled - 2-Step verification: Off - unlock Captcha: done I always get same error: "Test result: Authorization failed" I created new Gmail account. It works. Same settings as previous account...? Edit: It seems, that there is problem with some characters in password (don't know which). Old password contained characters: (within "") " , + : $ = ' ` . * ? ". New password contain just letters (lower and upper case), numbers and brackets " [ ] { } ( ) < > " and it works. Thank you I spend all day with related problem and the result is change the password without specific character... Unraid 6.9.2, the password was -> =/+P+L4zS5MDw5sZ
January 17, 20233 yr On 11/20/2015 at 9:57 PM, CyberMew said: If you have 2 step turned on, just go to https://security.google.com/settings/security/apppasswords?pli=1 to generate an app password This helped me. Thanks. In 2022 Gmail changed to no longer allow insecure apps. So now I tried "2 factor authentication" but still could not get it to work, until I tried your link. To others: it will give you a password that you then paste into the unraid settings for "Notifications", at the "SMTP Settings" section for email. Sadly, once you paste it, I don't think there is any way to ever see it again, but If I understood Google correctly on the window that generated the password, you never need to know it again and should not write it down, so I guess it is OK that I cannot see it and cannot use it again.
January 17, 20233 yr 46 minutes ago, xrqp said: you never need to know it again and should not write it down, so I guess it is OK that I cannot see it and cannot use it again. Technically true, but it's convenient for me to first paste it into a password manager or other secure storage for use on other devices. Yes, you can generate a new one whenever you need it, and revoke old ones just as easily, but I find it convenient to reuse 1 password across multiple older devices and do the revoke and reissue dance only when absolutely necessary.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.