Bugzilla Not Sending Emails #5

Ladies & Gents,

I'm at my wits end here with trying to figure out why my new Bugzilla insta=
llation is not sending emails out.

A bit of background information:

OS Version: RHEL 7.5
Bugzilla Version: 5.0

When I create a new user and I click on the Notify User checkbox, nothing h=
appens.  Nothing in the /var/log/maillog nor in /var/log/messages.  However=
, in the /var/log/httpd/error.log, I see this:


[Wed Jun 13 00:05:47.920028 2018] [cgi:error] [pid 2019] [client x.x.x.x:59=
437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi: Argument contains e=
mpty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y=
/editusers.cgi?action=3Dadd
[Wed Jun 13 00:05:47.922821 2018] [cgi:error] [pid 2019] [client x.x.x.x:59=
437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi: Argument contains e=
mpty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y=
/editusers.cgi?action=3Dadd=20

For mail_delivery_method, I've tried SMTP and Sendmail.  Fairly certain the=
 remaining parameters I'm using in the Bugzilla mail config. page are corre=
ct - i.e. - mailfrom, smtpserver, smtp_username, smtp_password & smtp_ssl (=
on).

I've tried both smtp.gmail.com:587 and email-smtp.us-west-2.amazonaws.com:5=
87 with no luck.

To make sure that my mail configuration parameters are correct, I've config=
ured postfix with smtp.gmail.com and I was able to send test messages out f=
rom the CLI.  I also configured postfix with email-smtp.us-west-2.amazonaws=
..com and was also able to send messages out from the CLI. =20

Any help would be immensely appreciated.

Regards,
Martin =20
0
martin
6/13/2018 4:21:33 AM
mozilla.support.bugzilla 9982 articles. 0 followers. Post Follow

6 Replies
33 Views

Similar Articles

[PageSpeed] 34

On Wednesday, June 13, 2018 at 10:11:06 AM UTC-4, Thorsten Sch=C3=B6ning wr=
ote:
> Guten Tag ma....@emergent360.com,
> am Mittwoch, 13. Juni 2018 um 15:05 schrieben Sie:
>=20
> > I used the "Test" option per your suggestion.  The only file I saw
> > get created under ./data is the params.json file[...]
>=20
> Just to be clear, you did create a new user after changing to "Test"
> exactly like you did before? Besides users, check if mails get created
> with "Test" setting on new bugs or bug changes. Make sure to have all
> bug related mails enabled in the user preferences the bug is assigned
> to or who is CC or who does the change.
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen,
>=20
> Thorsten Sch=C3=B6ning
>=20
> --=20
> Thorsten Sch=C3=B6ning       E-Mail: Thorsten....@AM-SoFT.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>=20
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>=20
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

Yes.  Once changed to "Test" I created a new user account, created a bug an=
d assigned to the new user - within an hour span:=20

Here are the error messages I see in /var/log/httpd/error.log" file:


###################
New User Creation
###################

[Wed Jun 13 10:19:02.359186 2018] [cgi:error] [pid 4089] [client 96.255.172=
..70:60528] AH01215: [Wed Jun 13 10:19:02 2018] editusers.cgi: Argument cont=
ains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://5=
2.222.101.65/editusers.cgi?action=3Dadd

[Wed Jun 13 10:19:02.359737 2018] [cgi:error] [pid 4089] [client 96.255.172=
..70:60528] AH01215: [Wed Jun 13 10:19:02 2018] editusers.cgi: Argument cont=
ains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://5=
2.222.101.65/editusers.cgi?action=3Dadd


###############################
New Bug Creation & Assignment
###############################

[Wed Jun 13 10:49:50.151141 2018] [cgi:error] [pid 4468] [client 96.255.172=
..70:60709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument conta=
ins empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52=
..222.101.65/enter_bug.cgi?product=3DTestProduct&component=3DTestComponent


[Wed Jun 13 10:49:50.151542 2018] [cgi:error] [pid 4468] [client 96.255.172=
..70:60709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument conta=
ins empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52=
..222.101.65/enter_bug.cgi?product=3DTestProduct&component=3DTestComponent

Thanks,
Martin
0
martin
6/13/2018 1:01:01 AM
Guten Tag martin@emergent360.com,
am Mittwoch, 13. Juni 2018 um 06:21 schrieben Sie:

> [Wed Jun 13 00:05:47.920028 2018] [cgi:error] [pid 2019] [client
> x.x.x.x:59437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi:
> Argument contains empty address at lib/Email/MIME/Encode.pm line
> 153., referer: http://y.y.y.y/editusers.cgi?action=3Dadd
> [Wed Jun 13 00:05:47.922821 2018] [cgi:error] [pid 2019] [client
> x.x.x.x:59437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi:
> Argument contains empty address at lib/Email/MIME/Encode.pm line
> 153., referer: http://y.y.y.y/editusers.cgi?action=3Dadd=20

> For mail_delivery_method, I've tried SMTP and Sendmail.

Use "Test" instead, which should create some file in the "data"
directory of the Bugzilla installation directory. Have a look at that
content and I guess you see something wrong regarding the error
messages from your log.

If the file isn't created, that's another hint that there's some
problem with your forms or such. Did you customize Bugzilla in any
way?

Mit freundlichen Gr=FC=DFen,

Thorsten Sch=F6ning

--=20
Thorsten Sch=F6ning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=E4ftsf=FChrer: Andreas Muchow

0
windows
6/13/2018 8:57:07 AM
On Wednesday, June 13, 2018 at 4:57:54 AM UTC-4, Thorsten Sch=C3=B6ning wro=
te:
> Guten Tag ma...@emergent360.com,
> am Mittwoch, 13. Juni 2018 um 06:21 schrieben Sie:
>=20
> > [Wed Jun 13 00:05:47.920028 2018] [cgi:error] [pid 2019] [client
> > x.x.x.x:59437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi:
> > Argument contains empty address at lib/Email/MIME/Encode.pm line
> > 153., referer: http://y.y.y.y/editusers.cgi?action=3Dadd
> > [Wed Jun 13 00:05:47.922821 2018] [cgi:error] [pid 2019] [client
> > x.x.x.x:59437] AH01215: [Wed Jun 13 00:05:47 2018] editusers.cgi:
> > Argument contains empty address at lib/Email/MIME/Encode.pm line
> > 153., referer: http://y.y.y.y/editusers.cgi?action=3Dadd=20
>=20
> > For mail_delivery_method, I've tried SMTP and Sendmail.
>=20
> Use "Test" instead, which should create some file in the "data"
> directory of the Bugzilla installation directory. Have a look at that
> content and I guess you see something wrong regarding the error
> messages from your log.
>=20
> If the file isn't created, that's another hint that there's some
> problem with your forms or such. Did you customize Bugzilla in any
> way?
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen,
>=20
> Thorsten Sch=C3=B6ning
>=20
> --=20
> Thorsten Sch=C3=B6ning       E-Mail: Thorste.....@AM-SoFT.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>=20
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>=20
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

Greetings Thorsten and thank you for the reply.

I haven't done any customization to Bugzilla.  Just a plain-vanilla install=
ation.

I used the "Test" option per your suggestion.  The only file I saw get crea=
ted under ./data is the params.json file and I don't see anything that rais=
es a red flag - to my untrained eyes at least.  Below are its contents:

{
   "LDAPBaseDN" : "",
   "LDAPbinddn" : "",
   "LDAPfilter" : "",
   "LDAPmailattribute" : "mail",
   "LDAPserver" : "",
   "LDAPstarttls" : "0",
   "LDAPuidattribute" : "uid",
   "RADIUS_NAS_IP" : "",
   "RADIUS_email_suffix" : "",
   "RADIUS_secret" : "",
   "RADIUS_server" : "",
   "ajax_user_autocompletion" : "1",
   "allow_attachment_deletion" : "0",
   "allow_attachment_display" : "0",
   "allowbugdeletion" : "0",
   "allowemailchange" : "1",
   "allowuserdeletion" : "1",
   "announcehtml" : "",
   "attachment_base" : "",
   "auth_env_email" : "",
   "auth_env_id" : "",
   "auth_env_realname" : "",
   "chartgroup" : "editbugs",
   "collapsed_comment_tags" : "obsolete, spam",
   "comment_taggers_group" : "editbugs",
   "commentonchange_resolution" : "0",
   "commentonduplicate" : "0",
   "confirmuniqueusermatch" : "1",
   "cookiedomain" : "",
   "cookiepath" : "/",
   "createemailregexp" : ".*",
   "debug_group" : "admin",
   "default_search_limit" : "500",
   "defaultopsys" : "",
   "defaultplatform" : "",
   "defaultpriority" : "---",
   "defaultquery" : "resolution=3D---&emailassigned_to1=3D1&emailassigned_t=
o2=3D1&emailreporter2=3D1&emailcc2=3D1&emailqa_contact2=3D1&emaillon
gdesc3=3D1&order=3DImportance&long_desc_type=3Dsubstring",
   "defaultseverity" : "enhancement",
   "duplicate_or_move_bug_status" : "RESOLVED",
   "emailregexp" : "^[\\w\\.\\+\\-=3D']+@[\\w\\.\\-]+\\.[\\w\\-]+$",
   "emailregexpdesc" : "A legal address must contain exactly one '@', and a=
t least one '.' after the @.",
   "emailsuffix" : "",
   "font_file" : "",
   "globalwatchers" : "",
   "inbound_proxies" : "",
   "insidergroup" : "",
   "last_visit_keep_days" : "10",
   "letsubmitterchoosemilestone" : "1",
   "letsubmitterchoosepriority" : "1",
   "mail_delivery_method" : "Test",
   "mailfrom" : "xxxxxxxx@gmail.com",
   "maintainer" : "xxxxxx@gmail.com",
   "makeproductgroups" : "0",
   "max_search_results" : "10000",
   "maxattachmentsize" : "1000",
   "maxlocalattachment" : "0",
   "maxusermatches" : "1000",
   "memcached_namespace" : "bugzilla:",
   "memcached_servers" : "",
   "musthavemilestoneonaccept" : "0",
   "mybugstemplate" : "buglist.cgi?resolution=3D---&emailassigned_to1=
=3D1&emailreporter1=3D1&emailtype1=3Dexact&email1=3D%use
rid%",
   "noresolveonopenblockers" : "0",
   "or_groups" : "1",
   "password_check_on_login" : "1",
   "password_complexity" : "no_constraints",
   "proxy_url" : "",
   "querysharegroup" : "editbugs",
   "quip_list_entry_control" : "open",
   "rememberlogin" : "on",
   "requirelogin" : "0",
   "search_allow_no_criteria" : "1",
   "shadowdb" : "",
   "shadowdbhost" : "",
   "shadowdbport" : "3306",
   "shadowdbsock" : "",
   "shutdownhtml" : "",
   "smtp_debug" : "1",
   "smtp_password" : "Axxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
   "smtp_ssl" : "1",
   "smtp_username" : "Axxxxxxxxxxxxxx",
   "smtpserver" : "email-smtp.us-west-2.amazonaws.com:587",
   "ssl_redirect" : "0",
   "sslbase" : "",
   "strict_isolation" : "0",
   "strict_transport_security" : "off",
   "timetrackinggroup" : "editbugs",
   "upgrade_notification" : "latest_stable_release",
   "urlbase" : "",
   "use_mailer_queue" : "0",
   "use_see_also" : "1",
   "useclassification" : "0",
   "usemenuforusers" : "0",
   "useqacontact" : "0",
   "user_info_class" : "CGI",
   "user_verify_class" : "DB",
   "usestatuswhiteboard" : "0",
   "usetargetmilestone" : "0",
   "usevisibilitygroups" : "0",
   "utf8" : "1",
   "webdotbase" : "",
   "webservice_email_filter" : "0",
   "whinedays" : "7"
}

Let me know if you have any other suggestions or troubleshooting tips.

Thanks,
Martin
0
martin
6/13/2018 1:05:57 PM
Guten Tag martin@emergent360.com,
am Mittwoch, 13. Juni 2018 um 15:05 schrieben Sie:

> I used the "Test" option per your suggestion.  The only file I saw
> get created under ./data is the params.json file[...]

Just to be clear, you did create a new user after changing to "Test"
exactly like you did before? Besides users, check if mails get created
with "Test" setting on new bugs or bug changes. Make sure to have all
bug related mails enabled in the user preferences the bug is assigned
to or who is CC or who does the change.

Mit freundlichen Gr=C3=BC=C3=9Fen,

Thorsten Sch=C3=B6ning

--=20
Thorsten Sch=C3=B6ning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

0
utf
6/13/2018 2:10:24 PM
On Wednesday, June 13, 2018 at 10:11:06 AM UTC-4, Thorsten Sch=C3=B6ning wr=
ote:
> Guten Tag mar...@emergent360.com,
> am Mittwoch, 13. Juni 2018 um 15:05 schrieben Sie:
>=20
> > I used the "Test" option per your suggestion.  The only file I saw
> > get created under ./data is the params.json file[...]
>=20
> Just to be clear, you did create a new user after changing to "Test"
> exactly like you did before? Besides users, check if mails get created
> with "Test" setting on new bugs or bug changes. Make sure to have all
> bug related mails enabled in the user preferences the bug is assigned
> to or who is CC or who does the change.
>=20
> Mit freundlichen Gr=C3=BC=C3=9Fen,
>=20
> Thorsten Sch=C3=B6ning
>=20
> --=20
> Thorsten Sch=C3=B6ning       E-Mail: Thorsten...@AM-SoFT.de
> AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
>=20
> Telefon...........05151-  9468- 55
> Fax...............05151-  9468- 88
> Mobil..............0178-8 9468- 04
>=20
> AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
> AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow



###################=20
New User Creation=20
###################=20

[Wed Jun 13 10:19:02.359186 2018] [cgi:error] [pid 4089] [client x.x.x.x:60=
528] AH01215: [Wed Jun 13 10:19:02 2018] editusers.cgi: Argument contains e=
mpty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y=
/editusers.cgi?action=3Dadd=20

[Wed Jun 13 10:19:02.359737 2018] [cgi:error] [pid 4089] [client x.x.x.x:60=
528] AH01215: [Wed Jun 13 10:19:02 2018] editusers.cgi: Argument contains e=
mpty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y=
/editusers.cgi?action=3Dadd=20


###############################=20
New Bug Creation & Assignment=20
###############################=20

[Wed Jun 13 10:49:50.151141 2018] [cgi:error] [pid 4468] [client x.x.x.x:60=
709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument contains em=
pty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y/=
enter_bug.cgi?product=3DTestProduct&component=3DTestComponent=20


[Wed Jun 13 10:49:50.151542 2018] [cgi:error] [pid 4468] [client x.x.x.x:60=
709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument contains em=
pty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y/=
enter_bug.cgi?product=3DTestProduct&component=3DTestComponent=20

Thanks,=20
Martin
0
martin
6/13/2018 3:22:27 PM
Guten Tag martin@emergent360.com,
am Mittwoch, 13. Juni 2018 um 16:57 schrieben Sie:

> [Wed Jun 13 10:19:02.359186 2018] [cgi:error] [pid 4089] [client
> 96.255.172.70:60528] AH01215: [Wed Jun 13 10:19:02 2018]
> editusers.cgi: Argument contains empty address at
> lib/Email/MIME/Encode.pm line 153., referer:
> http://52.222.101.65/editusers.cgi?action=3Dadd

Looks like you need to debug this further on your own:

https://mozilla.logbot.info/bugzilla/20180104#c14075865
https://www.mail-archive.com/meta@public-inbox.org/msg01865.html

Did you use install-module.pl to install dependencies? If so, try to
empty the lib folder and use the package manager of your distribution
instead. Use install-module.pl only for things not provided by the
package manager.

Mit freundlichen Gr=C3=BC=C3=9Fen,

Thorsten Sch=C3=B6ning

--=20
Thorsten Sch=C3=B6ning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Gesch=C3=A4ftsf=C3=BChrer: Andreas Muchow

0
utf
6/13/2018 3:24:39 PM
Reply: