|
Glad
you've got it working. However, ultimately, you created a workaround for a
broken DNS configuration which you should try to resolve.
Kevin
-----Original Message-----
From: taroon-list-bounces redhat com [mailto:taroon-list-bounces redhat com] On Behalf Of IECISA.Ortega Gonzalez, Carlos Sent: Tuesday, April 26, 2005 1:10 AM To: taroon-list redhat com Subject: [SOLVED] Sendmail relay configuration - RHEL 3.0 Hi.
The solution to my problem was quite simple in the end. I only had to create the /etc/mail/service.switch file with the following content:
hosts files aliases files
This way, sendmail doesn't try to resolve the email addresses using the DNS, so I don't even need to configure the DNS client.
Tu sum up, I had to take the following steps:
- Include the ip of the mailhost in the /etc/hosts file. - Edit the /etc/mail/sendmail.mc file, modify the SMART_HOST line and create the new sendmail.cf. - Edit the /etc/mail/submit.mc file, modify the last line, and create the new submit.cf . - Create the /etc/mail/service.switch file. - Restart sendmail.
I hope this helps other people with the same problem.
Regards,
Carlos Ortega González Iberia Sistemas DS/SP/Unidad Prod. Ordenadores email: iecisa cortegag iberia es Extensión: 4691
-- ---------------------------------------------- Has decidido el mejor precio. Has decidido IBERIA.com You´ve chosen the best price. You´ve chosen IBERIA.com ---------------------------------------------- http://www.iberia.com |