- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mails sent to local mail addresses doesn't work
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
тАО10-04-2005 10:42 PM
тАО10-04-2005 10:42 PM
I can't send mails to local addresses using an simple script.
- OS: HP-UX 11.11
- Server name: neftis.santpau.es
- Mail addresses: operacio@santpau.es or operacio@hsp.santpau.es
- Command to send mail from my script:
mailx -s DIARI_NEFTIS operacio@hsp.santpau.es < $FITXER_DADES
- Error message we got after every try:
[Attach #1: ""]
[Type: text/plain, Encoding: 7bit, Size: 310]
from root@localhost
from root@localhost
from root@localhost
from root@localhost
----- The following addresses had permanent fatal errors -----
operacio@hsp.santpau.es
----- Transcript of session follows -----
550 operacio@hsp.santpau.es... Host unknown (Name server: hsp.santpau.es: host not found)
[Attach #2: ""]
[Type: message/delivery-status, Encoding: 7bit, Size: 262]
Reporting-MTA: dns; neftis.santpau.es
Arrival-Date: Wed, 5 Oct 2005 12:17:21 +0200 (METDST)
Final-Recipient: RFC822; operacio@hsp.santpau.es
Action: failed
Status: 5.1.2
Remote-MTA: DNS; hsp.santpau.es
Last-Attempt-Date: Wed, 5 Oct 2005 12:17:21 +0200 (METDST)
[Attach #3: ""]
[Type: message/rfc822, Encoding: 7bit, Size: 6063]
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 10:46 PM
тАО10-04-2005 10:46 PM
Re: Mails sent to local mail addresses doesn't work
Is it resolving?
Else put related entries in /etc/hosts file and try now.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 10:47 PM
тАО10-04-2005 10:47 PM
Re: Mails sent to local mail addresses doesn't work
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 10:56 PM
тАО10-04-2005 10:56 PM
Re: Mails sent to local mail addresses doesn't work
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 11:10 PM
тАО10-04-2005 11:10 PM
Re: Mails sent to local mail addresses doesn't work
Here you're ping and nslookup results:
# ping hps.santpau.es
ping: unknown host hps.santpau.es
# nslookup hsp.santpau.es
Name Server: heidi.santpau.es
Address: 193.146.12.2
Trying DNS
Trying NIS
looking up FILES
*** No address information is available for "hsp.santpau.es"
#
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 11:12 PM
тАО10-04-2005 11:12 PM
Re: Mails sent to local mail addresses doesn't work
Go to your machine and edit /etc/hosts file as,
vi /etc/hosts
and add,
save it.
Do as,
# ping hsp.santpau.es
# nslookup hsp.santpau.es
Is it resolving now.
If it is success then you can able to send mail.
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 11:12 PM
тАО10-04-2005 11:12 PM
Re: Mails sent to local mail addresses doesn't work
Note that hsp.santpau.es and santpau.es are domains instead systems.
Mail server name is zurich and I can ping it from neftis:
# nslookup zurich
Name Server: heidi.santpau.es
Address: 193.146.12.2
Trying DNS
Name: zurich.santpau.es
Addresses: 172.17.0.5, 172.17.0.61
# ping zurich.santpau.es
PING zurich.santpau.es: 64 byte packets
64 bytes from 172.17.0.61: icmp_seq=0. time=0. ms
64 bytes from 172.17.0.61: icmp_seq=1. time=0. ms
64 bytes from 172.17.0.61: icmp_seq=2. time=0. ms
----zurich.santpau.es PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max = 0/0/0
#
Regards,
Carles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 11:14 PM
тАО10-04-2005 11:14 PM
Re: Mails sent to local mail addresses doesn't work
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-04-2005 11:16 PM
тАО10-04-2005 11:16 PM
Re: Mails sent to local mail addresses doesn't work
hth.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-05-2005 12:02 AM
тАО10-05-2005 12:02 AM
Re: Mails sent to local mail addresses doesn't work
Here you're resolv.conf file:
# more /etc/resolv.conf
domain santpau.es
nameserver 193.146.12.2
nameserver 193.146.12.3
nameserver 193.146.12.4
#
Just 2 comments:
1. Can I add a 2nd domain on resolv.conf?
2. I checked configuration on other system from same domain and resolv.conf file is exactly the same, so I don't believe this is the cause.
Regards,
Carles