Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Dec 2003 12:31:21 -0800
From:      Chris Pressey <cpressey@catseye.mine.nu>
To:        freebsd-questions@freebsd.org
Cc:        zhangweiwu@realss.com
Subject:   Re: why do I need sendmail
Message-ID:  <20031220123121.525ad1db.cpressey@catseye.mine.nu>
In-Reply-To: <00c701c3c736$0f38d4d0$0fce75d8@cybertime.net>
References:  <Law11-F353wBKIC3EHZ00056f9b@hotmail.com> <20031220102637.GB6942@happy-idiot-talk.infracaninophile.co.uk> <00c701c3c736$0f38d4d0$0fce75d8@cybertime.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Dec 2003 12:15:49 -0800
"Cybertime Hostmaster" <hostmaster@cybertime.net> wrote:

> One thing to note in Matthew's reply:
> 
> > that.  However, automatic e-mails from your system -- usually from
> > the periodic(8) scripts -- do require sendmail(8) or equivalent.
> 
> Two words at the end, "or equivalent."
> 
> You can run Courier, Exim, Mini Sendmail, Nullmailer, Postfix, Qmail,
> ZMailer, so on and so forth.
> 
> All have advantages and disadvantages.  Personally, I use Postfix, but
> that is because for my needs it is better.
> 
> If you have trouble reducing sendmail down to your needs, look at the
> documentation on the others.  One of them might suit you better.
> 
> Your mileage may vary, so on and so forth.

FWIW, you can also cause periodic(8) to log to a file instead of sending
mail, by adding lines like the following to /etc/periodic.conf:

  daily_output="/var/log/dialy.log"
  weekly_output="/var/log/weekly.log"
  monthly_output="/var/log/monthly.log"

Not sure if this eliminates the need for a local mailer, but it's sure
to be the first step down that road. I can't think of anything else that
sends automated e-mails, offhand, but whatever does can probably be
configured to write its output to a file instead, in a similar way.

-Chris



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