- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing sendmail domain
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
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
тАО07-31-2003 06:03 AM
тАО07-31-2003 06:03 AM
Our company are changing teh name. First we have changed our domain addresses in stanadar email service, but old domain names are keep at present on HP-UX boxes, hoeever is necessary mask this old domain to the new domain.
This look easy into /etc/mail/sendmail.cf file setting appropriately Dj option:
Dj$w.newdomain.com
However I dont need show hostname ($w), just need show user.newdomain.com, Does somebody know how?
Rgds.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 06:16 AM
тАО07-31-2003 06:16 AM
Re: Changing sendmail domain
Djyourdomain.com
If the domain name is 8 characters or less you can do this:
in /etc/rc.config.d/netconf
Change the hostname to fully qualified.
hpmail becomes
hpmail.domain.com
Sendmail will automatically pick that up on outbound mail.
There will be no neagtive impact. You will need to restart swagentd to install software and its a good idea after such a change to boot.
If you change the hostname, comment out the Dj dierctive in sendmail.cf
SEP
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
тАО07-31-2003 06:40 AM
тАО07-31-2003 06:40 AM
Re: Changing sendmail domain
I had already attempted it and **surprisingly** this has a special behavior when the domain begins with the letter "d" and have three chars lenght, in our case dhl.com, when you configure it "Djdhl.com" a dead letter it is created. Some trick to solve this?
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 06:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 07:06 AM
тАО07-31-2003 07:06 AM
Re: Changing sendmail domain
Put first entry with full qualified domain name and then try.
Dj.dhl.com should not give you any problem though but try that hosts entry
Goodluck,
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2003 07:22 AM
тАО07-31-2003 07:22 AM
Re: Changing sendmail domain
investmenttool.com
Djinvestmenttool.com
If there is something special about d, I've not heard about it.
If a space is required, I believe the syntax should be...
Dj domain.com
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com