Edgewall Software

Ticket #7542 (new enhancement)

Opened 4 months ago

Last modified 4 months ago

Do not send emails to 'smtp_from'

Reported by: anonymous Owned by: eblot
Priority: normal Milestone: 0.12
Component: notification Version:
Severity: major Keywords: mail loop smtp_from
Cc:

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

Change History

Changed 4 months ago by anonymous

The following code may be related to the feature request :

http://trac.edgewall.org/browser/tags/trac-0.11/trac/ticket/notification.py#L292

Changed 4 months ago by eblot

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.

Add/Change #7542 (Do not send emails to 'smtp_from')

Author



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