Microsoft
Software
Hardware
Network
Question : Configuring Sendmail to relay
Greetings,
We currently have several servers setup to send out emails through our local mail server using relay. We are now moving to a different mail server that will be outside our LAN. I am trying to setup sendmail to relay emails through this new server.
Here's what I've done:
1) in sendmail.cf changed "DSlocal.server.com" to "DSsmtp.someserver.net"
2) /etc/init.d/sendmail stop
/etc/init.d/sendmail start
Now, I am trying to send a test email:
mailx
[email protected]
Subject: whatever
.
EOT
/var/log/syslog gives me the following error:
Nov 25 16:46:59 unixbox sendmail[5398]: [ID 801593 mail.info] mAPLkxb05398: from=root, size=59, class=0, nrcpts=1, msgid=<200811252146.mAPLkx
b05398@uni
xbox.local
.com>, elay=root@localhost
Nov 25 16:46:59 unixbox sendmail[5400]: [ID 801593 mail.info] mAPLkxb05398:
[email protected]
, ctladdr=root (0/1), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=120059, relay=smtp.someserver.net,
dsn=4.0.0, stat=Deferred: Name server: smtp.someserver.net: host name lookup failure
Can anyone suggest how to fix this?
Answer : Configuring Sendmail to relay
I temporarily fixed the problem by adding my ISP's dns server address to resolv.conf. I'm suspecting there's a problem with our current DNS server.
Random Solutions
Microsoft, Windows , XP SP2, Task Scheduler - Open Browser without Window
Corel Draw - How do combine layer into one picture? One layer outlines the other but is a filled layer.
Unknown passwords assigned to WinXP Home user accounts & can't reset w/ some good tools
Internet Explorer will not automatically open Citrix .ICA files for the web client
Shared IP Address on Linux and Apache webserver
HP, Pavilion, DV9548ca, XP downgrade; video drivers won't install
Removing Exchange 2000 from the organization without mailbox store
Google search history
copy Outlook 2007 Master category list to another computer
SQL Loader Decode function