Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#5740 closed defect (worksforme)

Unable to send notifications to invalid e-mail addresses

Reported by: Koen Werdler <werdlerk@…> Owned by: Emmanuel Blot
Priority: normal Milestone:
Component: notification Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (2)

comment:1 by Emmanuel Blot, 17 years ago

Resolution: worksforme
Severity: majornormal
Status: newclosed

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.

comment:2 by Koen Werdler <werdlerk@…>, 17 years ago

Sorry, I will ask in the MailingList next time.

Thanks for your tip!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Emmanuel Blot.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Emmanuel Blot to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.