- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How does mailx determine where to deliver mail...
Operating System - HP-UX
1753550
Members
5492
Online
108795
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО06-29-2009 12:05 PM
тАО06-29-2009 12:05 PM
Re: How does mailx determine where to deliver mail to?
Alias file it the default shipped with 11.23. The /etc/rc.config.d/mailservers file is the default shipped with 11.23:
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
Here is the DS line as it appears in the sendmail.cf file:
# "Smart" relay host (may be null)
DS
# LUSER-RELAY
This server (and all the other HP-UX boxes here) have sendmail config files that are unaltered from the original install except for the CE line was changed from "CE root" to just CE and the DM line was changed from DM to "DMmx1.domain.com".
Please understand these are servers built and installed by HP for me and I am the only one here with the root password. (Before anyone tried to chastise this, it is in a sealed envelope in a secure location, so if I am hit by a bus, my boss can give it to someone as needed.) Once connected to our network, I gave them IP addresses, host names and pointed them to the company Windows DNS servers.
Again email works, I just do not understand why if there is no MX record on the inside DNS server.
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
Here is the DS line as it appears in the sendmail.cf file:
# "Smart" relay host (may be null)
DS
# LUSER-RELAY
This server (and all the other HP-UX boxes here) have sendmail config files that are unaltered from the original install except for the CE line was changed from "CE root" to just CE and the DM line was changed from DM to "DMmx1.domain.com".
Please understand these are servers built and installed by HP for me and I am the only one here with the root password. (Before anyone tried to chastise this, it is in a sealed envelope in a secure location, so if I am hit by a bus, my boss can give it to someone as needed.) Once connected to our network, I gave them IP addresses, host names and pointed them to the company Windows DNS servers.
Again email works, I just do not understand why if there is no MX record on the inside DNS server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-29-2009 12:18 PM
тАО06-29-2009 12:18 PM
Re: How does mailx determine where to deliver mail to?
Shalom again.
Alias file it the default shipped with 11.23. The /etc/rc.config.d/mailservers file is the default shipped with 11.23:
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
Here is the DS line as it appears in the sendmail.cf file:
# "Smart" relay host (may be null)
DS
# LUSER-RELAY
This server (and all the other HP-UX boxes here) have sendmail config files that are unaltered from the original install except for the CE line was changed from "CE root" to just CE and the DM line was changed from DM to "DMmx1.domain.com".
Please understand these are servers built and installed by HP for me and I am the only one here with the root password. (Before anyone tried to chastise this, it is in a sealed envelope in a secure location, so if I am hit by a bus, my boss can give it to someone as needed.)
>>
Quite the opposite. I find your security arrangement ideal.
<<
Once connected to our network, I gave them IP addresses, host names and pointed them to the company Windows DNS servers.
Again email works, I just do not understand why if there is no MX record on the inside DNS server.
If nslookup does not work, and your server can't find its mail exchanger, I am quite curious as to how mail is getting off your server.
Take a look at /var/adm/syslog/mail.log, that might give you a clue.
By default, sendmail tries to resolve the domain name, obtain the mail exchanger and will send the mail to the proper domain.
DNS need not work if there is an /etc/hosts entry to provide the system an answer as far as the mail exchanger goes.
It is quite interesting that your system is getting mail off if ping and nslookup is not working.
Take a look at sendmail.cf itself. It is possible there is a bypass statement put there by accident when HP set up the system. It would look like what I was recommending to resolve the problem.
I still say copying /etc/nsswitch.conf and /etc/resolv.conf from a fully working system that can ping/nslookup the mail exchanger would resolve the more important problem which is the system can't look up the mail exchanger.
It is possible an m4 was run on sendmail.mc which generated a sendmail.cf file that gets the mail going.
I think the key file to look at is sendmail.cf
SEP
Alias file it the default shipped with 11.23. The /etc/rc.config.d/mailservers file is the default shipped with 11.23:
export SENDMAIL_SERVER=1
export SENDMAIL_SERVER_NAME=
Here is the DS line as it appears in the sendmail.cf file:
# "Smart" relay host (may be null)
DS
# LUSER-RELAY
This server (and all the other HP-UX boxes here) have sendmail config files that are unaltered from the original install except for the CE line was changed from "CE root" to just CE and the DM line was changed from DM to "DMmx1.domain.com".
Please understand these are servers built and installed by HP for me and I am the only one here with the root password. (Before anyone tried to chastise this, it is in a sealed envelope in a secure location, so if I am hit by a bus, my boss can give it to someone as needed.)
>>
Quite the opposite. I find your security arrangement ideal.
<<
Once connected to our network, I gave them IP addresses, host names and pointed them to the company Windows DNS servers.
Again email works, I just do not understand why if there is no MX record on the inside DNS server.
If nslookup does not work, and your server can't find its mail exchanger, I am quite curious as to how mail is getting off your server.
Take a look at /var/adm/syslog/mail.log, that might give you a clue.
By default, sendmail tries to resolve the domain name, obtain the mail exchanger and will send the mail to the proper domain.
DNS need not work if there is an /etc/hosts entry to provide the system an answer as far as the mail exchanger goes.
It is quite interesting that your system is getting mail off if ping and nslookup is not working.
Take a look at sendmail.cf itself. It is possible there is a bypass statement put there by accident when HP set up the system. It would look like what I was recommending to resolve the problem.
I still say copying /etc/nsswitch.conf and /etc/resolv.conf from a fully working system that can ping/nslookup the mail exchanger would resolve the more important problem which is the system can't look up the mail exchanger.
It is possible an m4 was run on sendmail.mc which generated a sendmail.cf file that gets the mail going.
I think the key file to look at is sendmail.cf
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
тАО06-29-2009 12:21 PM
тАО06-29-2009 12:21 PM
Re: How does mailx determine where to deliver mail to?
Upon closer inspection the DNS does have an MX record for our domain. It was not where he was expecting to find it.
Thanks for the input,
-Dave
Thanks for the input,
-Dave
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP