bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-mailutils] UIDL and POP, best way?


From: Andy
Subject: [bug-mailutils] UIDL and POP, best way?
Date: Wed, 26 Jan 2005 12:18:46 +0800

Hi,

Can someone tell me why mailutils, when getting the uidl value from a POP server (message_get_uidl())
calculates a checksum from the whole message (ie. downloading the whole message) ?

Also, though i only checked once, when i then want to retrieve the email i just got the uidl value from,
it will be downloaded again, ie. it is not cached in any way.

Pls see attached code:

Example:

$ ./popuidl  pop://user:address@hidden
1 a96fa32c886e377470055559985bd209
2 dbee79def70024218ab529158193c7ef
3 da1b10a3155b3922acfddf47787e4d43

$ telnet localhost 110
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
+OK POP3 server15 v2001.78rh server ready
user user
+OK User name accepted, password please
pass pw
+OK Mailbox open, 3 messages
uidl
+OK Unique-ID listing follows
1 41ee313e00000001
2 41ee313e00000002
3 41ee313e00000003
.
quit
+OK Sayonara

I was wondering if i should use the mu_pop3_uidl() function from the
  mailutils-0.6/examples/pop3client.c
example.  But then my code would have to differentiate between mailboxes which is not really what i
was hoping from mailutils.

Is there a better way?!

Thanxs for any help or pointers,
Andy


Attachment: popuidl.c
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]