<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:798572492;
mso-list-template-ids:1864549374;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:1.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:"Courier New";
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:1.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:2.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:3.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.0in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:4.5in;
mso-level-number-position:left;
text-indent:-.25in;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal">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.
<o:p></o:p></p>
<ul type="disc">
<li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
mail_delivery_method: SMTP<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
mailfrom: <a href="mailto:new_gmail_address@gmail.com">new_gmail_address@gmail.com</a><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
smtpserver: smtp.gmail.com:465 (I also tried port 587)<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
smtp_username: <a href="mailto:new_gmail_address@gmail.com">new_gmail_address@gmail.com</a><o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
smtp_password: new_gmail_password<o:p></o:p></li><li class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1">
smtp_ssl: On<o:p></o:p></li></ul>
<p class="MsoNormal">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:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 220 smtp.gmail.com ESMTP m2-20020a056870030200b0016dbf59175bsm95354oaf.47 - gsmtp<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> EHLO bugzilla-sw<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-smtp.gmail.com at your service, [12.35.227.202]<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-SIZE 35882577<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-8BITMIME<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-ENHANCEDSTATUSCODES<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-PIPELINING<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250-CHUNKING<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 250 SMTPUTF8<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> AUTH LOGIN<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 334 VXNlcm5hbWU6<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< (decoded) Username:<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> (decoded) <a href="mailto:my_gmail@gmail.com">
my_gmail@gmail.com</a><o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> dHB6YnVnc0BnbWFpbC5jb20=<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 334 UGFzc3dvcmQ6<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< (decoded) Password:<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> (decoded) my_password<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)>>> WXVtIEJ1Z3Mh<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 535-5.7.8 Username and Password not accepted. Learn more at<o:p></o:p></p>
<p class="MsoNormal">Net::SMTP::_SSL=GLOB(0x562c48a326a0)<<< 535 5.7.8 <a href="https://support.google.com/mail/?p=BadCredentials">
https://support.google.com/mail/?p=BadCredentials</a> m2-20020a056870030200b0016dbf59175bsm95354oaf.47 – gsmtp<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Does anyone have an idea what is happening here?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mike Ambrose<o:p></o:p></p>
<p class="MsoNormal">Topaz Systems, Inc<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>