- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove host part in the "To" field in sendm...
Operating System - HP-UX
1752707
Members
5718
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО05-12-2005 03:31 AM
тАО05-12-2005 03:31 AM
How to remove host part in the "To" field in sendmail
Hi,
I have a hpux server that relays mail to an exchange server with sendmail.
If you send a mail from this server with eg. mailx and skip the @domain.com in the "To" field, sendmail adds @hostname.domain.com to the "To" field.
How do I configure sendmail not to insert the hostname part.
If you send mail with address user@domain.com, then sendmal doesn't apply it's host name in the "to" field.
I have a hpux server that relays mail to an exchange server with sendmail.
If you send a mail from this server with eg. mailx and skip the @domain.com in the "To" field, sendmail adds @hostname.domain.com to the "To" field.
How do I configure sendmail not to insert the hostname part.
If you send mail with address user@domain.com, then sendmal doesn't apply it's host name in the "to" field.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2005 03:38 AM
тАО05-12-2005 03:38 AM
Re: How to remove host part in the "To" field in sendmail
In the sendmail.cf file is a feature to MASQUERADE AS. Search the sendmail.cf file for 'masquerade' and this will get you to the DM setting.
DMyourhost.com
This will remove the host name.
DMyourhost.com
This will remove the host name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2005 03:38 AM
тАО05-12-2005 03:38 AM
Re: How to remove host part in the "To" field in sendmail
Forgot, make sure you bounce the sendmail daemon after making the changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2005 03:40 AM
тАО05-12-2005 03:40 AM
Re: How to remove host part in the "To" field in sendmail
sendmail is accepting the default @hostname.domain.com on the emails because it has not been told to do anything else.
There is a directive in the sendmail.cf file that will let you change it.
Djdomain.com
save the file.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
done.
It can also be corrected in a more automated way with a sendmail .mc macro file. Let me know if you are interested in that procedure.
SEP
There is a directive in the sendmail.cf file that will let you change it.
Djdomain.com
save the file.
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
done.
It can also be corrected in a more automated way with a sendmail .mc macro file. Let me know if you are interested in that procedure.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP