Operating System - HP-UX
1753513 Members
5541 Online
108795 Solutions
New Discussion юеВ

Sendmail query ( the senders name)

 
SOLVED
Go to solution
raiden
Regular Advisor

Sendmail query ( the senders name)

Hi am using mutt to send mails. But when the mail is sent the receivers receives it as username@hostname.xyz.com

Now I dont want the hostname to be displayed , I want it to be like
username@xyz.com.

Which file needs to be modified so that receiver receives the mail in that format?? I mean he should see the sender name as username@xyz.com
4 REPLIES 4
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: Sendmail query ( the senders name)

Hakki Aydin Ucar
Honored Contributor

Re: Sendmail query ( the senders name)

Hi

echo test |mailx -s "Subject whatever you write.." ├в r ├в from address├в "to address"
Hakki Aydin Ucar
Honored Contributor

Re: Sendmail query ( the senders name)

Sorry for typo due to copy-paste (why this happening here ? I do not know ??)

Hi

echo test |mailx -s "Subject whatever you write.." -r "from address" "to address"

And besids, mailx uses sendmail.
Dennis Handly
Acclaimed Contributor

Re: Sendmail query ( the senders name)

>I don't want the hostname to be displayed, I want it to be like username@xyz.com.

You need to masquerade with the DM macro in sendmail.cf.