- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: change sendmail's from address
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
Discussions
Discussions
Discussions
Forums
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
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
тАО03-12-2008 06:51 AM
тАО03-12-2008 06:51 AM
I am trying to figure out how to change how the from address comes through when we send email using sendmail/mailx on our HP-UX servers... Right now when we use sendmail/mailx the from address comes though as
I first tried modifying /etc/rc.config.d/mailservs so that SENDMAIL_SERVER_NAME had our normal email suffix (it was blank) then restarted sendmail. That didn't work so I found instructions on creating a /etc/mail/userdb.db file and configuring /etc/mail/sendmail.cf. That didn't work either and I am not at all familiar with configuring sendmail so any suggestions will be greatly appreciated and rewarded with points. :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 06:56 AM
тАО03-12-2008 06:56 AM
SolutionIf I understand correctly you want to have your mail delivered from jenni@yourcompany.com instead of jenni@servername (or jenni@servername.yourcompany.com)?
Try making the following change to /etc/mail/sendmail.cf (then restart sendmail);
From;
DM
to
DMyourcompany.com
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 07:14 AM
тАО03-12-2008 07:14 AM
Re: change sendmail's from address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2008 07:28 AM
тАО03-12-2008 07:28 AM
Re: change sendmail's from address
It will change the aliased "from:" address but not the real address.
If spam filters are an issue then I suggest setting the smart relay. "DS" macro. And relay all your system emails though your real mail server ( need to tell your mail admin to allow this ).
I had to do this to get the pager and cell phone text messages to fly as all vendors do a domain lookup on the real address and typically cannot find myuxserver.mycompany.com in DNS land even though you have a spoofed address of mycompany.com.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-13-2008 01:56 AM
тАО03-13-2008 01:56 AM
Re: change sendmail's from address
ya only write your domain name in the DM option.
vi sendmail.cf
DMdomain.com
then restart the sendmail daemon.
Thanks & Regards
Aashique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2008 07:31 AM
тАО03-17-2008 07:31 AM
Re: change sendmail's from address
The entries are of the form:
jenni:mailname jwolqast@yourcompanyname.com
jwolqast:maildrop jenni
In order for the first "From" line to have the alias jsmcknight appear instead of the username jsm, the local delivery agent must have access to the user database. For Mlocal in sendmail.cf, the F=@ flag allows all addresses for the local delivery agent to be written by the User Database. The F=i flag suppresses the rewrite for the sender envelope if absent or allows the rewrite for the sender envelope if present. On the Mlocal line, P=...@qm9... should be P=...@qm9i...