Suppose there is an instance of Sendmail 8.14.4 which handles incoming and outgoing email messages for domains a.com and b.com.
Now, what I'd like to achieve is the following: If Sendmail sends a message with a FROM of the form [email protected], it should use mx.a.com as HELO name, and if it sends a message with a FROM of the form [email protected], it should use mx.b.com as HELO name, i.e. I'd like to generate the HELO name for every outgoing message dynamically according to the envelope-from (SMTP MAIL FROM) or the From: Header, respectively.
Is this possible? Currently, I have configured the HELO name for all messages to be mx.a.com (using confDOMAIN_NAME or confHELO_NAME, respectively).
0 Answers