Re: Alias Error

2001-07-16 Thread Charles Cazabon

Bob Ross [EMAIL PROTECTED] wrote:
 
 The ownership is alias.qmail

Perhaps the directory isn't visible to qmail.  Check the permissions and
ownership on /, /var, and /var/qmail as well.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Resolved: Alias Error

2001-07-16 Thread Mike Scher

We worked through it off-list.

The problem was that his /etc/passwd was mode 600.

He changed it to 644, and the issue went away.


The qmail code was quite informative in solving the evidence of the
problem, which was clearly tied to a result code from qmail-getpw.  After
looking for things like inconsistencies in his shadow system setup, file
mount issues, embedded control characters in hand-edited PW files, the
qmail IDs' component shells, and so forth, it still had to be related to
an inability to obtain the alias user (which was indeed set to alias)
information from the PW file.  That left perms, the simplest thing to
check

  -M

On Mon, 16 Jul 2001, Charles Cazabon wrote:

 Bob Ross [EMAIL PROTECTED] wrote:
 
  The ownership is alias.qmail

 Perhaps the directory isn't visible to qmail.  Check the permissions and
 ownership on /, /var, and /var/qmail as well.

 Charles
 --
 ---
 Charles Cazabon[EMAIL PROTECTED]
 GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
 ---


  Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Sr. Research Consultant
  Attorney, Anthropologist, Part-Time Guru
   Mailaise: n, ('mail-aze).  See Outlook.




Alias Error

2001-07-15 Thread Bob Ross

With every email I'm getting this error in my logs. I have never seen this
before so I'm sure I missed something.

delivery 10: deferral: Unable_to_find_alias_user!/

Can someone help me with this?

Thanks
Bob Ross




Re: Alias Error

2001-07-15 Thread Charles Cazabon

Bob Ross [EMAIL PROTECTED] wrote:
 
 delivery 10: deferral: Unable_to_find_alias_user!/

qmail requires a system user account named alias.  It's part of a
standard install.  If you didn't install according to Life with qmail,
perhaps you should start over by following that.

Charles
-- 
---
Charles Cazabon[EMAIL PROTECTED]
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
---



Re: Alias Error

2001-07-15 Thread Bob Ross

Yes it's there.

nobody:x:99:99:nobody:/:
alias:x:1000:102::/var/qmail/alias:
qmaild:x:1001:102::/var/qmail:
qmaill:x:1002:102::/var/qmail:
qmailp:x:1003:102::/var/qmail:
qmailq:x:1004:103::/var/qmail:
qmailr:x:1005:103::/var/qmail:

Then under /var/qmail/alias

It has the .qmail-default
etc..

Thanks
Bob Ross


 - Original Message -
 From: Charles Cazabon [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Sunday, July 15, 2001 6:04 AM
 Subject: Re: Alias Error


  Bob Ross [EMAIL PROTECTED] wrote:
  
   delivery 10: deferral: Unable_to_find_alias_user!/
 
  qmail requires a system user account named alias.  It's part of a
  standard install.  If you didn't install according to Life with qmail,
  perhaps you should start over by following that.
 
  Charles
  --
  ---
  Charles Cazabon[EMAIL PROTECTED]
  GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
  ---
 





Re: Alias Error

2001-07-15 Thread Mike Scher

Qmail makes the determination in qmail-getpw after determining the
local part:

pw = getpwnam(username);


What does:

/var/qmail/bin/qmail-getpw alias

...return?

It should be something like:

alias1000102/var/qmail/alias

If it's not, you have some kind of problem there.

Is the alias user in shadow as well?

  -M

On Sun, 15 Jul 2001, Bob Ross wrote:

 Yes it's there.

 nobody:x:99:99:nobody:/:
 alias:x:1000:102::/var/qmail/alias:
 qmaild:x:1001:102::/var/qmail:
 qmaill:x:1002:102::/var/qmail:
 qmailp:x:1003:102::/var/qmail:
 qmailq:x:1004:103::/var/qmail:
 qmailr:x:1005:103::/var/qmail:

 Then under /var/qmail/alias

 It has the .qmail-default
 etc..

 Thanks
 Bob Ross


  - Original Message -
  From: Charles Cazabon [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Sent: Sunday, July 15, 2001 6:04 AM
  Subject: Re: Alias Error
 
 
   Bob Ross [EMAIL PROTECTED] wrote:
   
delivery 10: deferral: Unable_to_find_alias_user!/
  
   qmail requires a system user account named alias.  It's part of a
   standard install.  If you didn't install according to Life with qmail,
   perhaps you should start over by following that.
  
   Charles
   --
   ---
   Charles Cazabon[EMAIL PROTECTED]
   GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
   ---
  
 


  Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
 Sr. Research Consultant
  Attorney, Anthropologist, Part-Time Guru
   Mailaise: n, ('mail-aze).  See Outlook.




Re: Alias Error

2001-07-15 Thread Bob Ross

It gave me.

alias1000102/var/qmail/alias

- Original Message -
From: Mike Scher [EMAIL PROTECTED]
To: Bob Ross [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 15, 2001 12:28 PM
Subject: Re: Alias Error


 Qmail makes the determination in qmail-getpw after determining the
 local part:

 pw = getpwnam(username);


 What does:

 /var/qmail/bin/qmail-getpw alias

 ...return?

 It should be something like:

 alias1000102/var/qmail/alias

 If it's not, you have some kind of problem there.

 Is the alias user in shadow as well?

   -M

 On Sun, 15 Jul 2001, Bob Ross wrote:

  Yes it's there.
 
  nobody:x:99:99:nobody:/:
  alias:x:1000:102::/var/qmail/alias:
  qmaild:x:1001:102::/var/qmail:
  qmaill:x:1002:102::/var/qmail:
  qmailp:x:1003:102::/var/qmail:
  qmailq:x:1004:103::/var/qmail:
  qmailr:x:1005:103::/var/qmail:
 
  Then under /var/qmail/alias
 
  It has the .qmail-default
  etc..
 
  Thanks
  Bob Ross
 
 
   - Original Message -
   From: Charles Cazabon [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Sunday, July 15, 2001 6:04 AM
   Subject: Re: Alias Error
  
  
Bob Ross [EMAIL PROTECTED] wrote:

 delivery 10: deferral: Unable_to_find_alias_user!/
   
qmail requires a system user account named alias.  It's part of a
standard install.  If you didn't install according to Life with
qmail,
perhaps you should start over by following that.
   
Charles
--
  
 ---
Charles Cazabon
[EMAIL PROTECTED]
GPL'ed software available at:
http://www.qcc.sk.ca/~charlesc/software/
  
 ---
   
  
 

   Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  Sr. Research Consultant
   Attorney, Anthropologist, Part-Time Guru
Mailaise: n, ('mail-aze).  See Outlook.






Re: Alias Error

2001-07-15 Thread Bob Ross

Yes it's in shadow.

- Original Message -
From: Mike Scher [EMAIL PROTECTED]
To: Bob Ross [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 15, 2001 12:28 PM
Subject: Re: Alias Error


 Qmail makes the determination in qmail-getpw after determining the
 local part:

 pw = getpwnam(username);


 What does:

 /var/qmail/bin/qmail-getpw alias

 ...return?

 It should be something like:

 alias1000102/var/qmail/alias

 If it's not, you have some kind of problem there.

 Is the alias user in shadow as well?

   -M

 On Sun, 15 Jul 2001, Bob Ross wrote:

  Yes it's there.
 
  nobody:x:99:99:nobody:/:
  alias:x:1000:102::/var/qmail/alias:
  qmaild:x:1001:102::/var/qmail:
  qmaill:x:1002:102::/var/qmail:
  qmailp:x:1003:102::/var/qmail:
  qmailq:x:1004:103::/var/qmail:
  qmailr:x:1005:103::/var/qmail:
 
  Then under /var/qmail/alias
 
  It has the .qmail-default
  etc..
 
  Thanks
  Bob Ross
 
 
   - Original Message -
   From: Charles Cazabon [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Sunday, July 15, 2001 6:04 AM
   Subject: Re: Alias Error
  
  
Bob Ross [EMAIL PROTECTED] wrote:

 delivery 10: deferral: Unable_to_find_alias_user!/
   
qmail requires a system user account named alias.  It's part of a
standard install.  If you didn't install according to Life with
qmail,
perhaps you should start over by following that.
   
Charles
--
  
 ---
Charles Cazabon
[EMAIL PROTECTED]
GPL'ed software available at:
http://www.qcc.sk.ca/~charlesc/software/
  
 ---
   
  
 

   Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  Sr. Research Consultant
   Attorney, Anthropologist, Part-Time Guru
Mailaise: n, ('mail-aze).  See Outlook.






Re: Alias Error

2001-07-15 Thread Bob Ross

Yes it's in shadow also.

- Original Message -
From: Mike Scher [EMAIL PROTECTED]
To: Bob Ross [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Sunday, July 15, 2001 12:28 PM
Subject: Re: Alias Error


 Qmail makes the determination in qmail-getpw after determining the
 local part:

 pw = getpwnam(username);


 What does:

 /var/qmail/bin/qmail-getpw alias

 ...return?

 It should be something like:

 alias1000102/var/qmail/alias

 If it's not, you have some kind of problem there.

 Is the alias user in shadow as well?

   -M

 On Sun, 15 Jul 2001, Bob Ross wrote:

  Yes it's there.
 
  nobody:x:99:99:nobody:/:
  alias:x:1000:102::/var/qmail/alias:
  qmaild:x:1001:102::/var/qmail:
  qmaill:x:1002:102::/var/qmail:
  qmailp:x:1003:102::/var/qmail:
  qmailq:x:1004:103::/var/qmail:
  qmailr:x:1005:103::/var/qmail:
 
  Then under /var/qmail/alias
 
  It has the .qmail-default
  etc..
 
  Thanks
  Bob Ross
 
 
   - Original Message -
   From: Charles Cazabon [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Sunday, July 15, 2001 6:04 AM
   Subject: Re: Alias Error
  
  
Bob Ross [EMAIL PROTECTED] wrote:

 delivery 10: deferral: Unable_to_find_alias_user!/
   
qmail requires a system user account named alias.  It's part of a
standard install.  If you didn't install according to Life with
qmail,
perhaps you should start over by following that.
   
Charles
--
  
 ---
Charles Cazabon
[EMAIL PROTECTED]
GPL'ed software available at:
http://www.qcc.sk.ca/~charlesc/software/
  
 ---
   
  
 

   Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  Sr. Research Consultant
   Attorney, Anthropologist, Part-Time Guru
Mailaise: n, ('mail-aze).  See Outlook.






RE: Alias Error

2001-07-15 Thread Joshua Nichols


 alias:x:1000:102::/var/qmail/alias:

 Then under /var/qmail/alias

And the ownership on /var/qmail/alias?

It should be alias.qmail


--joshua.




Re: Alias Error

2001-07-15 Thread Bob Ross

I'm sorry I did catch all of it.

The ownership is alias.qmail

Group is qmail

Linux Slackware kernel 2.2.13

Stock - no patches

Compiled on server that is running it.

Under /var/qmail/alias
.qmail-daemon
.qmail-postmaster
.qmail-root

all chmod 644


- Original Message -
From: Mike Scher [EMAIL PROTECTED]
To: Bob Ross [EMAIL PROTECTED]
Sent: Sunday, July 15, 2001 1:21 PM
Subject: Re: Alias Error


 Yes, but could you answer the questions I asked.  I really cannot help you
 without that information.  See the questions below.

 On Sun, 15 Jul 2001, Bob Ross wrote:

  I get this error with every email coming in to any user.
 
 
  - Original Message -
  From: Strange [EMAIL PROTECTED]
  To: Bob Ross [EMAIL PROTECTED]
  Sent: Sunday, July 15, 2001 1:06 PM
  Subject: Re: Alias Error
 
 
   Have the qmail* and alias UIDs changed at all since you installed
qmail?
   Second, what's the content of the .qmail-* files in /var/qmail/alas?
  
   I'm looking through the code to see where it looks up users, and I
really
   don't see how with a valid alias account it could return that error.
  
   Some other questions:
   What OS/hardware?
   Is your system running stock qmail, or are there patches?
   Was it compiled on your server or installed from an RPM or pkg?
   Was it compiled on one of your servers, but not the one it's running
on?
  
   Really, all the detail you can give would help.
  
 -M
  
   Michael Brian Scher (MS683/MS3213)  Anthropologist, Attorney, Policy
  Analyst
   Mainlining Internet Connectivity for Fun and Profit
   [EMAIL PROTECTED] [EMAIL PROTECTED]
Give me a compiler and a box to run it, and I can move the mail.
  
  
 

   Michael Brian Scher  [EMAIL PROTECTED]  [EMAIL PROTECTED]
  Sr. Research Consultant
   Attorney, Anthropologist, Part-Time Guru
Mailaise: n, ('mail-aze).  See Outlook.






Alias Error question, one for the gurus...

2000-03-22 Thread Craig Huber


Can't seem to figure out why qmail is looking for aliases under /usr

Here's the error message from syslog
Mar 22 21:27:06 lightning qmail: 953782026.825182 delivery 32: deferral:
Unable_to_switch_to_/usr/qmail/alias: file_does_not_exist._(#4.3.0)/

I compiled qmail in the default /var/qmail path.  And yes, there is a
/var/qmail/alias dir, but for the life of me I can't find where qmail is
getting /usr/qmail from.

Any thoughts?

Thanks in advance




Re: Alias Error question, one for the gurus...

2000-03-22 Thread Adam McKenna

Check your /etc/passwd file, the home directory for the alias user is
probably incorrect.

--Adam

On Wed, Mar 22, 2000 at 09:39:45PM -0600, Craig Huber wrote:
 
 Can't seem to figure out why qmail is looking for aliases under /usr
 
 Here's the error message from syslog
 Mar 22 21:27:06 lightning qmail: 953782026.825182 delivery 32: deferral:
 Unable_to_switch_to_/usr/qmail/alias: file_does_not_exist._(#4.3.0)/
 
 I compiled qmail in the default /var/qmail path.  And yes, there is a
 /var/qmail/alias dir, but for the life of me I can't find where qmail is
 getting /usr/qmail from.
 
 Any thoughts?
 
 Thanks in advance
 



Re: Alias Error question, one for the gurus...

2000-03-22 Thread Chris Johnson

On Wed, Mar 22, 2000 at 09:39:45PM -0600, Craig Huber wrote:
 
 Can't seem to figure out why qmail is looking for aliases under /usr
 
 Here's the error message from syslog
 Mar 22 21:27:06 lightning qmail: 953782026.825182 delivery 32: deferral:
 Unable_to_switch_to_/usr/qmail/alias: file_does_not_exist._(#4.3.0)/

What address is it trying to deliver to? What do the previous log entries say for
delivery number 32?

Chris