Bugzilla Not Sending Emails

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bugzilla Not Sending Emails

martin-2
Ladies & Gents,

I'm at my wits end here with trying to figure out why my new Bugzilla installation 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 happens.  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: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=add
[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=add 

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 correct - 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:587 with no luck.

To make sure that my mail configuration parameters are correct, I've configured postfix with smtp.gmail.com and I was able to send test messages out from 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.  

Any help would be immensely appreciated.

Regards,
Martin  
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla Not Sending Emails

martin-2
On Wednesday, June 13, 2018 at 4:57:54 AM UTC-4, Thorsten Schöning wrote:

> Guten Tag [hidden email],
> 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=add
> > [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=add 
>
> > 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üßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> 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äftsführer: Andreas Muchow

Greetings Thorsten and thank you for the reply.

I haven't done any customization to Bugzilla.  Just a plain-vanilla installation.

I used the "Test" option per your suggestion.  The only file I saw get created under ./data is the params.json file and I don't see anything that raises 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=---&emailassigned_to1=1&emailassigned_to2=1&emailreporter2=1&emailcc2=1&emailqa_contact2=1&emaillon
gdesc3=1&order=Importance&long_desc_type=substring",
   "defaultseverity" : "enhancement",
   "duplicate_or_move_bug_status" : "RESOLVED",
   "emailregexp" : "^[\\w\\.\\+\\-=']+@[\\w\\.\\-]+\\.[\\w\\-]+$",
   "emailregexpdesc" : "A legal address must contain exactly one '@', and at 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" : "[hidden email]",
   "maintainer" : "[hidden email]",
   "makeproductgroups" : "0",
   "max_search_results" : "10000",
   "maxattachmentsize" : "1000",
   "maxlocalattachment" : "0",
   "maxusermatches" : "1000",
   "memcached_namespace" : "bugzilla:",
   "memcached_servers" : "",
   "musthavemilestoneonaccept" : "0",
   "mybugstemplate" : "buglist.cgi?resolution=---&emailassigned_to1=1&emailreporter1=1&emailtype1=exact&email1=%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
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla Not Sending Emails

martin-2
On Wednesday, June 13, 2018 at 10:11:06 AM UTC-4, Thorsten Schöning wrote:

> Guten Tag [hidden email],
> 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üßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> 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äftsführer: Andreas Muchow

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

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 contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52.222.101.65/editusers.cgi?action=add

[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 contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52.222.101.65/editusers.cgi?action=add


###############################
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 contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52.222.101.65/enter_bug.cgi?product=TestProduct&component=TestComponent


[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 contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://52.222.101.65/enter_bug.cgi?product=TestProduct&component=TestComponent

Thanks,
Martin
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Reply | Threaded
Open this post in threaded view
|

Re: Bugzilla Not Sending Emails

martin-2
In reply to this post by martin-2
On Wednesday, June 13, 2018 at 10:11:06 AM UTC-4, Thorsten Schöning wrote:

> Guten Tag [hidden email],
> 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üßen,
>
> Thorsten Schöning
>
> --
> Thorsten Schöning       E-Mail: [hidden email]
> 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äftsführer: Andreas Muchow



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

[Wed Jun 13 10:19:02.359186 2018] [cgi:error] [pid 4089] [client x.x.x.x: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://y.y.y.y/editusers.cgi?action=add 

[Wed Jun 13 10:19:02.359737 2018] [cgi:error] [pid 4089] [client x.x.x.x: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://y.y.y.y/editusers.cgi?action=add 


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

[Wed Jun 13 10:49:50.151141 2018] [cgi:error] [pid 4468] [client x.x.x.x:60709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y/enter_bug.cgi?product=TestProduct&component=TestComponent 


[Wed Jun 13 10:49:50.151542 2018] [cgi:error] [pid 4468] [client x.x.x.x:60709] AH01215: [Wed Jun 13 10:49:50 2018] post_bug.cgi: Argument contains empty address at lib/Email/MIME/Encode.pm line 153., referer: http://y.y.y.y/enter_bug.cgi?product=TestProduct&component=TestComponent 

Thanks,
Martin
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.