Re: system-aliases not found

2001-03-17 Thread Greg White

On Sat, Mar 17, 2001 at 07:18:57PM -0500, Nick (Keith) Fish wrote:
> Well, a few of you got the correct answer; but I'm afraid you have to be
> more specific:
> 
> Eric, just add these lines to your /var/qmail/users/assign file:
> 
>   =alias:alias:1002:102:/var/qmail/alias:::
>   +alias-:alias:1002:102:/var/qmail/alias:-::
> 
> and make sure you end the assign file with a line that just has a dot on
> it and there is no other line in the file with just a dot.

The OP never mentioned usign users/assign, IIRC. You're quite possibly
correct, but if so the OP didn't give us necessary information -- if
users/assign is not populated, ~alias/.qmail-* is checked for any
non-matching local user. 

To the OP -- if you populated users/assign, that was information we
needed to know. If you don't have /var/qmail/users/assign, how about
ownership of /var/qmail/alias?? Does alias own his home directory?

When you're done debugging, just 'eric' or '&eric' will do nicely for
the contents of ~alias/.qmail-*. Just trying to eliminate the basics --
seen some people point 'me' at a remote domain. ;)

P.S. If you populated users/assign, please let me know (off-list if you
like). I always use virtual domains, not users/assign, but I should have
though of it...

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: system-aliases not found

2001-03-17 Thread Nick (Keith) Fish

Eric Pretorious wrote:
> 
> I've created the system-aliases (/var/qmail/alias/):
> 
> -re-r--r-- 1 root root .qmail-root
> -re-r--r-- 1 root root .qmail-postmaster
> -re-r--r-- 1 root root .qmail-MAILER-DAEMON
> 
> Each has the same contenets: the username 'eric' but qmail doesn't forward
> the messages to the $HOME/Mailbox in /home/eric.
> 
> /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
> 
> Any thoughts?
> 
> Eric P.
> Los Gatos, CA

Well, a few of you got the correct answer; but I'm afraid you have to be
more specific:

Eric, just add these lines to your /var/qmail/users/assign file:

=alias:alias:1002:102:/var/qmail/alias:::
+alias-:alias:1002:102:/var/qmail/alias:-::

and make sure you end the assign file with a line that just has a dot on
it and there is no other line in the file with just a dot.

To process this new assign file, do:

qmail-newu

and you should be all set to go.

BTW, just keep those alias files as the username you're trying to
forward to ('eric') to reduce overhead resouce usage.

-- 
Keith
Network Engineer
Triton Technologies, Inc.



Re: system-aliases not found

2001-03-17 Thread Greg White

On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
> Greg:
> 
> It doesn't seem to matter what I put in alias/.qmail-root - The messages 
> just come back with the error:
>   <[EMAIL PROTECTED]>:
>   Sorry, no mailbox herre by that name. (#5.1.1)
> 

OK, so delivery is going to the right place. Sounds like user alias
cannot read ~alias/.qmail-root. What's your output of:

user@host:$ ls -l ~alias/.qmail-root
-rw-r--r-- 6 root qmail 19 Jan 29 17:41 /var/qmail/alias/.qmail-root

Mine is shown above, elided spaces a bit to fit linewraps. ;)

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: system-aliases not found

2001-03-17 Thread Jörgen Persson

