Re: qmail-pw2u error

2000-08-02 Thread Vincent Danen

On Thu, Aug 03, 2000 at 03:28:56PM +1200, Chris, the Young One wrote:

> ! How about running qmail-pw2u under trace/truss/strace/par?
> 
> Yeah, that's something I'd suggest if include/exclude files aren't the
> obvious culprits.

I think they are... going to send another email just to make sure,
but adding "alias" to include seems like it fixed the problem.

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
// Danen Consulting Serviceswww.danen.net, www.freezer-burn.org
// MandrakeSoft, Inc.   www.linux-mandrake.com

Current Linux uptime: 1 hour 50 minutes.



Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Wed, Aug 02, 2000 at 10:10:02AM -0400, Dave Sill wrote:
! D'oh. Missed the "n". I forget: did he post ls output that showed
! "alias"?

Not one that I remembered.

! How about running qmail-pw2u under trace/truss/strace/par?

Yeah, that's something I'd suggest if include/exclude files aren't the
obvious culprits.

---Chris K.
-- 
 Chris, the Young One |_ Never brag about how your machines haven't been 
  Auckland, New Zealand |_ hacked, or your code hasn't been broken. It's 
http://cloud9.hedgee.com/ |_ guaranteed to bring the wrong kind of 
 PGP: 0xCCC6114E/0x706A6AAD |_ attention. ---Neil Schneider 



Re: qmail-pw2u error

2000-08-02 Thread Dave Sill

"Chris, the Young One" <[EMAIL PROTECTED]> wrote:

>On Wed, Aug 02, 2000 at 09:12:27AM -0400, Dave Sill wrote:
>! >! This is the output of ls -dln...
>! >! 
>! >! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
>! >
>! >Looks good.
>! 
>! Yes and no. That's the right uid but it should display as "alias",
>! not "400". Sounds like either /etc/password or getpw* is broken.
>
>I said to type ``ls -dln''. -d means show directory (and not its
>contents), -l means long listing, and -n means show numeric user
>and group. If it showed ``alias'' instead of ``400'' I'd say ls
>was broken. :-)

D'oh. Missed the "n". I forget: did he post ls output that showed
"alias"?

How about running qmail-pw2u under trace/truss/strace/par?

-Dave



Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Wed, Aug 02, 2000 at 09:12:27AM -0400, Dave Sill wrote:
! >! This is the output of ls -dln...
! >! 
! >! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
! >
! >Looks good.
! 
! Yes and no. That's the right uid but it should display as "alias",
! not "400". Sounds like either /etc/password or getpw* is broken.

I said to type ``ls -dln''. -d means show directory (and not its
contents), -l means long listing, and -n means show numeric user
and group. If it showed ``alias'' instead of ``400'' I'd say ls
was broken. :-)

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: qmail-pw2u error

2000-08-02 Thread Dave Sill

"Chris, the Young One" <[EMAIL PROTECTED]> wrote:

>On Tue, Aug 01, 2000 at 02:32:12PM -0400, Vincent Danen wrote:
>! user ids: 400, 401, 402, 0, 403, 404, 405, 406.
>
>Looks good.
>
>! This is the output of ls -dln...
>! 
>! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/
>
>Looks good.

Yes and no. That's the right uid but it should display as "alias",
not "400". Sounds like either /etc/password or getpw* is broken.

-Dave



Re: qmail-pw2u error

2000-08-02 Thread Chris, the Young One

On Tue, Aug 01, 2000 at 02:32:12PM -0400, Vincent Danen wrote:
! user ids: 400, 401, 402, 0, 403, 404, 405, 406.

Looks good.

! This is the output of ls -dln...
! 
! drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/

Looks good.

! Could this be it?  It's owned by alias.qmail, maybe it should be
! alias.nofiles?  I'm guessing because the files in alias/ are owned by
! alias.nofiles.

It doesn't matter. qmail-pw2u doesn't care about the gid of the home
directory. It only cares that the uids match.

Okay, next step. Check to see if you have /var/qmail/users/include
or /var/qmail/users/exclude files. If you have an ``include'', make
sure that ``alias'' is listed. If you have an ``exclude'', make sure
that ``alias'' is not listed.

If you have neither of those files, then I'm going to have to look
deeper...

---Chris K.
-- 
 Chris, the Young One |_ If you can't afford a backup system, you can't 
  Auckland, New Zealand |_ afford to have important data on your computer. 
http://cloud9.hedgee.com/ |_ ---Tracy R. Reed  
 PGP: 0xCCC6114E/0x706A6AAD |_ 



