You should be able to create an mfilter rule and use the add_header function to add this header to the messages.
So, something like this…
If (isin("from","email@example.com")) then
call add_header("X-SES-CONFIGURATION-SET: TLS_Required ")
From: Tim Otto <firstname.lastname@example.org>
Sent: Wednesday, November 20, 2019 1:14 PM
Subject: [SurgeMail List] Add Header to Outbound Mail for One Address
Our current configuration has Surgemail sending it’s outbound mail through Amazon SES. We would like to use their capability of forcing TLS for outbound emails (dropping the connection if it can’t establish TLS) but only for one address.
To do this they require we add the following header to messages:
Is there a way to add this header into the outbound messages for only a single sender? Sender address or client IP address would both be unique to this sender so we can match on either as needed.
Regards, Tim Otto
Information Technology, System Administrator
Crocker Client Support
Hours (EST): Mon - Fri 8am-8pm
Telephone: Springfield 413-654-1000 Greenfield 413-475-1000 Northampton 413-387-1000
This e-mail and any attachments to it contain confidential business information intended solely for recipients. If you have received this e-mail in error, please do not forward or distribute it. Please notify the sender and delete
this message immediately from your computer.