I get different errors from squirrel mail when i use the wrong password so i am sure that i am using the correct username and password.

This error when i connect with the right password and username
*ERROR:*
*ERROR : Connection dropped by imap-server.*


this in binc
@4000000040c771e420a72374 6864 0 [EMAIL PROTECTED]:] connection from 127.0.0.1
@4000000040c771e42253b64c 6864 1 [EMAIL PROTECTED]:] <rmvg> authentication failed: server returned 111 (internal error)
@4000000040c771e42272811c 6864 2 [EMAIL PROTECTED]:] shutting down - read:31 bytes, wrote:253 bytes.


This error when i connect with the wrong password
*ERROR*
Unknown user or password incorrect.
*Go to the login page </src/login.php>*


This in binc
@4000000040c7718b29436484 6861 0 [EMAIL PROTECTED]:] connection from 127.0.0.1
@4000000040c7718b2af12fdc 6861 1 [EMAIL PROTECTED]:] <rmvg> authentication failed: wrong userid or password
@4000000040c7718f2ecceb3c 6861 2 [EMAIL PROTECTED]:] shutting down (client disconnected) - read:25 bytes, wrote:416 bytes.


here it the output of that echo command one more time I might mention that the first time is logined as root

/home/rmvg #echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?
2



This time i am logged in as rmvg echo "rmvg\0xxxxxx\0" | /usr/local/bin/checkpassword 3<&0 echo; echo $?

-bash: /usr/local/bin/checkpassword: Permission denied
126

Any other Ideas



Anders la Cour Bentzon wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2004-06-09 16:48, Jason 'XenoPhage' Frisvold wrote:

| On Wed, 2004-06-09 at 09:40, Andreas Aardal Hanssen wrote:
|
|> I get this:
|>
|> ERROR Unknown user or password incorrect. Go to the login page
|
|
| Huh...  I thought maybe it was a squirrelmail thing..  Never
| bothered to look into it since it's my private server...
|
| Of course, I'm also using this private server as a test bed for
| completely moving to binc..  :)
|
The reason is probably that vpopmail's vchkpw exits with an undefined,
non-standard exit code when it encounters a bad user/password
combination; Binc doesn't understand this and shuts down. A workaround
is to make Binc catch all undefined exit codes by adding a default
handler to a switch statement somewhere. So my guess is that people
with vpopmail will get the "connection dropped" error while people
using the default checkpassword will receive a proper message.

|> Andy :-)
|>
|> -- Andreas Aardal Hanssen   | http://www.andreas.hanssen.name/gpg
|>  Author of Binc IMAP      |  "It is better not to do something
|> http://www.bincimap.org/ |        than to do it poorly."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAxyaBaUA1fz2sn9IRAtcxAJ9ZOAWOK8/4v+33+mK9JoQbfgRnxQCgzP6U
oU9tgknvwJ66DJJrEeLK6A0=
=z9XF
-----END PGP SIGNATURE-----

Reply via email to