Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 Jun 2004 23:54:40 -0600
From:      Dan MacMillan <flowers@users.sourceforge.net>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>, freebsd-questions@freebsd.org
Subject:   RE: How do I enable sendmail ONLY for local system mail?
Message-ID:  <FGEIJLCPFDNMGDOKNBABEEPHCMAA.flowers@users.sourceforge.net>
In-Reply-To: <20040602003820.GA55653@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----Original Message-----
From: Jonathon McKitrick
>
> I read /etc/mail/README and also a few posts while I was setting up my
> firewall.  but I'm not getting any system mail like expected.
>
> What should the permissions be on my mqueue and clientmqueue dirs in /var?
>
> Here are the rc.conf mail options:
> sendmail_enable="yes"
>
> ...

Hi,

I don't know about your routing issue ... but if you're using the 5.2.1
release, you can put the following in your rc.conf and have it still work
(if, as the subject line says, you really are only using it for local system
mail):

sendmail_enable="no"

It's not intuitive to me either, but it does work (at least it did for me).
>From the rc.sendmail man page:

     sendmail_enable
     (str) If set to ``YES'', run the sendmail(8) daemon at system
     boot time.  If set to ``NO'', do not run a sendmail(8) daemon to
     listen for incoming network mail.This does not preclude a
     sendmail(8) daemon listening on the SMTP port of the loopback
     interface.  The ``NONE'' option is deprecated and should not be
     used.  It will be removed in a future release.

-Danny



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