Edgewall Software

Changes between Initial Version and Version 1 of Ticket #2921


Ignore:
Timestamp:
Mar 23, 2006, 12:54:07 AM (18 years ago)
Author:
Emmanuel Blot
Comment:

Which OS are you using ?

Can you try to run a SMTP test from a simple Python script, such as:

import smtplib
s = smtplib.SMTP('mail.communi.tv', 25)
s.login('dev@communi.tv', 'ctvdev05')
s.sendmail('dev@communi.tv', ['dev@communi.tv'], "TEST")
s.close()

Do not forgot to run your test with the same user as your web server. Some Linux systems do not accept SMTP outgoing connection from the web 'user', for example…

Anyway, there's something wrong with this setup:

telnet mail.communi.tv 25
Trying 217.116.16.4...
Connected to mail.communi.tv.
Escape character is '^]'.
220 bandalatina.com ESMTP
EHLO free.fr
250-bandalatina.com
250-PIPELINING
250-8BITMIME
250 SIZE 15000000

Your email server does not report support for authentication (AUTH), whereas you are explicitly authenticating on the server (smtp_user, smtp_password). It should report something as:

250-AUTH PLAIN

for example.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2921 – Description

    initial v1  
    11I'm getting the following error when adding a new ticket or changing an existing one. I'm running 0.9.4 an my trac.ini [notification] section looks like:
    22
     3{{{
    34[notification]
    45always_notify_owner = true
     
    1314smtp_from = dev@communi.tv
    1415smtp_user = dev@communi.tv
     16}}}
    1517
    1618Here's the error.
    1719
     20{{{
    182121:59:03 Trac[web_ui] ERROR: Failure sending notification on change to ticket #6: (-2, 'Name or service not known')
    1922Traceback (most recent call last):
     
    3134    addr = socket.gethostbyname(socket.gethostname())
    3235gaierror: (-2, 'Name or service not known')
     36}}}
    3337
    3438I've been looking into another similar tickets, but doesn't seems to work for me.