Bugzilla can't authenticate to gmail
Mike Ambrose <[email protected]> Sat, 25 Feb 2023 00:24:14 +0000
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Message-ID | <SJ0PR08MB79300C6174B39F95E9F6829F87A99@SJ0PR08MB7930.namprd08.prod.outlook.com> |
Hi, I followed the instructions for installing Bugzilla 5.0.6 on Ubuntu 22.0.4. There was a little tweaking required for Apache but Bugzilla is now being served by an Ubuntu server. The big problem is enabling email. I wanted to use gmail as much easier than setting up our own SMTP server but it fails to authenticate. Ufw is disabled. * mail_delivery_method: SMTP * mailfrom: [email protected]<mailto:[email protected]> * smtpserver: smtp.gmail.com:465 (I also tried port 587) * smtp_username: [email protected]<mailto:[email protected]> * smtp_password: new_gmail_password * smtp_ssl: On I tested these settings using Thunderbird on the same server and it works. I also tried some things I found on the internet including changing the username spec to user, all to know avail. The following is what Apache reports: Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 220 smtp.gmail.com ESMTP m2-20020a056870030200b0016dbf59175bsm95354oaf.47 - gsmtp Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> EHLO bugzilla-sw Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-smtp.gmail.com at your service, [12.35.227.202] Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-SIZE 35882577 Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-8BITMIME Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-ENHANCEDSTATUSCODES Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-PIPELINING Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-CHUNKING Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250 SMTPUTF8 Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> AUTH LOGIN Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 334 VXNlcm5hbWU6 Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< (decoded) Username: Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> (decoded) [email protected]<mailto:[email protected]> Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> dHB6YnVnc0BnbWFpbC5jb20= Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 334 UGFzc3dvcmQ6 Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< (decoded) Password: Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> (decoded) my_password Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> WXVtIEJ1Z3Mh Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 535-5.7.8 Username and Password not accepted. Learn more at Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 535 5.7.8 https://support.google.com/mail/?p=BadCredentials m2-20020a056870030200b0016dbf59175bsm95354oaf.47 - gsmtp Does anyone have an idea what is happening here? Thanks, Mike Ambrose Topaz Systems, Inc _______________________________________________ support-list mailing list [email protected] https://lists.bugzilla.org/listinfo/support-list