I solved this by having just my username in the .qmail-root file in the
/var/qmail/alias directory. That is I use "dan" rather than "./Maildir/" or
even "/home/dan/Maildir/" to receive emails sent to root. Now any cron
notices or other emails sent to root are automatically deposited to my
personal user account and I can easily retrieve them from remote locations.

Cheers,
DAN

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Dustin Marquess
Sent: Wednesday, May 19, 1999 9:22 AM
To: Julian L.C. Brown
Cc: qmail mailing list
Subject: Re: HELP: root can't get mail.....


On Wed, 19 May 1999, Julian L.C. Brown wrote:

> At 08:39 AM 5/19/99 -0500, Justin Bell wrote:
> >qmail will not deliver mail to the root account, following the
instructions
> >from the INSTALL file you need to setup a file in the ~alias directory
called
> >.qmail-root, either an empty file, which will save mail in the ~alias
> >account, or  file containing &[EMAIL PROTECTED] to forward root mail
to
> >someone else.
> >
> >Justin
> >
> >On Wed, May 19, 1999 at 05:33:57PM +0200, Bruno Boettcher wrote:
> ># Hello,
> >#
> ># strange thing: as it seems root can't get mail:
> ># May 16 06:51:43 erm1 qmail: 926830303.461259 info msg 4064: bytes 501
from
> ># <[EMAIL PROTECTED]> qp 10976 uid 0
> ># May 16 06:51:43 erm1 qmail: 926830303.555195 starting delivery 18439:
> msg 4064
> ># t o local [EMAIL PROTECTED]
> ># May 16 06:51:43 erm1 qmail: 926830303.555313 status: local 1/10 remote
0/20
> ># May 16 06:51:43 erm1 qmail: 926830303.621024 delivery 18439: failure:
> ># Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> ># May 16 06:51:43 erm1 qmail: 926830303.621160 status: local 0/10 remote
0/20
> ># May 16 06:51:43 erm1 qmail: 926830303.662618 bounce msg 4064 qp 10979
> ># May 16 06:51:43 erm1 qmail: 926830303.662926 end msg 4064
> ># May 16 06:51:43 erm1 qmail: 926830303.663387 new msg 4361
> ># May 16 06:51:43 erm1 qmail: 926830303.663611 info msg 4361: bytes 1066
> from <>
> ># qp 10979 uid 72
> ># May 16 06:51:43 erm1 qmail: 926830303.721585 starting delivery 18440:
> msg 4361
> ># to local [EMAIL PROTECTED]
> ># May 16 06:51:43 erm1 qmail: 926830303.721742 status: local 1/10 remote
0/20
> ># May 16 06:51:43 erm1 qmail: 926830303.725045 delivery 18440: failure:
> ># Sorry,_no_mailbox_here_by_that_name._(#5.1.1)/
> ># May 16 06:51:43 erm1 qmail: 926830303.725411 status: local 0/10 remote
0/20
> ># May 16 06:51:43 erm1 qmail: 926830303.786842 bounce msg 4361 qp 10981
> ># May 16 06:51:43 erm1 qmail: 926830303.787024 end msg 4361
> ># May 16 06:51:43 erm1 qmail: 926830303.787440 new msg 4064
> >#
> ># what did i do wrong? this lines are filling the logs and explode
/var.....
> >#
> ># ciao
> ># bboett
>
> You know, I never did understand why everyone says Qmail does not allow
you
> to receive email as root because I have it set up to do just that.  I had
> the exact same problem, and resolved it by setting up a root email
account.
>  Coincidentally I can read the messages to see if there is anything truly
> wrong.

        Delivering email to ~root/Mailbox or ~root/Maildir would require
having qmail-local run as root to deliver the mail, which is a security
risk.

                                        -Dustin

Reply via email to