- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sendmail to new smtp server
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
09-13-2002 03:44 AM
09-13-2002 03:44 AM
Running HPUX V11.0 on current domain and NIC is dual homed to both networks.
Employee's email accounts are now on new mail server, new domain.
Several months ago we asked the corporate mail server administrators to forward email sent to @new.com to @old.com. Worked great. Now it will take them two months to undo that request.
I want to switch from the old corporate smtp server, old domain to the new local smtp server, new domain.
1.2.3.4 smtp.old.com #corporate
1.2.5.1 machine.local.old.com #local
5.6.7.8 smtp.new.com
5.6.7.9 machine.local.new.com #same as 1.2.5.1
/etc/nsswitch.conf
hosts: files [NOTFOUND=continue TRYAGAIN=continue] dns [NOTFOUND=continue TRYAGAIN=continue] nis
/etc/mail/sendmail.cf
DS 5.6.7.8
Dj$w.local.old.com
DX 5.6.7.8
DW 5.6.7.8
#O TryNullMXList
This does not work. Help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 05:19 AM
09-13-2002 05:19 AM
Re: sendmail to new smtp server
what happens when you run a command like
echo test | sendmail -v address@new.com
Is it sent to the old.com mail server, or do you get an error sending to new.com?
-Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 06:13 AM
09-13-2002 06:13 AM
Re: sendmail to new smtp server
Yes you are correct ...
I did a stop (/sbin/init.d/sendmail stop)
changed sendmail.cf
then start (/sbin/init.d/sendmail start)
sendmail -v john.doe@new.com
Connecting to smtp705.old.com. via relay..
which is the old network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 07:04 AM
09-13-2002 07:04 AM
SolutionAccording to "man nsswitch.conf"-- that is the nsswitch.conf entry that sendmail uses, not hosts.
Also sounds like maybe the MX record in DNS for new.com is still for the old.com mail server..
from a windows box (which is set to same DNS as unix box), load up nslookup, and issue a "set querytype=MX" to set to look for mail records. type old.com then new.com and see what does it find?
I'm no expert in this area but so far no one else has responded..
-Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 07:28 AM
09-13-2002 07:28 AM
Re: sendmail to new smtp server
In your DNS, check MX record for new.com domain which should point to smtp.new.com.
Also, in smtp.new.com host, /etc/mail/sendmail.cw should have entry for new.com (apart from localhost and its own name). And once you see mails coming to this server, check /etc/mailertable as well.
HTH
...Manjeet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2002 07:29 AM
09-13-2002 07:29 AM
Re: sendmail to new smtp server
-USA..