I've searched many forums and tried a lot but I can't get it working. I want to be able to set the FROM address but it's changed to the main domain name when received.
So I try to send from oscar@domain2.com but it changes to oscar@domain1.com.
In the mail header I get:
x-authentication-warning: domain1.com: set sender to
oscar@domain2.com using -f
I tried putting ' in /etc/mail/trusted-users
And put 'FEATURE(`use_ct_file')' in the /etc/mail/submit.mc.
Restarted sendmail but no effect.
So I try to send from oscar@domain2.com but it changes to oscar@domain1.com.
In the mail header I get:
x-authentication-warning: domain1.com: set sender to
oscar@domain2.com using -f
I tried putting ' in /etc/mail/trusted-users
And put 'FEATURE(`use_ct_file')' in the /etc/mail/submit.mc.
Restarted sendmail but no effect.