Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2015 14:26:08 +0100
From:      Arthur Chance <freebsd@qeng-ho.org>
To:        Christopher Sean Hilton <chris@vindaloo.com>, Ernie Luzar <luzar722@gmail.com>
Cc:        Noel <noeldude@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: using pkg for postfix/spamassassin install
Message-ID:  <5551FF70.1070006@qeng-ho.org>
In-Reply-To: <20150512125805.GA5467@hadar.vindaloo.com>
References:  <55416FEB.3020101@gmail.com> <55418DF3.4000102@gmail.com> <554211DC.8030502@gmail.com> <55422DE7.2010506@gmail.com> <55427638.7020206@gmail.com> <20150512125805.GA5467@hadar.vindaloo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/05/2015 13:58, Christopher Sean Hilton wrote:
> On Thu, Apr 30, 2015 at 02:36:40PM -0400, Ernie Luzar wrote:
>> Noel wrote:
>>> On 4/30/2015 6:28 AM, Ernie Luzar wrote:
>>>> Noel wrote:
>>>>> On 4/29/2015 6:57 PM, Ernie Luzar wrote:
>
> [ ...snip ... ]
>
>> During the pkg install postfix, it asks this question:
>> Would you like to activate Postfix in /etc/mail/mailer.conf [n]?
>> I just hit enter and took the NO default.
>>  From what you are saying I should have entered Y to that question.
>>
>
> Correct, you should have answered "yes" to this question. In addition,
> /etc/rc.conf has at least four variables that enable pieces of
> sendmail functionality. To ensure that I'm not running any part of
> sendmail, I make sure that all of them are set to "NO".
>
> Try:
>
>       $ grep "sendmail.*enable=" /etc/defaults/rc.conf
>
> To get a list.
>

Looking at /etc/rc.d/sendmail (under 10.1-R), if you set sendmail_enable 
to "NONE", it will set all 4 variables to "NO" for you:

case ${sendmail_enable} in
[Nn][Oo][Nn][Ee])
         sendmail_enable="NO"
         sendmail_submit_enable="NO"
         sendmail_outbound_enable="NO"
         sendmail_msp_queue_enable="NO"
         ;;
esac


-- 
Those who do not learn from computing history are doomed to
GOTO 1



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