Opened 16 years ago
Closed 15 years ago
#7542 closed enhancement (wontfix)
Do not send emails to 'smtp_from'
Reported by: | anonymous | Owned by: | Emmanuel Blot |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | notification | Version: | |
Severity: | major | Keywords: | mail loop smtp_from |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
As discussed on irc earlier today, it could be a good idea to ignore notifications to smtp_from.
There should be an option in trac.ini :
do_not_notify_smtp_from = 1 # or 1
If it is 1, any notification going to the address specified in smtp_from should be dropped.
This would help with mailing loops some users have been experiencing but does not prevent users having problems because of changed functionality.
Attachments (0)
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
I've not followed the discussion, but do you mean that you use a real user name as the sender of a Trac email?
This means that Trac impersonates the real user, or is there another use case for this option?
I think Trac has already to many options to deal with (so many) SMTP environments. I'd rather see a dedicated SMTP relay with proper settings rather than re-implementing even more SMTP features inside Trac.
comment:3 by , 15 years ago
Milestone: | 0.12 |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
I agree with eblot, and there were not better suggestions for 14 months. Closing as wontfix.
The following code may be related to the feature request :
http://trac.edgewall.org/browser/tags/trac-0.11/trac/ticket/notification.py#L292