Date: Sat, 17 Feb 2001 22:21:10 +0100 From: Francesco Casadei <fcasadei@inwind.it> To: freebsd-questions@freebsd.org Subject: fetchmail & CRAM-MD5 Message-ID: <20010217222110.A327@junior.kasby>
next in thread | raw e-mail | index | archive | help
--0OAP2g/MAC+5xKAE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I have a problem with fetchmail and CRAM-MD5 authentication. I can't login = to an imap server because authentication fails (invalid username or password). I think ~/.fetchmailrc is ok, since I was been able to fetch mail from the imap server for about 3-4 weeks, before it stopped working WITHOUT any upgrade or modification to the config file. Since that server is also POP3-capable I simply changed the proto option in ~/fetchmailrc to pop3. No problems with that. Now I have the same problem even with pop servers! I upgraded fetchmail to version 5.6.5 and the new authentication module uses the most secure option supported by the server. When I fetch mail from a pop server: - fetchmail sends USER username - the server requests password - fetchmail sends AUTH - the server lists its capability - fetchmail detects CRAM-MD5 authentication and uses it. Booom! "invalid user or password". This happens only with 2 pop server: pop.tiscalinet.it and popmail.inwind.i= t. The other servers work well: pop.libero.it and mail.monrif.net. I reinstalled fetchmail-5.0.5 from the FreeBSD 3.3-RELEASE 4 cd set and it works with the old "good" POP3. Is it possible that the problem is related to the crypto library? I'm running FreeBSD 3.5-STABLE: # uname -a FreeBSD junior.kasby 3.5-STABLE FreeBSD 3.5-STABLE #5: Sun Feb 4 17:43:12 CET 2001 root@junior.kasby:/usr/src/sys/compile/JUNIOR i386 I'm using MD5-based crypto libraries (according to section 8.4 of the handbook): # cd /usr/lib # ll *crypt* lrwxr-xr-x 1 root wheel 11 Feb 16 22:31 libcrypt.a -> libscrypt.a lrwxr-xr-x 1 root wheel 13 Jan 4 12:10 libcrypt.so -> libcrypt.so.2 lrwxr-xr-x 1 root wheel 14 Feb 16 22:32 libcrypt.so.2 -> libscrypt.so= .2 lrwxr-xr-x 1 root wheel 13 Feb 16 22:33 libcrypt_p.a -> libscrypt_p.a -r--r--r-- 1 root wheel 13018 Feb 4 17:49 libdescrypt.a lrwxr-xr-x 1 root wheel 16 Feb 4 17:49 libdescrypt.so -> libdescrypt= .so.2 -r--r--r-- 1 root wheel 12965 Feb 4 17:49 libdescrypt.so.2 -r--r--r-- 1 root wheel 14750 Feb 4 17:49 libdescrypt_p.a -r--r--r-- 1 root wheel 6194 Feb 4 17:49 libscrypt.a lrwxr-xr-x 1 root wheel 14 Feb 4 17:49 libscrypt.so -> libscrypt.so.2 -r--r--r-- 1 root wheel 7579 Feb 4 17:49 libscrypt.so.2 -r--r--r-- 1 root wheel 6684 Feb 4 17:49 libscrypt_p.a Any ideas? Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --0OAP2g/MAC+5xKAE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE6jutGfsM3XxZOsXsRAiPMAKCUgO6mRaWUAXYHmuBW7BPW7xor9gCeMxRg pO/TAzronD+JdrjlpwdsUdE= =09ux -----END PGP SIGNATURE----- --0OAP2g/MAC+5xKAE-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010217222110.A327>