On Sat, Mar 17, 2001 at 02:18:43AM -0800, Eric Pretorious wrote:
[snip]
> It doesn't seem to matter what I put in alias/.qmail-root - The messages 
> just come back with the error:
>   <[EMAIL PROTECTED]>:
>   Sorry, no mailbox herre by that name. (#5.1.1)

Finally -- the error message was for root and not for eric...

There's probably nothing wrong with eric's mailbox but qmail cannot find
a way to deliver mail to root (which happens to be an alias to eric).

Do you have a /var/qmail/users/assign and does it say anything about
root?? Do you need qmail-users (I use it primarily for NFS)??

Check file permissions.

Have you tried if other aliases (eg ~.alias/.qmail-postmaster) work??

Jörgen



Re: system-aliases not found

2001-03-17 Thread Eric Pretorious

>From: Greg White <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 20:59:38 -0800
>
>On Fri, Mar 16, 2001 at 10:09:33PM -0600, Timothy Legant wrote:
> > On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
> > >
>SNIP
> > > Yes - 'eric' is an existing username.
> > > Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
> > > '[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox 
>in
> > > /home/eric.
> >
> > Can you show us the contents of these files:
> >
> > /var/qmail/control/me
> >.../defaulthost
> >.../defaultdomain
> >
> > Tim
>
>Try the following (to the OP):
>
>echo "&[EMAIL PROTECTED]" > ~alias/.qmail-root
>
>and then try to deliver to root.
>
>If that works, either me or defaulthost/defaultdomain is probably not 
>correct...

Greg:

It doesn't seem to matter what I put in alias/.qmail-root - The messages 
just come back with the error:
  <[EMAIL PROTECTED]>:
  Sorry, no mailbox herre by that name. (#5.1.1)

(I did try &[EMAIL PROTECTED], though.)

Hmmf.  :^|

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-17 Thread Eric Pretorious

>From: Timothy Legant <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 22:09:33 -0600
>
>On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
> >
> > >From: Ahmad Ridha <[EMAIL PROTECTED]>
> > >Subject: Re: system-aliases not found
> > >Date: Fri, 16 Mar 2001 14:28:49 +0700
> > >
> > >1) Is 'eric' an existing username?
> > >2) Is 'eric' able to receive e-mails addressed to him directly
> > >([EMAIL PROTECTED])? Does he have the proper mailbox
> > > as mentioned  in his .qmail file (or the default delivery one)?
> >
> > Ahmad:
> >
> > Yes - 'eric' is an existing username.
> > Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
> > '[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in
> > /home/eric.
>
>Can you show us the contents of these files:
>
>/var/qmail/control/me
>.../defaulthost
>.../defaultdomain

Tim:

Sure:
1. me: pretorious.net
2. defaulthost: charlie
3. defaultdomain: pretorious.net

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-16 Thread Greg White

On Fri, Mar 16, 2001 at 10:09:33PM -0600, Timothy Legant wrote:
> On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
> > 
SNIP
> > Yes - 'eric' is an existing username.
> > Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
> > '[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
> > /home/eric.
> 
> Can you show us the contents of these files:
> 
> /var/qmail/control/me
>.../defaulthost
>.../defaultdomain
> 
> Tim

Try the following (to the OP):

echo "&[EMAIL PROTECTED]" > ~alias/.qmail-root

and then try to deliver to root.

If that works, either me or defaulthost/defaultdomain is probably not correct...

-- 
Greg White
Those who make peaceful revolution impossible will make violent
revolution inevitable.
-- John F. Kennedy



Re: system-aliases not found

2001-03-16 Thread Timothy Legant

On Thu, Mar 15, 2001 at 11:54:23PM -0800, Eric Pretorious wrote:
> 
> >From: Ahmad Ridha <[EMAIL PROTECTED]>
> >Subject: Re: system-aliases not found
> >Date: Fri, 16 Mar 2001 14:28:49 +0700
> >
> >1) Is 'eric' an existing username?
> >2) Is 'eric' able to receive e-mails addressed to him directly
> >([EMAIL PROTECTED])? Does he have the proper mailbox
> > as mentioned  in his .qmail file (or the default delivery one)?
> 
> Ahmad:
> 
> Yes - 'eric' is an existing username.
> Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
> '[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
> /home/eric.

Can you show us the contents of these files:

/var/qmail/control/me
   .../defaulthost
   .../defaultdomain

Tim



RE: system-aliases not found

2001-03-16 Thread Eric Pretorious

>From: "Virginia Chism" <[EMAIL PROTECTED]>
>Subject: RE: system-aliases not found
>Date: Fri, 16 Mar 2001 15:55:32 -0600
>
>Shouldn't the system-alias file /var/qmail/alias/.qmail-root contain
>'&eric'?
>
>-Original Message-
>From: Eric Pretorious [mailto:[EMAIL PROTECTED]]
>Sent: Friday, March 16, 2001 3:06 AM
>Subject: Re: system-aliases not found
> >
> > >Ahmad:
> > >
> > >Yes - 'eric' is an existing username.
> > >Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
> > >'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox 
>in
> > >/home/eric.
> > >
> > >Eric P.

Virginia:

I've also tried '&eric'...  :^(

Eric P.
Los Gatos, CA
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




RE: system-aliases not found

2001-03-16 Thread Tim Hunter

shouldn't anything in /var/qmail/alias be owned by alias:qmail ?
can alias actually get into /var/qmail/alias/ and read the .qmail-root ?

