On Thursday 11 December 2008 17:21:54 Victor Duchovni wrote:
> On Thu, Dec 11, 2008 at 01:25:14PM +0100, Gaute Amundsen wrote:
> > Slightly OT this, but I can't think on any other obvious place to ask,
> > and an hour of googling turned up little.
> >
> > The question:
> > What are my options if I don't want to run a full blown mail server, and
> > really only want all mail delivered to a single local mbox or maildir?
>
> What do you mean by "all mail"? Just locally submitted mail, or also
> SMTP mail from the Internet for one or more domains?
>
> > Basically I run smartmontools and a number of cronjobs on my laptop and I
> > want to get the reports and alerts, but I want to avoid the overhead of
> > running and maintaining a full mailserver.
> >
> > I have a sneaky feeling that I am somehow not seeing the forest for all
> > the trees, or my assumptions are wrong, but I can't put my finger on it..
>
> With Postfix, just make the SMTP server local and make all domains local:
>
>       inet_interfaces = 127.0.0.1
>       mydestination = static:all
>       alias_maps = static:yourlogin
>
> The only downside is that pickup will wake up every 60 seconds and scan
> /var/spool/postfix/maildrop. This may defeat power-management and prevent
> the disk from spinning down.
>
> So perhaps you should use Sendmail, with "sendmail -q" run once an hour
> from cron, and no sendmail daemon started when the system boots.
> Configuring Sendmail to deliver all mail to a single local mailbox is not
> too difficult, just short-cut rule-set 0:
>
>       S0
>       $+                      $#local $: yourlogin
>
> This has a lower run-time footprint than Postfix.

Hm. very pragmatic approach.
I'm afraid I'm somewhat more pigheaded than that :)
See my reply to Jorey Bump.

I have however made a quick hack on which I would love comments.
See next post.

Gaute


Reply via email to