Modify

Opened 9 years ago

Closed 7 years ago

#12177 closed defect (wontfix)

Only sending emails to known recipients

Reported by: massimo.b@… Owned by:
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description

Is it possible to restrict all emails sent to recipients only that are known on Trac?

  • For example starting a new ticket was sending an email to somebody@localdomain.
  • Or modifiying a ticket on the test-environment, where some admin user was previously existing on Trac and created that ticket. The admin was removed, some user got admin permissions. Changing the ticket was still sending an email to admin@localdomain, eventhough that was never the mail address of that previous admin user.

All these mails are very annoying for some default catcher of the Mail administrator.

I guess this is related to email_address_resolvers for limiting the mails to only known addresses.



BTW. Can you provide a complete documentation of configuration?

I started with

[notification]
admit_domains = localdomain
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true
ambiguous_char_width = single
batch_subject_template = $prefix Batch modify: $tickets_descr
email_sender = SmtpEmailSender
ignore_domains = 
mime_encoding = none
sendmail_path = sendmail
smtp_always_bcc = 
smtp_always_cc = 
smtp_default_domain = localdomain
smtp_enabled = true
smtp_from = project@localdomain
smtp_from_author = false
smtp_from_name = Trac (project)
smtp_password = 
smtp_port = 25
smtp_replyto = 
smtp_server = exchange
smtp_subject_prefix = __default__
smtp_user = 
ticket_subject_template = $prefix #$ticket.id: $summary
use_public_cc = true
use_short_addr = false
use_tls = false

[announcer]                                                                                                                                               
ctxtnav_names =
default_email_format = text/plain
email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver, DefaultDomainEmailResolver
email_enabled = true
email_from = project@localdomain
email_from_name = Trac (project)
email_sender = SmtpEmailSender
email_subject_prefix = __default__
email_to = undisclosed-recipients:
mime_encoding = base64
use_public_cc = false
use_threaded_delivery = false

while still having a functional [notification] section with SMTP configured. As emails are sent, I guess the SMTP configuration is taken from [notification] or is this section completely ignored if AnnouncePlugin is enabled?

  • What does threaded_delivery mean?
  • What is email_to used for?
  • Is use_public_cc from the [notification] section still used to the AnnouncerPlugin?
  • As reading that the old [notification] can be completely used in [announcer], do all variables make have a function there like always_notify_owner for example?

Best regards, Massimo

Attachments (0)

Change History (3)

comment:1 Changed 9 years ago by massimo.b@…

This section describes what to enable for making old option being obeyed... AnnouncerPlugin#LegacyModules. But I can't find a StaticTicketSubscriber or LegacyTicketSubscriber.

And where do I find that view? http://trac-hacks.org/raw-attachment/wiki/AnnouncerPlugin/TicketNotificationPreferences.png

Last edited 9 years ago by Ryan J Ollos (previous) (diff)

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: Steffen Hoffmann deleted

comment:3 Changed 7 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

Please upgrade to Trac 1.2, which has integrated the core of AnnouncerPlugin. Please raise the issue on the trac:MailingList if you encounter the issue with Trac 1.2.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.