-Original Message-
From: Jörgen Persson [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 16, 2001 4:45 AM
To: [EMAIL PROTECTED]
Subject: Re: system-aliases not found


On Fri, Mar 16, 2001 at 01:05:33AM -0800, Eric Pretorious wrote:
[snip]
> I don't understand. The Mailbox file in /home/eric receives messages for
the
> user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains
> 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to
> [EMAIL PROTECTED] - Shouldn't they?
[snip]


True

You gave us a snippet from the log earlier:
>/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Was that for root or eric??

Jörgen




Re: system-aliases not found

2001-03-16 Thread Joost van Baal

Hi,

It could be that /var/qmail/users/assign is set up wrong.
Read qmail-lspawn(8) and qmail-users(5).

Bye,

Joost

-- 
Joost van Baal.
 .  heart[EMAIL PROTECTED]
.   food  http://logreport.org/
   .homehttp://mdcc.cx/



Re: system-aliases not found

2001-03-16 Thread Jörgen Persson

On Fri, Mar 16, 2001 at 01:05:33AM -0800, Eric Pretorious wrote:
[snip]
> I don't understand. The Mailbox file in /home/eric receives messages for the 
> user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 
> 'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to 
> [EMAIL PROTECTED] - Shouldn't they?
[snip]


True

You gave us a snippet from the log earlier:
>/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Was that for root or eric??

Jörgen



Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 01:05 AM 03/16/2001 -0800, you wrote:

>Ahmad:
>
>I don't understand. The Mailbox file in /home/eric receives messages for 
>the user 'eric'. The system-alias file /var/qmail/alias/.qmail-root 
>contains 'eric'. Mail messages bound for [EMAIL PROTECTED] should go 
>directly to [EMAIL PROTECTED] - Shouldn't they?
>
>Do you suppose that qmail may be actually looking for a ~Mailbox file for 
>root?
>
>Eric P.

Yes, a /var/qmail/alias/.qmail-root file containing eric will forward mails 
for root to user eric. qmail itself will not send mails to
uid 0 (root).

Any comments, Masters?

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBOrHYjq01M7MMw92qEQIu3QCdFNgONoOVBKXzQqbkDfrQuNiuJRMAnRK+
u8evZ5b8DmcDNLRCskt6a/KE
=fvKv
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-16 Thread Eric Pretorious

>From: Ahmad Ridha <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 15:31:06 +0700
>
>At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:
>
> >>From: Ahmad Ridha <[EMAIL PROTECTED]>
> >>Subject: Re: system-aliases not found
> >>Date: Fri, 16 Mar 2001 14:28:49 +0700
> >>
> >>1) Is 'eric' an existing username?
> >>2) Is 'eric' able to receive e-mails addressed to him directly
> >>([EMAIL PROTECTED])? Does he have the proper mailbox
> >> as mentioned  in his .qmail file (or the default delivery one)?
> >
> >Ahmad:
> >
> >Yes - 'eric' is an existing username.
> >Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie',
> >'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in
> >/home/eric.
> >
> >Eric P.
>
>Well, that's a wonder.  Are you sure that you use Mailbox everywhere else?
>$HOME/Mailbox is an mbox file, right?
>
>PS: sorry for previous post, I clicked the send button by accident

Ahmad:

I don't understand. The Mailbox file in /home/eric receives messages for the 
user 'eric'. The system-alias file /var/qmail/alias/.qmail-root contains 
'eric'. Mail messages bound for [EMAIL PROTECTED] should go directly to 
[EMAIL PROTECTED] - Shouldn't they?

Do you suppose that qmail may be actually looking for a ~Mailbox file for 
root?

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:

>>From: Ahmad Ridha <[EMAIL PROTECTED]>
>>Subject: Re: system-aliases not found
>>Date: Fri, 16 Mar 2001 14:28:49 +0700
>>
>>1) Is 'eric' an existing username?
>>2) Is 'eric' able to receive e-mails addressed to him directly
>>([EMAIL PROTECTED])? Does he have the proper mailbox
>> as mentioned  in his .qmail file (or the default delivery one)?
>
>Ahmad:
>
>Yes - 'eric' is an existing username.
>Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
>'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
>/home/eric.
>
>Eric P.

Well, that's a wonder.  Are you sure that you use Mailbox everywhere else? 
$HOME/Mailbox is an mbox file, right?

PS: sorry for previous post, I clicked the send button by accident

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>

iQA/AwUBOrHPSq01M7MMw92qEQKQOACgwqfvNLX/juG3VbIJ0NslXc/2aEkAnjCq
JL0we26HpyzKKw1oKfYJ/NaM
=lvZs
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-16 Thread Ahmad Ridha

