Hi
We are using Sendmail version 8.13.1 on RHEL 4 and facing mailing problem
Currently, all emails are sent from the mail server in the following
format :
UserName@MyServer.MydomainName.com
i.e
root@ggns1dev04.hsc.com
We need to have all emails sent using the correct format of :
(UserName@MydomainName.com) i.e
root@hsc.com
------------------------------------------------------------------------
Here is mail -v command output
mahesh.sharma@hsc.com... Connecting to [IPAddress_Remote_SMTP_Server] via relay...
220 "HostName_Remote_SMTP_Server".in ESMTP
>>> EHLO "MyServer.MydomainName.com"
250-"HostName_Remote_SMTP_Server"
250-8BITMIME
250 SIZE 10485760
>>> MAIL From:<Root@MyServer.MydomainName.com> SIZE=61
250 sender <Root@MyServer.MydomainName.com> ok
>>> RCPT To:<maheshs@yahoo.com>
250 recipient <maheshs@yahoo.com> ok
>>> DATA
354 go ahead
>>> .
250 ok: Message 2463711 accepted
maheshs@yahoo.com... Sent (ok: Message 2463711 accepted)
Closing connection to [IP_Address]
>>> QUIT
------------------------------------------------------------------------
Could you let me know how can I make the switch please in sendmail ?
Thanks for support in advanced
Thanks & Regards
Mahesh