On Sun, Mar 02, 2014 at 04:01:42PM +0100, Guido Passet wrote: > For almost a week now I have been trying to correctly configure the > "To:" header for emails being send to AdminCcs. > > email but the email has a strange "To:" header. Depending on my > configuration I either get: > > "Owner,AdminCc of MyName Ticket #51":; > or: > "undisclosed-reciepents:;"
The former is using the default FriendlyToLineFormat and UseFriendlyToLine . The latter is what happens when the To: line is left blank, as in the case of notifying AdminCcs. This then leaves it to your MTA to choose what header to provide (many, such as older versions of postfix explicitly provide what you see). To: undisclosed-recipients:; http://www.postfix.org/postconf.5.html#undisclosed_recipients_header > instead of the queue-emailaddress. This makes replying to tickets > from email rather annoying as the AdminCc receiving the email needs > to correct the address he is replying to. RT sets a Reply-To: automatically. Their mail client should be using that. What mail client are you using which is ignoring that? > I have tried tinkering with UseFriendlyToLine and > FriendlyToLineFormat but to no avail. Trying to use the > FriendlyToLineFormat seems illogical as its arguments seem to be > WatcherType and TicketId.. I'm not sure why those are illogical. It lets you write a custom To line which says "This mail was sent to the Owners and AdminCcs of ticket 51" which some users appreciate (As long as sendmail isn't involved). > I must be doing something silly, either missing a configuration > setting or approaching this the wrong way. So any hints or pointers > into the right direction are much appreciated. I've been hitting reply to admincc emails from RT for more than a decade which have undisclosed-recipients:; in the To: header without an issue. -kevin
pgprH12v5QdeL.pgp
Description: PGP signature
-- RT Training London, March 19-20 and Dallas May 20-21 http://bestpractical.com/training