[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: switching from exim to postfix

On Mon, Apr 30, 2012 at 11:58:18AM +0200, Carsten Hey wrote:
> * Russ Allbery [2012-04-29 17:32 -0700]:
> > Adam Borowski <kilobyte@angband.pl> writes:
> > > On Sun, Apr 29, 2012 at 10:50:45PM +0200, Carsten Hey wrote:
> >
> > >> Looks like the DragonFly Mail Agent (dma), which already has been
> > >> mentioned in this thread, could become a decent default for Wheezy+1
> > >> after some small changes.
> > >>
> > >> In a nutshell: it's able to deliver locally and remotely, has a queue,
> > >> supports TLS/SSL, does not listen on port 25 and instead of running as
> > >> daemon, it if run every 5 minutes via cron to flush the queue.
> If dma would be the default MTA, then it should IMHO be as reliable as
> possible and even try to prevent user errors.  If a user would
> unintentionally enables deferred mode (which is useful if you are behind
> a dial-up line) but would not set up dma -q to run periodically, then
> the mails would not be delivered without such a default cronjob.
> A comment that reminds users to adapt the cronjob if needed should be
> added to the config file.  If dma -q is run every 5 minutes be default
> anyway, the option -bq does not make that much sense anymore; this can
> possibly be solved by implementing different ways of processing queued
> mails.  All in all, enabling the cronjob by default, as it is already
> done in Debian, seems to be sane.

Not on a laptop or any machine that has to conserve power and avoid
unnecessary wakeups / disk spin-ups.

A cronjob every 5 minutes means you need to start up the process, which adds
quite a bit of churn.  Worse, it will spam the logs, and since at least
auth.log is fsync()ed after every write, it needs to spin up the disk.

That's too big a price for a MTA on a system that typically goes months or
years without a single mail.

// If you believe in so-called "intellectual property", please immediately
// cease using counterfeit alphabets.  Instead, contact the nearest temple
// of Amon, whose priests will provide you with scribal services for all
// your writing needs, for Reasonable and Non-Discriminatory prices.

Attachment: signature.asc
Description: Digital signature

Reply to: