Re: how to use sendmail as a client

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

 



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@xxxxxxxxxxxxxx> 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!




--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux