Currently on RT 4.4.3. This might have been answered somewhere, but my searching hasn’t come up with anything.
When RT receives an email from an unknown email address, it auto creates a user with that email address.
This user is set up as follows:
User: fred.bloggs@example.com
Email: fred.bloggs@example.com
Real Name:
The real name is blank.
All fine so far. Until there are many watchers/cc/requestors on the ticket from the domain example.com.
So you have a ticket the looks like:
Requestors: fred.bloggs@example.com, fred.smith@example.com, joe.turner@example.com
When one of the requestors, say, fred.smith@example.com replies to the email, it hits RT.
RT then updates the ticket and sends an email update with the From header like this:
Date: Thu, 01 Dec 2022 09:52:31 +0000
From: "fred.smith@example.com via RT" <support@ourdomain.net>
Subject: [TICKET #22222] Some support request
To: fred.bloggs@example.com, joe.turner@example.com
Now, example.com
uses a mail service such as Mimecast, which rejects messages where the sender’s email address appears anywhere in the From: header. (Even though RT correctly sets the From: address to us support@ourdomain.ne
t, the name/text part of the From: header contains the email address of the sender.)
RT receives a bounce as follows every time one of the watchers replies on the ticket (creating a new ticket in RT)
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
fred.bloggs@example.com
host eu-smtp-inbound-1.mimecast.com [91.220.42.201]
SMTP error from remote mail server after end of data:
550 Rejected by header based Anti-Spoofing policy:
fred.bloggs@example.com - https://community.mimecast.com/docs/DOC-1369#550 [oskDIRwDPeqgmYE5t6k7Xg.uk265]
joe.turner@example.com
host eu-smtp-inbound-1.mimecast.com [91.220.42.201]
SMTP error from remote mail server after end of data:
550 Rejected by header based Anti-Spoofing policy:
joe.turner@example.com - https://community.mimecast.com/docs/DOC-1369#550 [oskDIRwDPeqgmYE5t6k7Xg.uk265]
This “fix” for this is to edit fred.smith@example.com
’s profile in RT, and fill in the “Real Name” field, e.g. “Fred Smith” and then RT will send the header:
From: "Fred Smith" via RT <support@ourdomain.net>
But it’s quite annoying to have to keep fixing up user profiles. Even though the Full Name is present in the From: header of the incoming message, RT doesn’t populate the Real Name field when auto-creating new users.
Is there a way to get RT to put the right thing in the Real Name field, or if there is no name in the incoming message From: header, perhaps just use the local-part of the email address (before the @) sign so it doesn’t trip up the anti-spoofing policy of certain email providers?
Thanks.