- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- From address in sendmail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:22 AM
12-02-2003 05:22 AM
How do I do it?
Thank you,
-GK-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:28 AM
12-02-2003 05:28 AM
Re: From address in sendmail
If you want to do it from command line.
You can also set in sendmail.cf. Do not recollect which macro to set for that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:28 AM
12-02-2003 05:28 AM
Re: From address in sendmail
cd /etc/mail
cp sendmail.cf sendmail.cf.old
vi sendmail.cf
Set:
DMdomain.com
Unset:
CE root
o Stop/Start sendmail:
# /sbin/init.d/sendmail stop; /sbin/init.d/sendmail start
Sendmail pid is 6743
Killing sendmail...
Sendmail killed.
/etc/mail/aliases: 13 aliases, longest 35 bytes, 307 bytes total
sendmail
However, I don't know if you can change "domain.com" to "yahoo.com". It doesn't sound right....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:30 AM
12-02-2003 05:30 AM
Re: From address in sendmail
You can do a masquerade in sendmail. Edit your /etc/mail/sendmail.cf file and search for DM or masquerade. You will see something like the following:
# who I masquerade as (null for no masquerading) (see also $=M)
DM
Modify this to fit what you want, like the following:
# who I masquerade as (null for no masquerading) (see also $=M)
DMyahoo.com
Then stop and restart sendmail:
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
Hope this helps!
-Bryan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:33 AM
12-02-2003 05:33 AM
Re: From address in sendmail
Bryan, I already have done that part.
It is showing user@yahoo.com. I want it abc.xyz@yahoo.com.
How do I change the user portion in the email id.
Thank you
-GK-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 05:49 AM
12-02-2003 05:49 AM
SolutionTry this using the userdb database.
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062903359
Doc id 1200503211
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2003 07:09 AM
12-02-2003 07:09 AM
Re: From address in sendmail
It worked!
-GK-