Edgewall Software

Ticket #5740 (closed defect: worksforme)

Opened 16 months ago

Last modified 16 months ago

Unable to send notifications to invalid e-mail addresses

Reported by: Koen Werdler <werdlerk@…> Owned by: eblot
Priority: normal Milestone:
Component: notification Version:
Severity: normal Keywords:
Cc:

Description

We are using Trac inside our corporate network. To send e-mail/notifications we are using the corportate SMTP server (Microsoft Exchange) since that's the only SMTP server we have access to.
However, since relaying is disabled, we can only send e-mails to people on the same domain by using the format "firstname.surname" as the e-mail address (thus, without any "@domain.com" part). If a fully qualified e-mail address is used the error "'5.7.1 Unable to relay for firstname.surname@…'" is returned.

With the upgrade to Trac 0.10.4 Trac now doesn't send e-mails to malformed e-mail addresses, effectively disabling all the notification functionality of our trac environment:

2007-07-20 09:39:41,877 Trac[notification] INFO: Email address w/o domain: benjamin
2007-07-20 09:39:41,878 Trac[notification] INFO: Invalid email address: koen.werdler
2007-07-20 09:39:41,878 Trac[notification] INFO: Invalid email address: ron.smits
2007-07-20 09:39:41,879 Trac[notification] INFO: Invalid email address: koen.werdler
2007-07-20 09:39:41,879 Trac[notification] INFO: Invalid email address: koen.werdler
2007-07-20 09:39:41,880 Trac[notification] INFO: Email address w/o domain: ron.smits
2007-07-20 09:39:41,880 Trac[notification] INFO: Email address w/o domain: koen.werdler
2007-07-20 09:39:41,881 Trac[notification] INFO: no recipient for a ticket notification

I haven't found any property inside trac.ini to have Trac send e-mails to malformed e-mail addresses anyway.

What would be the solution to this?

Attachments

Change History

Changed 16 months ago by eblot

  • status changed from new to closed
  • resolution set to worksforme
  • severity changed from major to normal

Enable "use_short_addr" in the [notification] section.

However:

  • please ask installation questions to the MailingList first
  • please specify which release of Trac you're using when you create a ticket (using the dedicated Version field.

Changed 16 months ago by Koen Werdler <werdlerk@…>

Sorry, I will ask in the MailingList next time.

Thanks for your tip!

Add/Change #5740 (Unable to send notifications to invalid e-mail addresses)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from eblot. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.