On Fri, 30 Nov 2001, Vinny Valdez wrote:

> 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-email-sendmail.html

Surprisingly, I didn't see instructions among the "Common Configuration
Changes" for just getting it turned on.

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

This is easy to overlook and not mentioned anywhere I could see in the
documentation.

> 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

In case it is not apparent, M4 comments are lines beginning with "dnl".

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

-- 
                Matthew Saltzman

Clemson University Math Sciences
[EMAIL PROTECTED]
http://www.math.clemson.edu/~mjs



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

Reply via email to