Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2003 09:40:21 +0200 (CEST)
From:      Konrad Heuer <kheuer2@gwdg.de>
To:        Richard Shea <freebsdQ0@richardshea.fastmail.fm>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: sendmail_enable="NO" /"YES"/"MAYBE" ?
Message-ID:  <20030811093337.M742-100000@gwdu60.gwdg.de>
In-Reply-To: <20030811072553.41BD076193@smtp.us2.messagingengine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@gwdg.de)  ____            ___  _______
GWDG                           / __/______ ___ / _ )/ __/ _ \
Am Fassberg                   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen             /_/ /_/  \__/\__/____/___/____/
Germany





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030811093337.M742-100000>