[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Sendmail relay configuration - RHEL 3.0



Title: Message
I don't think sendmail uses nsswitch.conf. Take a look at /etc/mail/service.switch... The bottom line is that it sounds like you have a name resolution problem. You have to fix that. Is there an external DNS server you can point to?
 
Kevin
 
-----Original Message-----
From: taroon-list-bounces redhat com [mailto:taroon-list-bounces redhat com] On Behalf Of IECISA.Ortega Gonzalez, Carlos
Sent: Thursday, April 21, 2005 2:02 AM
To: taroon-list redhat com
Subject: RE: Sendmail relay configuration - RHEL 3.0

Kevin Collins wrote:

 

>To clarify: sendmail looks for a host called 'mailhost' by default, I believe. By defining that host in your name >resolution system (DNS, NIS,

>etc) to be your smart relay host, things "just work".

 

I have already included a mailhost entry in the /etc/hosts file. Is there any way of telling sendmail not to use dns? I've configured DNS to search in our corporative DNSs, but manual nslookup and dig attempts at locating iberia.es or mailhost result in FAILURE messages. I can't modify the DNSs, so I'd like sendmail not to look in the DNS, and relay the mail. Should I change the /etc/nsswitch.conf file? The hosts entry is al follows:

 

            hosts:      files dns

 

The problem still is that the mails don't leave the local machine. The /var/log/maillog shows messages like the following:

 

Apr 21 08:50:24 gandalf sendmail[16869]: j3L6oOM5016869: from=sopco, size=52, class=0, nrcpts=1, ms

id=<200504210650 j3L6oOM5016869 gandalf ib>, relay=sopco localhost

Apr 21 08:50:24 gandalf sendmail[16869]: j3L6oOM5016869: to=iecisa cortegag iberia es, delay=00:00:

0, mailer=esmtp, pri=30052, dsn=4.4.3, stat=queued

 

And the mail -v iecisa cortegag iberia es shows the following output:

 

iberia.es: Name server timeout

iecisa cortegag iberia es Transient parse error -- message queued for future delivery

iecisa cortegag iberia es Queued

 

I've also tried modifying the /etc/mail/mailertable using:

 

iberia.es       smtp:[mailhost]                                         # I've also tried with the IP

 

and

.               smtp:[mailhost]                                            # IP also

 

I keep getting the same errors. Any ideas? Thanks a lot.

 

Regards,

 

Carlos Ortega González

  Iberia Sistemas

  DS/SP/Unidad Prod. Ordenadores

  email: iecisa cortegag iberia es

  Extensión: 4691

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.1 - Release Date: 20/04/2005


----------------------------------------------

Has decidido el mejor precio. Has decidido IBERIA.com

You´ve chosen the best price. You´ve chosen IBERIA.com

----------------------------------------------

http://www.iberia.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]