how to use sendmail as a client

Anish Mathew nedumannilanish at yahoo.co.uk
Mon Aug 23 04:58:21 UTC 2004


>Lito Lampitoc <ral at codewan.com.ph> wrote: 

>>Hi,
>>
>>How do I setup sendmail on one of my box to send e-mail to my >>admin 
>>account in my mail server?

 

I guess u need to add this line to ur sendmail.mc file

define(`SMART_HOST',`your mail server`)

after that recreate sendmail.cf file using m4 macro

m4 < /etc/mail/sendmail.mc > /etc/mail/sendmail.cf

restart sendmail daemon after that ur sendmail will be a client forwarding mail to your main server.. if this is what ur looking for..

hope that would help

Anish


		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  


More information about the redhat-list mailing list