Sendmail local only.....
Schiz0
schiz0phrenic21 at gmail.com
Tue Jan 22 13:28:39 PST 2008
On Jan 22, 2008 4:25 PM, Agus <agus.262 at 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.
More information about the freebsd-questions
mailing list