Ticket #5740 (closed defect: worksforme)
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?


