RE: [vchkpw] Re: New user with problems!

2002-10-08 Thread Brad Dameron

First off make sure that 89 is the ID of the vpopmail user and 89 is the
group for vchkpw. I sure hope you didn't set the vpopmail users home
directory as /. Or you will have a hell of a lot of problems. I have mine
set to a /mail parition. Then that partition is owned by vpopmail.vchkpw.
That is why you are getting a access denied error. Cause it tries to write
to the ~vpopmail/etc directory but doesn't have permissions to.

---
Brad Dameron
Network Account Executive
TSCNet Inc.
 www.tscnet.com
Silverdale, WA. 
1-888-8TSCNET



> -Original Message-
> From: Christian [Kanzie] Nilsson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 08, 2002 8:17 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [vchkpw] Re: New user with problems!
>
>
> > > Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed
> >
> > What user your POP3 daemon is running as? ('-u' switch in tcpserver
> > clause if you make use of tcpserver)
> > --
>
> I do use tcpserver, did not have any specified user or group, read that it
> would inherit the $envuidgid so it would be taken care of. However now I
> added "-u 89 -g 89", restarted the whole chebang (using the qmailctl
> restart - command copied from lifewithqmail.com) and received a new error,
> dont know if that is a step forward or backwards =)
>
> The new error, running as 89 89, is:
> tcprules: fatal: unable to create /etc/tcp.smtptmp.4400: access denied
> -ERR authorization failed
>
> What is it Im missing out of here?
>
> // Kanzie //
>
>
>




Re: [vchkpw] Re: New user with problems!

2002-10-08 Thread Peter Palmreuther

On Tue, 8 Oct 2002 17:17:28 +0200
"Christian [Kanzie] Nilsson" <[EMAIL PROTECTED]> wrote:

>> What user your POP3 daemon is running as? ('-u' switch in tcpserver
>> clause if you make use of tcpserver)
> 
> I do use tcpserver, did not have any specified user or group, read
> that it would inherit the $envuidgid so it would be taken care of.

So your 'qmail-popup' process was started as root?

> However now I added "-u 89 -g 89", restarted the whole chebang (using
> the qmailctl restart - command copied from lifewithqmail.com) and
> received a new error, dont know if that is a step forward or backwards
> =)

Backwards, I think.

The reason I cited 

> Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed

was that I don't know why your qmail-popup process, which spawns vchkpw,
was not able to 'setgid()'. If running as root this shouldn't happen;
and setgid() is necessary to read the 'vpasswd.cdb' file.

So either make sure the processes are running as root or when running as
User/Group vpopmail/vchkpw make sure your vpopmail (plus
qmail-smtpd startup script) uses

~vpopmail/etc/tcp.* instead of /etc/tcp.*

as these should be owned by vpopmail, while '/etc/*' should better be
owned by root (therefore you get the new error when starting as
vpopmail).
-- 
Pit



Re: [vchkpw] Re: New user with problems!

2002-10-08 Thread Christian [Kanzie] Nilsson

> > Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed
>
> What user your POP3 daemon is running as? ('-u' switch in tcpserver
> clause if you make use of tcpserver)
> --

I do use tcpserver, did not have any specified user or group, read that it
would inherit the $envuidgid so it would be taken care of. However now I
added "-u 89 -g 89", restarted the whole chebang (using the qmailctl
restart - command copied from lifewithqmail.com) and received a new error,
dont know if that is a step forward or backwards =)

The new error, running as 89 89, is:
tcprules: fatal: unable to create /etc/tcp.smtptmp.4400: access denied
-ERR authorization failed

What is it Im missing out of here?

// Kanzie //





[vchkpw] Re: New user with problems!

2002-10-07 Thread Peter Palmreuther

Hello Christian,

On Monday, October 7, 2002 at 6:58:29 PM you wrote:

> Oct  7 18:03:02 morrison vpopmail[15408]: vchkpw: setgid 89 failed

What user your POP3 daemon is running as? ('-u' switch in tcpserver
clause if you make use of tcpserver)
-- 
Best regards
Peter Palmreuthermailto:[EMAIL PROTECTED]