3553: Email timeout

jole****@gmai***** (Google Code) (Is this you? Claim this profile.)
Jan. 2, 2015
What version are you running?
1.7.22


What's the URL of the page containing the problem?
/admin/settings/email/

What steps will reproduce the problem?
1. trying to update/publish any review
2.
3.

What is the expected output? What do you see instead?
An email is expected to be sent to several reviewers, but nothing happens.


What operating system are you using? What browser?
redhat, chrome


Please provide any additional information below.
First I'll apologize as I am not a linux user on an even remotely regular basis. We recently changed the server that our reviewboard emails went through. In the end the only thing that changed was the password for the email account that reviewboard uses. The name of the server remained the same.

After changing the password it seems that emails are no longer being sent. I was able to find the logs and it shows this.
****************************************************
ect 'Re: Review Request 211: Language Change Fix - VIRTEC' on behalf of 'joshua.                                                             

    melver@cf.distek.com' to '"Trevor McCormack" <trevor.mccormack@cf.distek.com>,"B                                                         

        enjamin  Jefferson" <benjamin.jefferson@cf.distek.com>,joshua.melver@cf.distek.c                                                     

            om,"Chris Thatcher" <chris.thatcher@cf.distek.com>': [Errno 110] Connection time                                                 

                d out
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.22-py2.6.egg/reviewboar                                                             

    d/notifications/email.py", line 267, in send_review_mail
    message.send()
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/mai                                                             

    l/message.py", line 248, in send
    return self.get_connection(fail_silently).send_messages([self])
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/mai                                                             

    l/backends/smtp.py", line 85, in send_messages
    new_conn_created = self.open()
  File "/usr/lib/python2.6/site-packages/Django-1.4.10-py2.6.egg/django/core/mai                                                             

    l/backends/smtp.py", line 48, in open
    local_hostname=DNS_NAME.get_fqdn())
  File "/usr/lib/python2.6/smtplib.py", line 239, in __init__
    (code, msg) = self.connect(host, port)
  File "/usr/lib/python2.6/smtplib.py", line 295, in connect
    self.sock = self._get_socket(host, port, self.timeout)
  File "/usr/lib/python2.6/smtplib.py", line 273, in _get_socket
    return socket.create_connection((port, host), timeout)
  File "/usr/lib/python2.6/socket.py", line 567, in create_connection
    raise error, msg
error: [Errno 110] Connection timed out
*********************************************

Several other programs/machines are using the new host with no problems, but reviewboard times out.

I assume I'm missing a setting via commandline that is very obvious to regular linux users, but I have no clue. Any help would be appreciated.
david
#1 david
This is definitely a misconfiguration. We just use django/python's built-in email support, which is very well tested.
  • +SetupIssue