Have you searched on this?  It is all over this list, linuxdoc.org,
google, redhat's site.  This is the default setup for RedHat/sendmail.  

http://www.redhat.com/docs/manuals/linux/RHL-7.2-Manual/ref-guide/s1-ema
il-sendmail.html

You have to do two things: 

1. sendmail in RedHat 7.1 and 7.2 uses tcpwrappers.  Add appropriate
entries in /etc/hosts.allow  such as:

sendmail:<which networks to allow>

2. configure sendmail to listen to connections other than just loopback:
edit /etc/mail/sendmail.mc  look for the line that says:

dnl This changes sendmail to only listen on the loopback device
127.0.0.1
dnl and not on any other network devices. Comment this out if you want
dnl to accept email over the network.

And comment out the following line.  Then, you have to generate a new
sendmail.cf.  The instructions are at the top of that file
/etc/mail/sendmail.mc.  In short, you run

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

You may want to backup your sendmail.cf first, just in case.

Restart sendmail, viola!

Vinny
http://www.tuxedo.org/~esr/faqs/smart-questions.html



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to