Re: HELP。about bugzilla use SMTP service sendmail faild！
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