Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Jun 2004 11:05:19 +0530
From:      "T. Srikanth" <kantsg@netscape.net>
To:        jcm@FreeBSD-uk.eu.org, freebsd-questions@freebsd.org
Subject:   RE: How do I enable sendmail ONLY for local system mail?
Message-ID:  <40BEB897.2000905@netscape.net>

next in thread | raw e-mail | index | archive | help
You also need to create a file /etc/mail/local-host-names and place the name of the local host in it. It should be possible to have a name lookup for this entry (eg, by /etc/hosts).
--Srikanth


Date: Tue, 01 Jun 2004 23:54:40 -0600
From: Dan MacMillan <flowers@users.sourceforge.net>
Subject: RE: How do I enable sendmail ONLY for local system mail?
To: Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>,
    freebsd-questions@freebsd.org
Message-ID:
    <FGEIJLCPFDNMGDOKNBABEEPHCMAA.flowers@users.sourceforge.net>
Content-Type: text/plain; charset=us-ascii

-----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?40BEB897.2000905>