- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Smart relay to a Microsoft based host
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
01-31-2007 08:51 AM
01-31-2007 08:51 AM
Smart relay to a Microsoft based host
and have it sent out by that host. The M/S box is running something called SLMAIL which is sort of like a poor mans Exchange. My HPUX platform is not running DNS. Currently I can send mail to "local" users; users on the SLMAIL platform directly from the HPUX system. I can also send mail to a group list on the SLMAIL box and it will of course send that mail to the outside world if those users are outside. However, if I send mail from the HPUX system destined for the outside world that mail simply hangs in /var/spool/mqueue with a status of
(host map: lookup (aol.com): deferred).
This was a test send to an AOL account.
I have my email host system coded in the DS macro in sendmail.cf and the host name coded all 3 times in the sendmail.cw file.
In my SLMAIL system I am telling it to accept mail from the two possible IP addresses.
What am I missing ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 09:20 AM
01-31-2007 09:20 AM
Re: Smart relay to a Microsoft based host
By default the Microsoft host refused relay on all hosts but itself.
You must have it configured to permit relay for the IP address of your 11.23 server.
Then mail will flow.
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
01-31-2007 09:22 AM
01-31-2007 09:22 AM
Re: Smart relay to a Microsoft based host
By default the Microsoft host refused relay on all hosts but itself.
You must have it configured to permit relay for the IP address of your 11.23 server.
Then mail will flow.
But you seem to have done that so trace.
senmdmail -v -d8.99 -d38.99 some@aol.com
.
It may be DNS resolution but you will find the problem with this diagnosis.
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
01-31-2007 09:53 AM
01-31-2007 09:53 AM
Re: Smart relay to a Microsoft based host
The trace output indicates to me that sendmail is attempting DNS lookup and not even attempting to do the relay.
Results:
;; res_querydomain(mullins, , 1, 1)
;; res_query(mullins., 1, 1)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
seq_map_parse(aliases.files, )
;; res_query(6.20.16.172.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
;; res_query(2.20.16.172.in-addr.arpa, 1, 12)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
openmap() dequote:dequote NULL: valid
openmap() host:host NULL: valid
getcanonname(aol.com), trying files
text_getcanonname(aol.com)
Standard input
text_getcanonname(aol.com)
getcanonname(aol.com), trying dns
dns_getcanonname(aol.com, trymx=1)
dns_getcanonname: trying aol.com. (ANY)
;; res_querydomain(aol.com, , 1, 255)
;; res_query(aol.com., 1, 255)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
NO: errno=239, h_errno=2
dns_getcanonname: trying aol.com. (AAAA)
;; res_querydomain(aol.com, , 1, 28)
;; res_query(aol.com., 1, 28)
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; Querying server (# 1) address = 0.0.0.0
;; res_query: send error
NO: errno=239, h_errno=2
getcanonname(aol.com), failed, status=75
aol.com: Name server timeout
elc013@aol.com... Transient parse error -- message queued for future delivery
Is this helpful ?
Rick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2007 05:58 PM
01-31-2007 05:58 PM
Re: Smart relay to a Microsoft based host
Though you dont have DNS server running, you need to have the DNS client configured using /etc/resolv.conf
By looking at the trace output, it couldnt find your name server and throws an error
;; res_querydomain(mullins,"your domain name" , 1, 1)
;; res_query(mullins.your domain name, 1, 1)
;; Querying server (# 1) address = "your nameserver IP"
Since it couldnt find the name server it tries 0.0.0.0
try to configure your /etc/resolv.conf with your name server and domain name details, you should be able to send the mails outside using your MS relay server.
TQ
Perumal