- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail question
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
тАО07-30-2001 07:50 AM
тАО07-30-2001 07:50 AM
sendmail question
i'm running on 3 HP 9000 server with HPUX 11.00 and the sendmail version is 8.7.1 (i think). the servers don't use NIS and DNS. These servers are on a DMZ. i want that these servers can send mail to a machine not on the same network and which uses DNS. i configure the sendmail.cf on the HP:
Dj$w.cars.com (the domain)
DSmail-relay.
DLcars.com
the relay is in the /etc/hosts of the servers, sendmail stop and restart...
i can send mail betwen my 3 servers but when i try to send a mail from one of the servers to the output (by the relay), it's not working. the mails stay in the queue and i can see the ligne:
MDefferred: Connection refused by mail-relay.
an when i try a telnet
i don' t understand the probleme.
If i want to use DNS to resolve MXrecord, what the procedure? files /etc/resolv.conf ? it's doesn't existe!
please help me.
Thanks for all.
Thomas Mornet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 08:13 AM
тАО07-30-2001 08:13 AM
Re: sendmail question
1. Can you ping the machine at all? If not it could be a route/router issue.
2. You say these are in a DMZ, but is there a firewall blocking port 25?
3. Does the host your connecting to does not have smtp running on port 25?
Really this is all your initial problems. If you can not get to port 25 on the relay host, there is no way to test your configuraion.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 08:13 AM
тАО07-30-2001 08:13 AM
Re: sendmail question
In resolv.conf you can especify where DNS server is. You need to configure this file if DNS is in local server or in remote server. If you don't do it, Local server uses /etc/host for resolve names. I don't know exactly procedure to configure DNS, but you can do it with SAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 08:15 AM
тАО07-30-2001 08:15 AM
Re: sendmail question
1. Create the resolv.conf file with the following entries:
domain www.mydomain.com
nameserver xxx.xxx.xxx.xxx (primary dns)
nameserver xxx.xxx.xxx.xxx (secondary dns)
2. permission on resolv.conf should be root:sys 644
3. modify hosts entry in the /etc/nsswitch.conf file. Should look as follows:
hosts: files [NOTFOUND=continue] dns
That should do it. Now test it.
nslookup www.whatever.com
Hope this helps
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 08:17 AM
тАО07-30-2001 08:17 AM
Re: sendmail question
domain yourdomain.net
nameserver ip.of.nameserver # external ns primary
nameserver ip.of.backup # external ns backup
You might also check your etc/hosts and make sure that both boxes have an entry for each other. And you can test by
#echo test | sendmail -v user@relaybox
If it fails post up what you get from that command.
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 04:41 PM
тАО07-30-2001 04:41 PM
Re: sendmail question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 05:13 PM
тАО07-30-2001 05:13 PM
Re: sendmail question
From here, maybe you router/firewall blocked the port 25 or the
If you want the
you can check it on one of your server by issue:
$sendmail -v username@
and watch the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-30-2001 10:45 PM
тАО07-30-2001 10:45 PM
Re: sendmail question
if not,then check these:
/etc/nsswitch.conf:(which source the gethostbyname() function may use to make the name_to_ip_look_up operation);/etc/hosts?,DNS?,NIS?
the entry should be something like this:
hosts: files [notfound=continue] dns
**************************************
(that is,if not in hosts file,try dns...)
/etc/resolv.conf:(resolver information_with permission 644):
domain xxx.yyy.com
search xxx.yyy.com aaa.bbb.com ccc.ddd.com #if u have multiple domains
nameserver aa.bb.cc.dd #dnseserver ip adres
nameserver x.y.z.a #possible domain nameservers
nameserver a.b.c.d
nameserver f.g.h.j
*****************************************
also include the nameserver address in /etc/hosts file as:
x.y.z.c dnsserver
******************************************
your sendmail configuration seems ok...
check now with ESMTP:
$ /usr/sbin/sendmail -v xx@yy.com < message
*******************************************
by the way;does .forward files work?u can check also this to understand the problem...
create .forward file under / and edit inside
a mail address outside your machines...then mail something to root and look if it is being forwarded...
********************************************
regards...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2001 06:49 AM
тАО07-31-2001 06:49 AM
Re: sendmail question
the mail-relay is on the DMZ (like my servers), and it's works correctly: anothers machines on the DMZ can send mail to the relay. There is a rule on the firewall which stop the smtp (and ping and telnet) connection from my server to the rest of the network. i'm going to change this rule...
Thanks again.
Thomas.