Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 May 2004 10:50:42 -0400
From:      Randy Pratt <rpratt1950@earthlink.net>
To:        Jonathon McKitrick <jcm@FreeBSD-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Repeated connections to port 25 with firewall
Message-ID:  <20040526105042.6456d79b.rpratt1950@earthlink.net>
In-Reply-To: <20040526122707.GB91911@dogma.freebsd-uk.eu.org>
References:  <20040524141558.GB48389@dogma.freebsd-uk.eu.org> <MIEPLLIBMLEEABPDBIEGIEFNFPAA.Barbish3@adelphia.net> <20040525143126.GB78314@dogma.freebsd-uk.eu.org> <20040526084314.GA11303@lb.tenfour> <20040526122707.GB91911@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 26 May 2004 13:27:07 +0100
Jonathon McKitrick <jcm@FreeBSD-uk.eu.org> wrote:

> : When local processes want to mail, they fork n exec a sendmail binary 
> : themselves.
> : 
> : You shouldn't need a sendmail server running for that.
> 
> Here is what I have/had in rc.conf
> 
> #sendmail_enable="no"
> #sendmail_submit_enable="no"
> #sendmail_outbound_enable="no"
> #sendmail_msp_queue_enable="no"
> 
> And as soon as I restarted after commenting out these lines, root's mailbox
> got filled with megs of mail from cron.  I want the minimum I need to get
> system mail without leaving an instance of sendmail vulnerable to attack or
> eating up resources.

This archive post may help you:

    http://docs.freebsd.org/cgi/mid.cgi?20031220102637.GB6942

Another document that may be of interest is 

    /etc/mail/README

> p.s.  What mail reader is good for root mail?  Is there anything better at
> managing system mail than mutt?

You can use any mail client.  You can also read root's mail as any
user by adding an entry to /etc/aliases, for example:

    # Pretty much everything else in this file points to "root", so
    # you would do well in either reading root's mailbox or forwarding
    # root's email from here.

    # root: me@my.domain
    root: joeuser

All the mail that would have went to root will be forwarded to
"joeuser".

HTH,

Randy

-- 



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