Re: qmail-pw2u error

2000-08-01 Thread Vincent Danen

On Tue, Aug 01, 2000 at 05:34:36PM +1200, Chris, the Young One wrote:

> On Mon, Jul 31, 2000 at 11:12:54PM -0400, Vincent Danen wrote:
> ! In /etc/passwd I have this:
> ! 
> ! alias:x:400:401::/var/qmail/alias:/bin/true
> 
> Can you please run qmail-showctl and list the output of the line
> ``user ids''. The first number shown has to be 400, in your case.
> 
> Also, type ``ls -dln /var/qmail/alias'' and make sure it says 400
> in the third field.

All of the info is below... 

qmail home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 120.
subdirectory split: 23.
user ids: 400, 401, 402, 0, 403, 404, 405, 406.
group ids: 401, 400.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is slave.danen.net.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: (Default.) Remote concurrency is 20.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: Default domain name is danen.net.

defaulthost: (Default.) Default host name is slave.danen.net.

doublebouncehost: (Default.) 2B recipient host: slave.danen.net.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is slave.danen.net.

helohost: (Default.) SMTP client HELO host name is slave.danen.net.

idhost: (Default.) Message-ID host name is slave.danen.net.

localiphost: (Default.) Local IP address becomes slave.danen.net.

locals: 
Messages for slave.danen.net are delivered locally.
Messages for pellaria.com are delivered locally.

me: My name is slave.danen.net.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: Plus domain name is danen.net.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts: 
SMTP clients may send messages to recipients at slave.danen.net.
SMTP clients may send messages to recipients at pellaria.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: (Default.) SMTP greeting: 220 slave.danen.net.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains: (Default.) No virtual domains.

defaultdelivery: I have no idea what this file does.

aliasempty: I have no idea what this file does.

This is the output of ls -dln...

drwxr-sr-x2 400  400   163 Jul 30 17:50 /var/qmail/alias/

Could this be it?  It's owned by alias.qmail, maybe it should be
alias.nofiles?  I'm guessing because the files in alias/ are owned by
alias.nofiles.

/etc/passwd:
alias:x:400:401::/var/qmail/alias:/bin/true
qmaild:x:401:401::/var/qmail:/bin/true
qmaill:x:402:401::/var/qmail:/bin/true
qmailp:x:403:401::/var/qmail:/bin/true
qmailq:x:404:400::/var/qmail:/bin/true
qmailr:x:405:400::/var/qmail:/bin/true
qmails:x:406:400::/var/qmail:/bin/true

/etc/group:
qmail:x:400:
nofiles:x:401:


-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 2 days 20 hours 47 minutes.



Re: qmail-pw2u error

2000-07-31 Thread Chris, the Young One

On Mon, Jul 31, 2000 at 11:12:54PM -0400, Vincent Danen wrote:
! In /etc/passwd I have this:
! 
! alias:x:400:401::/var/qmail/alias:/bin/true

Can you please run qmail-showctl and list the output of the line
``user ids''. The first number shown has to be 400, in your case.

Also, type ``ls -dln /var/qmail/alias'' and make sure it says 400
in the third field.

---Chris K.
-- 
 Chris, the Young One |_ Never brag about how your machines haven't been 
  Auckland, New Zealand |_ hacked, or your code hasn't been broken. It's 
http://cloud9.hedgee.com/ |_ guaranteed to bring the wrong kind of 
 PGP: 0xCCC6114E/0x706A6AAD |_ attention. ---Neil Schneider 



qmail-pw2u error

2000-07-31 Thread Vincent Danen

I'm getting this error:

qmail-pw2u: fatal: unable to find alias user

I'm calling it like this:

#!/bin/sh
/var/qmail/bin/qmail-pw2u /var/qmail/users/assign &&
qmail-newu

In /etc/passwd I have this:

alias:x:400:401::/var/qmail/alias:/bin/true

Does anyone know what I'm doing wrong?  qmail won't deliver mail and
I get this in my logfile:

delivery 34: deferral: Trouble_reading_users/cdb_in_qmail-lspawn./

I've never encountered this error before but, mind you, I've never
used qmail-pw2u before.  Any ideas?

-- 
[EMAIL PROTECTED], OpenPGP key available on www.keyserver.net
Freezer Burn BBS:  telnet://bbs.freezer-burn.org . ICQ: 54924721
Webmaster for the Linux Portal Site Freezer Burn:  http://www.freezer-burn.org

Current Linux uptime: 2 days 5 hours 31 minutes.