[Mailman-Users] Outbound smtp email problems: (110, 'Connection timed out')

Mark Sapiro msapiro at value.net
Mon May 16 17:27:18 CEST 2005


Jim Tittsler wrote:
>
>Mailman tries to connect to your mail host (DEFAULT_EMAIL_HOST
>in the simplest case, but it is a function of the
>add_virtualhost() statements in your mm_cfg.py).  This is not
>specified as localhost (or 127.0.0.1)... so this is not a fair
>test.

Are you sure Jim? This is the code in SMTPDirect.py

    def __connect(self):
        self.__conn = smtplib.SMTP()
        self.__conn.connect(mm_cfg.SMTPHOST, mm_cfg.SMTPPORT)
        self.__numsessions = mm_cfg.SMTP_MAX_SESSIONS_PER_CONNECTION


--
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan




More information about the Mailman-Users mailing list