Re: HELP。about bugzilla use SMTP service sendmail faild!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: HELP。about bugzilla use SMTP service sendmail faild!

fired.phoenix
Hi,was your problem solved? I also encounter this issue.
_______________________________________________
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
|  
Report Content as Inappropriate

Re: HELP。about bugzilla use SMTP service sendmail faild!

orcman1
On Wednesday, July 22, 2015 at 5:14:22 AM UTC-4, [hidden email] wrote:
> Hi,was your problem solved? I also encounter this issue.

Just wanted to contribute an answer for those still having trouble. I experienced this issue and it means exactly what it says: it tests the connection on port 25 (or whichever you specified) and fails.

First thing is to ping the smtp server IP from the bugzilla server to make sure there is general connectivity. Next try to test the connection on port 25 (default SMTP port) to see if it is accepting connections on the command line:

telnet *IP* 25

Most likely this will fail, confirming that bugzilla is not able to open a connection to the server on port 25. This means that bugzilla either cannot reach the smtp server (network connectivity), or it is being blocked.

Since I was running postfix on a private server, I needed to modify the security group assigned to the SMTP server to allow ingress on port 25, then modify the /etc/postfix/main.cf file to allow connections from the bugzilla server. By default it only accepts local connections. Note that I have modified the line to allow incoming connections from the entire 192.168.1.0 subnet. If I wanted to only allow a specific IP such as 192.168.1.5, you could write this in cidr notation as 192.168.1.5/32

mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 192.168.1.0/24

After opening up port 25 on the server and modifying the main.cf file to allow connections from the bugzilla subnet, I was able to save email changes successfully
_______________________________________________
support-bugzilla mailing list
[hidden email]
https://lists.mozilla.org/listinfo/support-bugzilla
PLEASE put [hidden email] in the To: field when you reply.
Loading...