Getting 'undisclosed recipients' in emails sent by RT

I’ve noticed recently that emails sent through postfix (running on local
machine) from RT are arriving with ‘undisclosed recipient’ in the To: field.
I’m currently trying to figure how this may have happened and how I can
force the To: field to be populated with the server’s return address

Mike Gracy

Unix/Network Sysadmin

525 Market St.
34th Floor
San Francisco, Ca 94105

Desk-415.829.6174
Fax-415-829-6174

This is happening because RT is generating the email with no To:, or Cc:
headers, only Bcc:. Postfix is throwing in an empty “Undisclosed
Recipients” group as a To:.

Put the following line in your main.cf, and it will use that instead,
but it will be for every email generated through the MTA without To:
and Cc: headers.

undisclosed_recipients_header = To: Name

Personally, I don’t really think it’s “broken” behavior (especially
after reading the RFCs), but I know that some things don’t play nice
with empty groups in the To: header.

Jacob Helwig
PC Technician
Busch’s Help Desk
Desk: x35221
Direct: 734-214-8221-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of Mike
Gracy
Sent: Wednesday, October 17, 2007 2:31 PM
To: RT-Users@lists.bestpractical.com
Subject: [rt-users] Getting ‘undisclosed recipients’ in emails sent by
RT

I’ve noticed recently that emails sent through postfix (running on local

machine) from RT are arriving with ‘undisclosed recipient’ in the To:
field.
I’m currently trying to figure how this may have happened and how I can
force the To: field to be populated with the server’s return address

Mike Gracy

Unix/Network Sysadmin

525 Market St.
34th Floor
San Francisco, Ca 94105

Desk-415.829.6174
Fax-415-829-6174

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Since the From: should be set correctly (your queue’s comment address),
hitting reply should do the Right Thing™, no matter what the To: was
set to.

Jacob Helwig
PC Technician
Busch’s Help Desk
Desk: x35221
Direct: 734-214-8221From: Mike Gracy [mailto:mike.gracy@mypointscorp.com]
Sent: Wednesday, October 17, 2007 3:20 PM
To: Jacob Helwig
Subject: Re: [rt-users] Getting ‘undisclosed recipients’ in emails sent
by RT

Okay, but will rt correctly parse a reply to given ticket from one of
various queue’s I have.
If not, how do I force the outgoing mail to always have the return email

as defined in the queue config?

Jacob Helwig wrote:

This is happening because RT is generating the email with no To:, or
Cc:
headers, only Bcc:. Postfix is throwing in an empty “Undisclosed
Recipients” group as a To:.

Put the following line in your main.cf, and it will use that instead,
but it will be for every email generated through the MTA without To:
and Cc: headers.

undisclosed_recipients_header = To: Name

Personally, I don’t really think it’s “broken” behavior (especially
after reading the RFCs), but I know that some things don’t play nice
with empty groups in the To: header.

Mike Gracy

Unix/Network Sysadmin

525 Market St.
34th Floor
San Francisco, Ca 94105

Desk-415.829.6174
Fax-415-829-6174

What is the From: on the emails in question? What is showing up in the
the reply message?

Jacob Helwig
PC Technician
Busch’s Help Desk
Desk: x35221
Direct: 734-214-8221From: Mike Gracy [mailto:mike.gracy@mypointscorp.com]
Sent: Wednesday, October 17, 2007 3:28 PM
To: Jacob Helwig
Subject: Re: [rt-users] Getting ‘undisclosed recipients’ in emails sent
by RT

The problem around here is when ReplyAll doesn’t do the Right Thing.
Verified this in both Outlook via Exchange and Thunderbird via Pop and
IMAP to Exchange. Just to note, I verified that the emails are leaving
the postfix server (going to Exchange) have an empty To: field.

Jacob Helwig wrote:

Since the From: should be set correctly (your queue’s comment
address),
hitting reply should do the Right Thing™, no matter what the To:
was
set to.

Mike Gracy

Unix/Network Sysadmin

525 Market St.
34th Floor
San Francisco, Ca 94105

Desk-415.829.6174
Fax-415-829-6174