sendmail_enable="NO" /"YES"/"MAYBE" ?

Konrad Heuer kheuer2 at gwdg.de
Mon Aug 11 00:40:25 PDT 2003


On Mon, 11 Aug 2003, Richard Shea wrote:

> Hi - I currently have sendmail_enable="NO" in my rc.conf file. This
> allows emails to be sent from the FBSD machine however I would like one
> other machine on the LAN to use the FBSD machine as a SMTP machine.
>
> I think sendmail_enable="YES" would do this but would then allow every
> other machine on the LAN to use sendmail ? Is there some way I could
> limit sendmail users by IP address ?

Yes, sendmail_enable="YES" will do the job.

FreeBSD sendmail respects the TCP wrapper config file /etc/hosts.allow;
you can limit access to sendmail there (look at "man 5 hosts_options").

Regards
Konrad

Konrad Heuer (kheuer2 at gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany





More information about the freebsd-questions mailing list