Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Notification emails aren't sent

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


jdrukman at gmail

Nov 23, 2009, 2:56 PM

Post #1 of 3 (494 views)
Permalink
Notification emails aren't sent

I'm trying to debug why notification mails aren't getting sent.
Here's my configuration:

[notification]
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
mime_encoding = base64
smtp_always_bcc =
smtp_always_cc =
smtp_default_domain =
smtp_enabled = true
smtp_from = trac [at] thismoment
smtp_password =
smtp_port = 587
smtp_replyto = trac [at] thismoment
smtp_server = localhost
smtp_subject_prefix = __default__
smtp_user =
use_public_cc = false
use_short_addr = false
use_tls = false

The mail server is postfix 2.6.3. Whenever trac tries to send a
message, this appears in the maillog:

Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: connect from localhost
[127.0.0.1]
Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: lost connection after
CONNECT from localhost[127.0.0.1]
Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: disconnect from localhost
[127.0.0.1]

How can I debug what's happening in the smtp conversation?

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


jdrukman at gmail

Nov 23, 2009, 3:02 PM

Post #2 of 3 (486 views)
Permalink
Re: Notification emails aren't sent [In reply to]

I was able to get the trac debug log going. Here's the error:

Trac[web_ui] ERROR: Failure sending notification on change to ticket
#4132: gaierror: (-2, 'Name or service not known')

What's it trying to look up?

On Nov 23, 2:56 pm, Jon Drukman <jdruk...@gmail.com> wrote:
> I'm trying to debug why notification mails aren't getting sent.
> Here's my configuration:
>
> [notification]
> always_notify_owner = true
> always_notify_reporter = true
> always_notify_updater = true
> mime_encoding = base64
> smtp_always_bcc =
> smtp_always_cc =
> smtp_default_domain =
> smtp_enabled = true
> smtp_from = t...@thismoment.com
> smtp_password =
> smtp_port = 587
> smtp_replyto = t...@thismoment.com
> smtp_server = localhost
> smtp_subject_prefix = __default__
> smtp_user =
> use_public_cc = false
> use_short_addr = false
> use_tls = false
>
> The mail server is postfix 2.6.3.  Whenever trac tries to send a
> message, this appears in the maillog:
>
> Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: connect from localhost
> [127.0.0.1]
> Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: lost connection after
> CONNECT from localhost[127.0.0.1]
> Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: disconnect from localhost
> [127.0.0.1]
>
> How can I debug what's happening in the smtp conversation?

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.


jdrukman at gmail

Nov 23, 2009, 3:10 PM

Post #3 of 3 (485 views)
Permalink
Re: Notification emails aren't sent [In reply to]

SOLVED: this happens if your server hostname does not have a reverse
DNS entry. i changed it to the FQDN and it works now.

On Nov 23, 3:02 pm, Jon Drukman <jdruk...@gmail.com> wrote:
> I was able to get the trac debug log going.  Here's the error:
>
> Trac[web_ui] ERROR: Failure sending notification on change to ticket
> #4132: gaierror: (-2, 'Name or service not known')
>
> What's it trying to look up?
>
> On Nov 23, 2:56 pm, Jon Drukman <jdruk...@gmail.com> wrote:
>
> > I'm trying to debug why notification mails aren't getting sent.
> > Here's my configuration:
>
> > [notification]
> > always_notify_owner = true
> > always_notify_reporter = true
> > always_notify_updater = true
> > mime_encoding = base64
> > smtp_always_bcc =
> > smtp_always_cc =
> > smtp_default_domain =
> > smtp_enabled = true
> > smtp_from = t...@thismoment.com
> > smtp_password =
> > smtp_port = 587
> > smtp_replyto = t...@thismoment.com
> > smtp_server = localhost
> > smtp_subject_prefix = __default__
> > smtp_user =
> > use_public_cc = false
> > use_short_addr = false
> > use_tls = false
>
> > The mail server is postfix 2.6.3.  Whenever trac tries to send a
> > message, this appears in the maillog:
>
> > Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: connect from localhost
> > [127.0.0.1]
> > Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: lost connection after
> > CONNECT from localhost[127.0.0.1]
> > Nov 23 14:51:48 tm-dev1 postfix/smtpd[5447]: disconnect from localhost
> > [127.0.0.1]
>
> > How can I debug what's happening in the smtp conversation?

--

You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users [at] googlegroups
To unsubscribe from this group, send email to trac-users+unsubscribe [at] googlegroups
For more options, visit this group at http://groups.google.com/group/trac-users?hl=.

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.