Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jan 2008 16:28:38 -0500
From:      Schiz0 <schiz0phrenic21@gmail.com>
To:        Agus <agus.262@gmail.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Sendmail local only.....
Message-ID:  <8d23ec860801221328s601bade5qab86280cd0441ffb@mail.gmail.com>
In-Reply-To: <fda61bb50801221325p35aae924y116f74c2c026fa1c@mail.gmail.com>
References:  <fda61bb50801221325p35aae924y116f74c2c026fa1c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 22, 2008 4:25 PM, Agus <agus.262@gmail.com> wrote:
> Hi guys,
>
> Just trying to make sendmail work locally only.....And by that i mean, i
> dont want sendmail to be able to relay or send mail to any other machine
> except for localhost....
>
> How can i do this? I mean is there a way on rc.conf or i need to touch the
> cf??
>
> Thanks in advance and cheers,
> Agustin

Search the file /etc/defaults/rc.conf for "sendmail"
It has a bunch of options and explains what they do.
NOTE: do not edit /etc/defaults/rc.conf - that's just the "Default
settings" file.
Make any changes in the /etc/rc.conf file instead.

Basically, you want
sendmail_enable="NO"
And the rest of the sendmail options enabled.



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