fetchmail-friends
[Top] [All Lists]

Re: [fetchmail]apop

2002-04-18 12:57:34
On Thu, Apr 18, 2002 at 09:36:50PM +0200, Jakob Hirsch wrote:
Does anybody here use APOP? I'd tried but authentication fails all the
time. I put the password in plaintext in my fetchmailrc:
poll pop.netlight.de protocol apop user user1 pass test

fetchmail: 5.9.11 querying pop.netlight.de (protocol APOP) at Thu, 18
Apr 2002 21:25:38 +0200 (CEST): poll started
fetchmail: POP3< +OK 
<1ee9468d63a136c4da793bb5db69a431(_at_)pop(_dot_)netlight(_dot_)de>
fetchmail: POP3> APOP user1 9da10ec15df4b2607ba4e5e701f4955c
fetchmail: POP3< -ERR Authentication failed.
fetchmail: Authentication failed.

But the md5-hash should be 965fd94b9eade573bb4b5e61392a5397 (md5 of
"<1ee9468d63a136c4da793bb5db69a431(_at_)pop(_dot_)netlight(_dot_)de>test"). 
Is this a bug
in fetchmail or do I have to specify my password in another way in
fetchmailrc?

I don't use APOP, but I don't think fetchmail is miscalculating
the MD5 hash:

$ echo -n 
'<1ee9468d63a136c4da793bb5db69a431(_at_)pop(_dot_)netlight(_dot_)de>test' | 
md5sum
9da10ec15df4b2607ba4e5e701f4955c
$ echo 
'<1ee9468d63a136c4da793bb5db69a431(_at_)pop(_dot_)netlight(_dot_)de>test' | 
md5sum
965fd94b9eade573bb4b5e61392a5397

Do you really want to include the newline?

Matt

Attachment: pgpI3ODaRwGAa.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>