No mailbox for root

2001-06-08 Thread Guus

Newly installed qmail on 2.2 debian/linux works fine, except...

Whenever I send mail to root@localhost I get an error message

root@mydomain
Sorry, no mailbox here by that name. (#5.1.1)

A trial installation of qmail does not have this problem.
Similar, almost identical, setup.

How can I create a mailbox for root?

What I want is to forward mail for root to another user.

Tia,
Guus.



Re: No mailbox for root

2001-06-08 Thread David Gartner

echo account_you_want_root's_mail_to_go_to 
/var/qmail/alias/.qmail-root


Guus wrote:

 Newly installed qmail on 2.2 debian/linux works fine, except...

 Whenever I send mail to root@localhost I get an error message

 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)

 A trial installation of qmail does not have this problem.
 Similar, almost identical, setup.

 How can I create a mailbox for root?

 What I want is to forward mail for root to another user.

 Tia,
 Guus.




RE: No mailbox for root

2001-06-08 Thread Hank Wethington

do you have a root alias? /var/qmail/alias/.qmail-root?
Do you have delivery instructions for root?
cat /var/qmail/alias/.qmail-root
where does it go? local, to another address?
If local, does the user have a mailbox set up right? if the .qmail-default
for that user is ./Maildir/
is Maildir available in the directory, and was it set up correctly?

Hope that helps.

Hank Wethington
Information Logistics


Information Logistics
897 Oak Park Blvd.
#276
Pismo Beach, CA 93449
805.474.0852
www.GoInfoLogistics.com
mailto:info.at.GoInfoLogistics.com


-Original Message-
From: xmail [mailto:xmail]On Behalf Of Guus
Sent: Friday, June 08, 2001 8:22 AM
To: [EMAIL PROTECTED]
Subject: No mailbox for root


Newly installed qmail on 2.2 debian/linux works fine, except...

Whenever I send mail to root@localhost I get an error message

root@mydomain
Sorry, no mailbox here by that name. (#5.1.1)

A trial installation of qmail does not have this problem.
Similar, almost identical, setup.

How can I create a mailbox for root?

What I want is to forward mail for root to another user.

Tia,
Guus.




Re: No mailbox for root

2001-06-08 Thread Drew Raines

* Guus [EMAIL PROTECTED], 17:22 06/08/2001:
 
 How can I create a mailbox for root?
 
 What I want is to forward mail for root to another user.

Read INSTALL.alias.

-- 
Drew



Re: No mailbox for root

2001-06-08 Thread Kourosh Ghassemieh


Guus,

For security reasons qmail does not send mail directly
to the root account.  This is in the docs and in Life With
Qmail.  You need to create alias' for Postmaster, Mailer-Daemon,
and root. To do this you need to decide which user should receive
mail for those accounts (most likely yourself, eg. guus, or the name
of your system account):

echo guus  /var/qmail/alias/.qmail-root
echo guus  /var/qmail/alias/.qmail-postmaster
ln -s /var/qmail/alias/.qmail-postmaster /var/qmail/alias/.qmail-mailer-daemon
chmod 644 /var/qmail/alias/.qmail-root /var/qmail/alias/.qmail-postmaster

After you've done that go back and reread Life With Qmail at
www.lifewithqmail.org to find out _why_  you needed to do it.

Regards.

At 05:22 PM 6/8/2001 +0200, you wrote:
Newly installed qmail on 2.2 debian/linux works fine, except...

Whenever I send mail to root@localhost I get an error message

root@mydomain
Sorry, no mailbox here by that name. (#5.1.1)

A trial installation of qmail does not have this problem.
Similar, almost identical, setup.

How can I create a mailbox for root?

What I want is to forward mail for root to another user.

Tia,
Guus.

-

Kourosh Ghassemieh
MindWare Information Systems  Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
[EMAIL PROTECTED]

Networking Solutions for Your Business





Re: No mailbox for root

2001-06-08 Thread Tom Beer

In qmail you never have a mailbox for root
You may read dot-qmail


 
 Whenever I send mail to root@localhost I get an error message
 
 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)
 
 A trial installation of qmail does not have this problem.
 Similar, almost identical, setup.
 
 What I want is to forward mail for root to another user.

This is exactly the concept of qmail. Forward mails for
root to another account, which could be found in various
documents.

Tom





Re: No mailbox for root

2001-06-08 Thread Guus

I read the manual and created the
files ~alias/.qmail-root etc.

Problem solved.

Thanks,
Guus.

 
 How can I create a mailbox for root?
 
 What I want is to forward mail for root to another user.
 
 Tia,
 Guus.



Re: No mailbox for root

2001-06-08 Thread Henning Brauer

On Fri, Jun 08, 2001 at 05:22:07PM +0200, Guus wrote:
 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)

/var/qmail/alias/.qmail-root is missing.
chances that .qmail-postmaster is also missing.

 How can I create a mailbox for root?

You cannot. qmail never delivers mail to root. You have to create a
.qmail-root in /var/qmail/alias.

-- 
* Henning Brauer, [EMAIL PROTECTED], http://www.bsws.de *
* Roedingsmarkt 14, 20459 Hamburg, Germany   *
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)



Re: No mailbox for root

2001-06-08 Thread Jason Kawaja

qmail-lspawn ignores/denies nonzero uids for delivery(root - 0).

   http://cr.yp.to/qmail/pictures/PIC.local2local

man dot-qmail for the alias


On Fri, 8 Jun 2001, Guus wrote:

 Newly installed qmail on 2.2 debian/linux works fine, except...

 Whenever I send mail to root@localhost I get an error message

 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)

 A trial installation of qmail does not have this problem.
 Similar, almost identical, setup.

 How can I create a mailbox for root?

 What I want is to forward mail for root to another user.

 Tia,
 Guus.



/* Regards,
   Jason Kawaja, UF-ECE Sys Admin */





Re: No mailbox for root

2001-06-08 Thread Charles Cazabon

Guus [EMAIL PROTECTED] wrote:
 
 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)
[...] 
 How can I create a mailbox for root?

`man dot-qmail` and `echo user ~alias/.qmail-root`

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
Any opinions expressed are just that -- my opinions.
---



RE: No mailbox for root

2001-06-08 Thread Joshua Nichols

 Whenever I send mail to root@localhost I get an error message

 root@mydomain
 Sorry, no mailbox here by that name. (#5.1.1)


qmail won't deliver to root.

You want somethin like this in /var/qmail/users/assign

=root:USERNAME:UID:GID:/home/USERNAME:::

I'm making alot of assumptions here, but since you didn't give us any
details...

Why do you need to email root anyway?



--joshua.