RE: [vchkpw] -ERR authorization failed

2004-05-10 Thread Edward Neville
Does vpopmail work with both local and virtual users at the same time?

-Original Message-
From: Edward Neville [mailto:[EMAIL PROTECTED] 
Sent: 06 May 2004 10:39
To: [EMAIL PROTECTED]
Subject: [vchkpw] -ERR authorization failed


Hello, I have spent two hours debugging why neither local or virtual users
can log into a mail system via pop.

I have now found the answer, but it was very obscure and yet obvious.

echo '#!/bin/sh'  /var/qmail/supervise/qmail-pop3d/run
echo 'PATH=/var/qmail/bin:/usr/local/bin:/usr/bin:/bin' 
/var/qmail/supervise/qmail-pop3d/run
echo 'export PATH'  /var/qmail/supervise/qmail-pop3d/run
echo 'exec tcpserver -H -R -v -c100 0 110 qmail-popup '$FQDN' \\' 
/var/qmail/supervise/qmail-pop3d/run
echo '/home/vpopmail/bin/vchkpw qmail-pop3d Maildir 21' 
/var/qmail/supervise/qmail-pop3d/run

The above is a segment of a script that I use to create the run file. Myself
being a C person found it hard to spot the error until I decided to run the
tcpserver with logging output to the console so I can see whats going on.

The users could then login without problem.

So I rebooted. Users could not log in. Then I looked at the process table to
see that a '\\' appearing after the domain name.

Once I changed the \\ to \ the script was then fine, and no authorization
errors!


Re: [vchkpw] -ERR authorization failed

2003-03-14 Thread vol
Hi, Scott.

Please paste your start-up script for POP into an email and reply
back.
Thanks!

Negative Nine wrote:
Just installed qmail and vpopmail and i cant seem to auth correctly.
 
Um, im not using mysql to store passwords
Ive looked at logs that i think would help but they have not info as of 
why this is not working
Ive check and double-checked that the gids and uids are correct.
 
Can anyone help, ask me questions please!
 
-Scott


--
mailto:[EMAIL PROTECTED]
Matt Brookings - Chief Technical Officer
Inter7 Internet Technologies, Inc.
www.inter7.com - 847-492-0470
Prices at http://www.inter7.com/prices



Re: [vchkpw] -ERR authorization failed

2003-03-14 Thread Negative Nine
This was the problem,

In my /etc/xinetd.d/pop3 file i had
server_args = neg9.netnitco.net /home/vpopmail/bin/vchkpw
/var/qmail/bin/qmail-pop3d Maildir

/home/vpopmail/bin/vchkpw -- should have been -- /usr/vpopmail/bin/vchkpw

Do i forgot to change the location of vchkpw to the actual location i
installed it to. Stupid error on my behalf. I just got it installed and was
a little out of it i guess. :) Thanks for the help.

*note to self* triple check the configs before posting on the mailing list
;)

- Original Message -
From: Raboo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 14, 2003 2:08 AM
Subject: Re: [vchkpw] -ERR authorization failed


 I know where the fault is, I had the same problem

 you have to fix your startup scripts, one space to much or wrong/no
 domainname can fuck it up totaly

 Raboo
 - Original Message -
 From: Jonas Pasche [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 14, 2003 1:35 AM
 Subject: Re: [vchkpw] -ERR authorization failed


  Hi Scott,
 
   Just installed qmail and vpopmail and i cant seem to auth correctly.
 
  Can't seem? Either you can, or you cannot. Obviously you cannot.
 
   Ive looked at logs that i think would help but they have not info as
   of why this is not working
 
  You couldn't have been unclearer... ;-)
 
  Which log did you check?
  What did the log exactly say (copy+paste, don't interpret)?
  Did you activate verbose logging when compiling vpopmail? If not, do it,
  at least for now to help you debugging.
 
  Jonas