how to use sendmail as a client

Lito Lampitoc ral at codewan.com.ph
Mon Aug 23 05:34:29 UTC 2004


When sending e-mail to root it says,
to=root, ctladdr=root (0/0), delay=00:00:30, xdelay=00:00:00, 
mailer=relay, pri=30339, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, 
stat=Deferred: Connection refused by [127.0.0.1]

Also, as much  as possible, I don't want to run the sendmail daemon as 
it is insecure, all I want to do is use sendmail to send e-mail to my 
admin(root) account in my other box for whatever activities it detected.

Anish Mathew wrote:

>>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