At 11:54 PM 03/15/2001 -0800, Eric Pretorious wrote:

>>From: Ahmad Ridha <[EMAIL PROTECTED]>
>>Subject: Re: system-aliases not found
>>Date: Fri, 16 Mar 2001 14:28:49 +0700
>>
>>1) Is 'eric' an existing username?
>>2) Is 'eric' able to receive e-mails addressed to him directly
>>([EMAIL PROTECTED])? Does he have the proper mailbox
>> as mentioned  in his .qmail file (or the default delivery one)?
>
>Ahmad:
>
>Yes - 'eric' is an existing username.
>Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
>'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
>/home/eric.
>
>Eric P.

Well, that's a wonder. 




Re: system-aliases not found

2001-03-15 Thread Eric Pretorious


>From: Ahmad Ridha <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 14:28:49 +0700
>
>1) Is 'eric' an existing username?
>2) Is 'eric' able to receive e-mails addressed to him directly
>([EMAIL PROTECTED])? Does he have the proper mailbox
> as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-15 Thread Eric Pretorious


>From: Ahmad Ridha <[EMAIL PROTECTED]>
>Subject: Re: system-aliases not found
>Date: Fri, 16 Mar 2001 14:28:49 +0700
>
>1) Is 'eric' an existing username?
>2) Is 'eric' able to receive e-mails addressed to him directly
>([EMAIL PROTECTED])? Does he have the proper mailbox
> as mentioned  in his .qmail file (or the default delivery one)?

Ahmad:

Yes - 'eric' is an existing username.
Yes - 'eric' is able to receive mail sent to 'eric', 'eric@charlie', 
'[EMAIL PROTECTED]', & '[EMAIL PROTECTED]' in the Mailbox in 
/home/eric.

Eric P.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: system-aliases not found

2001-03-15 Thread Ahmad Ridha


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

At 11:12 PM 03/15/2001 -0800, Eric Pretorious wrote:
>I've created the system-aliases (/var/qmail/alias/):
>
>-re-r--r-- 1 root root .qmail-root
>-re-r--r-- 1 root root .qmail-postmaster
>-re-r--r-- 1 root root .qmail-MAILER-DAEMON
>
>Each has the same contenets: the username 'eric' but qmail doesn't forward 
>the messages to the $HOME/Mailbox in /home/eric.
>
>/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
>
>Any thoughts?

1) Is 'eric' an existing username?
2) Is 'eric' able to receive e-mails addressed to him directly 
([EMAIL PROTECTED])? Does he have the proper mailbox
as mentioned  in his .qmail file (or the default delivery one)?

Regards,

Ahmad Ridha

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 7.0.3 for non-commercial use 

iQA/AwUBOrHAsK01M7MMw92qEQIy8QCfTgk1h8/gnVczKiJtYKAAQmjb0X8AoOh2
W5LoKxRwf+Cf7XbczXTcTX9N
=Vj/h
-END PGP SIGNATURE-




Re: system-aliases not found

2001-03-15 Thread Jörgen Persson

On Thu, Mar 15, 2001 at 11:12:47PM -0800, Eric Pretorious wrote:
> I've created the system-aliases (/var/qmail/alias/):
> 
> -re-r--r-- 1 root root .qmail-root
> -re-r--r-- 1 root root .qmail-postmaster
> -re-r--r-- 1 root root .qmail-MAILER-DAEMON
> 
> Each has the same contenets: the username 'eric' but qmail doesn't forward 
> the messages to the $HOME/Mailbox in /home/eric.
> 
> /var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"
> 
> Any thoughts?
> 
> Eric P.
> Los Gatos, CA


Well... isn't that obvious -- qmail doesn't see any mailbox :) How did
you tell qmail to deliver the mail? What does the ''qmail-lspawn''
process look like??

Jörgen



system-aliases not found

2001-03-15 Thread Eric Pretorious

I've created the system-aliases (/var/qmail/alias/):

-re-r--r-- 1 root root .qmail-root
-re-r--r-- 1 root root .qmail-postmaster
-re-r--r-- 1 root root .qmail-MAILER-DAEMON

Each has the same contenets: the username 'eric' but qmail doesn't forward 
the messages to the $HOME/Mailbox in /home/eric.

/var/log/maillog has the error message "Sorry,_no_mailbox_here... (#5.1.1)"

Any thoughts?

Eric P.
Los Gatos, CA
_
Get your FREE download of MSN Explorer at http://explorer.msn.com