- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not receiving external mail
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
03-04-2003 04:40 PM
03-04-2003 04:40 PM
Not receiving external mail
We have HP UX11 and I am trying to send external email, it seems to work but I dont recveive any mail. Locally all mail work fine, I also have a HPUX10 and this server works fine. I am new to HP UX. Below is an extract from the mail log.
Mar 5 10:17:14 supflow1 sendmail[29116]: KAA29116: from=adamsd, size=0, class=0
, pri=0, nrcpts=0, msgid=<200303050017.KAA29116@supflow1.saa.nsw.gov.au>, relay=
root@localhost
Mar 5 10:17:24 supflow1 sendmail[29363]: KAA29363: from=adamsd, size=0, class=0
, pri=0, nrcpts=0, msgid=<200303050017.KAA29363@supflow1.saa.nsw.gov.au>, relay=
root@localhost
Mar 5 10:23:19 supflow1 sendmail[6627]: KAA06627: from=adamsd, size=3282, class
=0, pri=33282, nrcpts=1, msgid=<200303050023.KAA06627@supflow1.saa.nsw.gov.au>,
relay=root@localhost
Mar 5 10:23:19 supflow1 sendmail[6629]: KAA06627: to=dexter_adams@saa.nsw.gov.a
u, ctladdr=adamsd (432/20), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay
=mail2.saa.nsw.gov.au. [192.220.4.39], stat=Sent (OK)
Mar 5 11:15:31 supflow1 sendmail[5566]: LAA05566: from=adamsd, size=3300, class
=0, pri=33300, nrcpts=1, msgid=<200303050115.LAA05566@supflow1.saa.nsw.gov.au>,
relay=root@localhost
Mar 5 11:15:31 supflow1 sendmail[5568]: LAA05566: to=dexter_adams@hotmail.com,
ctladdr=adamsd (432/20), delay=00:00:00, xdelay=00:00:00, mailer=relay, relay=ma
il2.saa.nsw.gov.au. [192.220.4.39], stat=Sent (OK)
Please help
Thanks
Dexter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:47 PM
03-04-2003 04:47 PM
Re: Not receiving external mail
If you try sending a mail from say yahoo or other internet mail account, do you get back a failed message?. What does it say if so?
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 04:53 PM
03-04-2003 04:53 PM
Re: Not receiving external mail
Reporting-MTA: dns; gateway1.saa.nsw.gov.au
Received-From-MTA: dns; mail2.saa.nsw.gov.au (unverified [192.220.4.39])
Arrival-Date: Wed, 5 Mar 2003 11:51:10 +1100
Final-Recipient: rfc822; adamsd@supflow1.nsw.gov.au
Action: failed
Status: 5.4.4 (Permanent failure - routing/network: unable to route)
Cheers
Dexter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:03 PM
03-04-2003 05:03 PM
Re: Not receiving external mail
There confusion here. Your returned mail said
adamsd@supflow1.nsw.gov.au
and your mail log shows 'adams@supflow1.saa.nsw.gov.au'.
Look like it is a DNS issue. Weren't you supposed to be sending mail to adams@superflow1.saa.nsw.gov.au?.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:07 PM
03-04-2003 05:07 PM
Re: Not receiving external mail
Here is the real deal.
Reporting-MTA: dns; gateway1.saa.nsw.gov.au
Received-From-MTA: dns; mail2.saa.nsw.gov.au (unverified [192.220.4.39])
Arrival-Date: Wed, 5 Mar 2003 12:06:29 +1100
Final-Recipient: rfc822; adamsd@supflow1.saa.nsw.gov.au
Action: failed
Status: 5.4.4 (Permanent failure - routing/network: unable to route)
Ta,Dex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:16 PM
03-04-2003 05:16 PM
Re: Not receiving external mail
All I want is to send mail to an external person from the HPUX server, eg: dexter_adams@pillar.com.au, we have DNS in place.
Cheers
Dex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:22 PM
03-04-2003 05:22 PM
Re: Not receiving external mail
Still appears to DNS related.
A DNS MX (Mail Exchanger) query for saa.nsw.gov.au shows the following:
Trying DNS
saa.nsw.gov.au preference = 10, mail exchanger = mail.magna.com.au
saa.nsw.gov.au preference = 3, mail exchanger = mail1.saa.nsw.gov.au
saa.nsw.gov.au preference = 5, mail exchanger = mail.saa.nsw.gov.au
saa.nsw.gov.au nameserver = ns1.magna.com.au
saa.nsw.gov.au nameserver = ns0.saa.nsw.gov.au
mail.magna.com.au internet address = 203.4.212.90
mail1.saa.nsw.gov.au internet address = 203.11.96.131
mail.saa.nsw.gov.au internet address = 203.11.96.131
ns1.magna.com.au internet address = 203.111.0.10
ns0.saa.nsw.gov.au internet address = 203.11.96.130
I don't see any MX record for mail2.saa.nsw.gov.au
So I'd say that indeed, the msg is correct. The route it's coming in from is not correct. Mail should be coming in from one of the MX records listed above.
Sendmail is very picky about where mail can come from & go to. If the hosts don't match the DNS records, the mail is rejected. This, of course, is to try to stem the tide of spam.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:36 PM
03-04-2003 05:36 PM
Re: Not receiving external mail
So where do I put the MX entry for mail2.saa.nsw.gov.au.
Thanks
Dex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 05:53 PM
03-04-2003 05:53 PM
Re: Not receiving external mail
Else it can get quite complex - and risky - to modify your sendmail to ignore these DNS checks.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 06:09 PM
03-04-2003 06:09 PM
Re: Not receiving external mail
It should be configured into DNS. There will be an MX record for each host entry in the DNS tables.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 06:10 PM
03-04-2003 06:10 PM
Re: Not receiving external mail
1)
Either DNS has to work.
nsswtich.conf needs to have dns before files on host resolution.
Then nslookup must be able to resolve the external domain name
nslookup yahoo.com
must resolve. To actually get mail onto a big system like yahoo or aol your server needs either a public domain name that resolves on the public internet. The big boys make sure your mail server name resolves.
This can be addressed by modifying /etc/mail/sendmail.cf
Change the Dj directive to
Djyourdomain.gov
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
OR.
You can use a mail relay server to get mail outside your organization.
Same file, different directive.
DS
[IP_of_mail_relay_server]
save the file
/sbin/init.d/sendmail stop
/sbin/init.d/sendmail start
One Caveat, you'll need to make sure the mail relay server accepts mail from your HP-UX box for relay. This could be the cause of your whole problem.
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
03-04-2003 07:23 PM
03-04-2003 07:23 PM
Re: Not receiving external mail
Thanks for that I have changes the configuration in the sendmail.cf and now the external mail works.
Well done. Thanks to all
Cheers
Dex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:43 PM
03-04-2003 07:43 PM
Re: Not receiving external mail
//
We have HP UX11 and I am trying to send external email, it seems to work but I dont recveive any mail
//
You were already able to send mail before. The Smart Relay Host is for sending mail.
If I recall correctly, your box was not even getting touched when you send mail from the external accounts. So, sendmail.cf won't come into picture at all.
But I can't argue because you said it was working. I might have overlooked something.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 07:47 PM
03-04-2003 07:47 PM
Re: Not receiving external mail
Yes I could send mail to locally but not externally, but now I can send externally. Yes you are right my box is not touched when external mail is sent to it. This is now a concern to us, just sending external mail. Anyway thanks for your input.
Cheers
Dexter