id summary reporter owner description type status priority component severity resolution keywords cc release 7676 'smtp_from' disregarded: wrong sender-email Crunk Robert Corsaro "AnnouncerPlugin 0.12-p2.dev is sending mails to ""undisclosed-recipients: ;""@.com from an unspecified address: trac@localhost (probably via sendmail?), although a smtp is configured for AnnouncerPlugin: {{{ [announcer] admit_domains = always_notify_component_owner = true always_notify_owner = true always_notify_reporter = true always_notify_updater = true default_email_format = text/html email_address_resolvers = SpecifiedEmailResolver, SessionEmailResolver email_enabled = true ignore_domains = mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true smtp_from = trac-no-reply@mydomain.com smtp_from_name = Trac smtp_password = smtp_port = 25 smtp_replyto = no-reply@mydomain.com smtp_server = smtp.mydomain.com smtp_subject_prefix = __default__ smtp_timeout = 30 smtp_user = ticket_email_header_fields = owner, reporter, milestone, component, priority, severity. ticket_email_subject = Ticket #${ticket.id}: ${ticket['summary']}. ticket_subject_template = $prefix $ticket.id: $summary use_public_cc = False use_short_addr = false use_tls = false }}} Adding {{{ [notification] smtp_enabled = true smtp_from = trac-no-reply@mydomain.com smtp_from_name = Trac smtp_password = smtp_port = 25 smtp_replyto = no-reply@mydomain.com smtp_server = smtp.mydomain.com smtp_subject_prefix = __default__ smtp_timeout = 30 smtp_user = }}} to my trac.ini results in receiving two mails: one from trac as specified in {{{[nofication]}}} section and one from AnnouncerPlugin from trac@localhost. Log: {{{ 2010-09-13 11:25:02,908 Trac[main] DEBUG: Dispatching 2010-09-13 11:25:02,924 Trac[web_ui] DEBUG: Updating session ca111a081b816f420754f2911f4a9072 for user vogelbj 2010-09-13 11:25:02,960 Trac[session] DEBUG: Retrieving session for ID u'crunk' 2010-09-13 11:25:02,970 Trac[main] DEBUG: Negotiated locale: ['de-de', 'de', 'en-us', 'en'] -> de 2010-09-13 11:25:03,024 Trac[api] INFO: Synchronized '' repository in 0.11 seconds 2010-09-13 11:25:03,030 Trac[web_ui] DEBUG: Updating session ca111a081b816f420754f2911f4a9072 for user crunk 2010-09-13 11:25:03,130 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'crunk (authenticated)' because of rule: always_notify_ticket_owner 2010-09-13 11:25:03,137 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'crunk (authenticated)' because of rule: always_notify_ticket_component_owner 2010-09-13 11:25:03,144 Trac[ticket_compat] DEBUG: LegacyTicketSubscriber added 'crunk (authenticated)' because of rule: always_notify_ticket_reporter 2010-09-13 11:25:03,165 Trac[api] DEBUG: AnnouncementSystem has found the following subscriptions: [crunk(authenticated) via email] 2010-09-13 11:25:03,166 Trac[mail] DEBUG: EmailDistributor has found the following formats capable of handling 'email' of 'ticket': text/html, text/plain 2010-09-13 11:25:03,170 Trac[mail] DEBUG: EmailDistributor determined the preferred format for 'crunk (authenticated)' is: text/html 2010-09-13 11:25:03,175 Trac[mail] DEBUG: EmailDistributor found the address 'crunk@mydomain.com' for 'crunk (authenticated)' via: SessionEmailResolver 2010-09-13 11:25:03,176 Trac[mail] DEBUG: EmailDistributor expected local delivery for crunk to: crunk@mydomain.com 2010-09-13 11:25:03,176 Trac[mail] DEBUG: EmailDistributor is sending event as 'text/html' to: crunk@mydomain.com 2010-09-13 11:25:03,482 Trac[mail] DEBUG: Content of recip_adds: [u'crunk@mydomain.com'] 2010-09-13 11:25:03,702 Trac[mail] DEBUG: EmailDistributor took 0.2 seconds to send. 2010-09-13 11:25:03,704 Trac[api] DEBUG: AnnouncementSystem sent event in 0.58 seconds. 2010-09-13 11:25:03,746 Trac[notification] INFO: Sending notification through SMTP at smtp.mydomain.com:25 to [u'crunk@mydomain.com'] 2010-09-13 11:25:03,807 Trac[web_ui] DEBUG: Side effect for ConfigurableTicketWorkflow 2010-09-13 11:25:04,077 Trac[main] DEBUG: Dispatching 2010-09-13 11:25:04,087 Trac[web_ui] DEBUG: Updating session ca111a081b816f420754f2911f4a9072 for user crunk 2010-09-13 11:25:04,110 Trac[session] DEBUG: Retrieving session for ID u'crunk' 2010-09-13 11:25:04,115 Trac[main] DEBUG: Negotiated locale: ['de-de', 'de', 'en-us', 'en'] -> de 2010-09-13 11:25:04,146 Trac[api] INFO: Synchronized '' repository in 0.07 seconds 2010-09-13 11:25:04,148 Trac[web_ui] DEBUG: Updating session ca111a081b816f420754f2911f4a9072 for user crunk 2010-09-13 11:25:04,182 Trac[default_workflow] DEBUG: render_ticket_action_control: action ""leave"" 2010-09-13 11:25:04,182 Trac[default_workflow] DEBUG: render_ticket_action_control: action ""reopen"" 2010-09-13 11:25:04,187 Trac[chrome] DEBUG: Prepare chrome data for request }}}" defect closed normal AnnouncerPlugin minor invalid 0.12