Modify

Opened 5 years ago

Closed 12 months ago

#4767 closed defect (fixed)

DefaultCC always sends to Plugin@domain.com

Reported by: anonymous Owned by: rjollos
Priority: normal Component: DefaultCcPlugin
Severity: normal Keywords:
Cc: thanatermesis.elive@…, mho2@… Trac Release: 0.11

Description

Somehow DefaultCC always adds Plugin@… to the To: list. Any suggestion?

Attachments (0)

Change History (9)

comment:1 Changed 5 years ago by jeangui

I think that's a combination of the username "DefaultCC Plugin" and a particular notification configuration, namely use_public_cc, use_short_addr.
Setting these two conf vars, I get

To: jeangui, DefaultCC Plugin

which is slightly different to what you seem to have.

Could you post the content of your [notification] section and the header of an email sent when new tickets are created?

comment:2 Changed 5 years ago by Thanatermesis

  • Cc thanatermesis.elive@… added

Could be nice if we have a group of default CC's instead of assign emails to the components, on that way we can use more than one group of emails to any component, imagine the case:

  • Component: Kernel
  • Group-Emails: C-Coders, Packagers, Testers

comment:3 Changed 5 years ago by anonymous

I've been able to use AnnouncerPlugin (which support groups) and DefaultCC to do that.

comment:4 Changed 5 years ago by anonymous

i have similar problem. emails always get send to plugin@<domain.com>. Both my use_public_cc and use_short_addr are set to false.

comment:5 Changed 5 years ago by anonymous

  • Cc mho2@… added

comment:6 Changed 3 years ago by anonymous

Did anyone find a solution to this?

comment:7 Changed 2 years ago by heita

That's because DefaultCC updates the 'cc' field by user 'DefaultCC
Plugin', and Trac tries to send mail to updater. It seems to me that
the following fix is appropriate.

  • main.py

    old new  
    4040        if ticket['cc']: 
    4141            ticket['cc'] += ', ' 
    4242        ticket['cc'] += comp_default_cc.cc 
    43         ticket.save_changes('DefaultCC Plugin', '') 
     43        ticket.save_changes(ticket['reporter'], '') 
    4444 
    4545    def ticket_changed(self, ticket, comment, author, old_values): 
    4646        return 

comment:8 Changed 21 months ago by rjollos

  • Owner changed from jeangui to rjollos
  • Status changed from new to assigned

Should be fixed with [11747] in #4919.

comment:9 Changed 12 months ago by rjollos

  • Resolution set to fixed
  • Status changed from assigned to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.