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

[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

 


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.10.3 - Release Date: 25/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]