On Wednesday, June 8, 2016 at 10:45:27 PM UTC-6, Andrzej Adam Filip wrote:
>
> You may add Sender: header to EVERY email sendmail gets using the
> lines below:
>
> LOCAL_CONFIG
> HSender: <
recogni...@example.com>
>
> * Could you tell how COTS application pass messages to sendmail?
> (execution of sendmail binary as user X, connections to
127.0.0.1:25
> from user X, SMTP AUTH from fixed IP address).
> * Could you name your OS/distribution
> (it may indicate additional tools available e.g. linux firewall)
>
> It may help to avoid making sendmail add the header to EVERY email.
>
> --
> [Andrew] Andrzej A. Filip -
https://www.linkedin.com/in/andfil
Tried your suggestion since it may be ok to use same address for all emails from this server (will have to check with management tomorrow), BUT I still get the same result; i.e. the value (email address) in "Sender:" header is replaced with the original "From:" address. (note:the envelope sender and body header "From" address are the same).
Corrections from previous reply...
We are running sendmail 8.15.0.59
OS = Centos based distribution
uname -r
2.6.32-431.29.2.el6.P1.x86_64