Hi,
For almost a week now I have been trying to correctly configure the
“To:” header for emails being send to AdminCcs.
My setup is, i think, quite common but last time I administrated RT it
was at an early version v3 and I understand that v4 may want me to deal
with things differently. I tried searching Google and mailing lists and
did find a related question (link below) but without a clear answer.
Hence im asking this list 
In a nutshell i have:
When i send an email to the queue-configured email address the ticket is
automatically assigned to the queue. The response to the requestor is
perfect. When pressing reply in the requestor email-client the
return-address is that of the queue. Which works great.
The problem occurs with email notifications to the watchers. They do get
a neat “ticket has been raised in a queue you are watching” 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:;”
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.
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 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.
Best regards,
Guido.
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).
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
Dear Kevin,
Thank you for taking the time to respond. Unfortunately for me I have
not been able to entirely resolve the issue just yet but the problem
appears to be outside of RT.
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:;
Postfix Configuration Parameters
I have tested all variations of the aforementioned configuration options
on recent postfix setups. Either with the default
undisclosed_recipients_header setting or defining it explicitly as empty.
The best setup I could get to was an empty “To:” option in the
mail-client of preference. Which, this week seems to be Thunderbird.
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?
The Reply-To: field is picked up perfectly. The issue appears with To:
or the missing To:… This instance of Thunderbird 24.x seems to have
some trouble dealing with this… Interestingly a cross-check with a
webmail or mutt client reveals that things work perfectly fine. The
culprit seems to be with Thunderbird…
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 never thought of it or used it like this before. Makes sense now. Tnx.
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.
Same here (though almost a decade now)… its why I could not believe my
RT test setup would behave so strangely in a default install.
Thanks again for the pointers. It seems i am able to progress now.
Best regards,
Guido.