Opened 10 years ago
Closed 8 years ago
#12177 closed defect (wontfix)
Only sending emails to known recipients
Reported by: | 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:2 Changed 8 years ago by
Owner: | Steffen Hoffmann deleted |
---|
comment:3 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
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.
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?