I have Jenkins ver 1.524 installed in a Windows 7 window and am trying to set up email, but the Test Configuration reports errors. Jenkins runs as a service under my domain account.
My settings are as follows:
SMTP server: smtp.corpdomain.com Default user email suffix: @corpdomain.com Not using authentication Not using SSL SMTP port: 25 Reply-To Address: tools@corpdomain.com Charset: UTF-8
When I test the configuration, I usually get the following exception:
javax.mail.MessagingException: Could not connect to SMTP host: smtp.amazon.com, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect
However, every time I get the following:
com.sun.mail.smtp.SMTPSendFailedException: 553 5.1.8 < nobody@nowhere >... Domain of sender address nobody@nowhere does not exist ; nested exception is: com.sun.mail.smtp.SMTPSenderFailedException: 553 5.1.8 < nobody@nowhere >... Domain of sender address nobody@nowhere does not exist
However, I can send mail from the command line without errors using both python script and java (using javax.mail) without authentication, and I can connect to the SMTP server on port 25, so I don’t see how it could be problem with firewall.
Another note that may be related: when I try to install the plug-in via the Jenkins web interface, I get a 403 response for the URL " http://updates.jenkins-ci.org/update-center.json?uctest " . However, I can connect to this URL from a browser on the same computer.
Maybe this is a Tomcat configuration problem? I am not familiar with Tomcat, so I'm not sure where to even start looking. Maybe the Jenkins configuration I missed? Any other ideas?
Thanks in advance!
source share