HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- emails arrive with "hostname" in email address
Operating System - HP-UX
1826646
Members
3659
Online
109695
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
Forums
Discussions
Discussions
Discussions
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
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
03-19-2003 12:59 PM
03-19-2003 12:59 PM
emails arrive with "hostname" in email address
I recently rebuilt my sendmail.cf from /usr/newconfig/etc/mail/cf/cf.
I used "gen_cf" and selected "relay_entire_domain".
I changed:
# my official domain name
#Dj$w.Foo.COM
To:
Dj$w.wabtec.com
And Uncommented:
#R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?:
Now all of my emails are being sent as:
name@hostname.wabtec.com
I don't want the "hostname" to show up in my email address. I just want:
name@wabtec.com
How do I fix that?
Stuart
I used "gen_cf" and selected "relay_entire_domain".
I changed:
# my official domain name
#Dj$w.Foo.COM
To:
Dj$w.wabtec.com
And Uncommented:
#R$* < @ $* > $* $: $>check_local <$m> $1 < @ $2 > $3 Local Domain?:
Now all of my emails are being sent as:
name@hostname.wabtec.com
I don't want the "hostname" to show up in my email address. I just want:
name@wabtec.com
How do I fix that?
Stuart
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 02:18 PM
03-19-2003 02:18 PM
Re: emails arrive with "hostname" in email address
Your setup has made this happen.
You can get around this by commenting out the Dj directive and using fully qualified domain name as your host name.
server in /etc/rc.config.d/netconf becomes
server.wabtec.com
Then emails will be from server.wabtec.com
Alternatively, change the Dj directive to what you want in your message.
Of course after any change...
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
SEP
You can get around this by commenting out the Dj directive and using fully qualified domain name as your host name.
server in /etc/rc.config.d/netconf becomes
server.wabtec.com
Then emails will be from server.wabtec.com
Alternatively, change the Dj directive to what you want in your message.
Of course after any change...
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 02:22 PM
03-19-2003 02:22 PM
Re: emails arrive with "hostname" in email address
I figured it out.
You just set:
DMdomain.com
And it "site hides". "Site Hiding" is really "server hiding".
You just set:
DMdomain.com
And it "site hides". "Site Hiding" is really "server hiding".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2003 02:24 PM
03-19-2003 02:24 PM
Re: emails arrive with "hostname" in email address
I figured it out.
You just set:
DMdomain.com
And it "site hides". "Site Hiding" is really "server hiding".
You just set:
DMdomain.com
And it "site hides". "Site Hiding" is really "server hiding".
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP