- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem with mailx
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-29-2005 09:37 PM
09-29-2005 09:37 PM
I have configured sendmail to send mails, but when I do:
echo "test correo7"| mailx -s "test correo7" dir1@pep.com
the mail.log shows this error:
Sep 30 10:25:07 server1 sendmail[9802]: gethostbyaddr(192.10.10.10) failed: 1
Sep 30 10:25:08 server1 sendmail[9802]: KAA09802: from=root, size=166, class=0, pri=30166, nrcpts=1, msgid=<200509300825.KAA09802@server1.>, relay=root@localhost
Sep 30 10:25:08 server1 sendmail[9804]: KAA09802: to=dir1@pep.com, ctladdr=root (0/3), delay=00:00:01, xdelay=00:00:00, mailer=relay, relay=pepw [198.10.10.8], stat=Service unavailable
Sep 30 10:25:08 server1 sendmail[9804]: KAA09802: KAA09804: DSN: Service unavailable
Sep 30 10:25:08 server1 sendmail[9804]: KAA09804: to=root, delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent
This server 192.10.10.10, has 2 interfaces, and its has to go out from 198.10.10.10, but the log show that it go out with this other interface.
Does anyone could help me??
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 09:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 09:46 PM
09-29-2005 09:46 PM
Re: Problem with mailx
local, isolated DNS server) or you don't have /etc/resolv.conf configured correctly on your server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 10:18 PM
09-29-2005 10:18 PM
Re: Problem with mailx
Yes in sendmail.cf
DS pepw
and in /etc/hosts
pepw 198.10.10.8
but I don't know who goes to 192.10.10.10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 10:22 PM
09-29-2005 10:22 PM
Re: Problem with mailx
# nslookup pepw
# nslookup 198.10.10.8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 10:50 PM
09-29-2005 10:50 PM
Re: Problem with mailx
# nslookup pepw
Using /etc/hosts on: server1
looking up FILES
Name: pepw
Address: 198.10.10.8
# nslookup 198.10.10.8
Using /etc/hosts on: server1
looking up FILES
Name: pepw
Address: 198.10.10.8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 11:06 PM
09-29-2005 11:06 PM
Re: Problem with mailx
echo "test correo7"| mailx -s "test correo7" dir1@pep.com
shouldn't you send this mail to pepw ? or is pep an alias for pepw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 11:18 PM
09-29-2005 11:18 PM
Re: Problem with mailx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 11:21 PM
09-29-2005 11:21 PM
Re: Problem with mailx
In sendmail.cf the syntax is
DSpepw (without a blanc)
restart sendmail after the modification
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2005 11:52 PM
09-29-2005 11:52 PM
Re: Problem with mailx
I have put DSpepw, at it doesn't works ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2005 01:55 AM
09-30-2005 01:55 AM
Re: Problem with mailx
Does your mail server accept mails from this host. Have you checked the security on your mail server?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2005 06:29 AM
10-05-2005 06:29 AM
Re: Problem with mailx
finally the mail server had not got configured ok, and the server1 has no problems.
Thanks!!