I have installed rc22 and tried it with my mbox-based mail - fine. Then I converted that mbox to Maildir to see if new feature (saving state without QUIT) works -
first run - I get time out. Second run - I get rest of the Maildir scanned and get into mailbox. Fine. but....
# telnet enders2 110 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. +OK Dovecot ready. user filonovd +OK pass ****** +OK Logged in. uidl +OK .
where is the list of pop3 uids ? When I connect to mbox I get something like .......... 84904 d8f096c72c24719bd7d13d78a3694114 84905 9074b40ab4283ec38a151587f34690d9 84906 06a40afeaca43fc76bea2231b13b1a33 84907 cdae771ec2407df89a25321f3792d9e9 84908 9f84415625d77dd3cde7d9441847318e
but with Maildir I get nothing. Doesn't look like proper behavior.
P.S. mail_location = maildir:~/Maildir #mail_location = mbox:~/mail:INBOX=/var/mail/%u
pop3_reuse_xuidl = no pop3_uidl_format = %m
FiL
-----Original Message----- From: dovecot-bounces@dovecot.org [mailto:dovecot-bounces@dovecot.org] On Behalf Of FiL @ Kpoxa Sent: Tuesday, February 06, 2007 10:06 PM To: Dovecot Mailing List Subject: [Dovecot] POP3 UIDL
pop3_reuse_xuidl = no pop3_uidl_format = %m
FiL
I think that recommended setting is
pop3_uidl_format = %08Xu%08Xv
Maybe it could help?
On 6.2.2007, at 23.06, FiL @ Kpoxa wrote:
+OK Logged in. uidl +OK .
where is the list of pop3 uids ?
I'd say Dovecot just doesn't find any mails. Try STAT and LIST
commands? I think they'll also show that there are no mails.
mail_location = maildir:~/Maildir
Looks correct, but you can verify with mail_debug=yes if Dovecot is
really looking at the right place. And are there really files in ~/
Maildir/cur/ and/or ~/Maildir/new/?
No, LIST and STAT are working.
This is only about UIDL command.
Looks like %m is not implemented for Maildir, but why? Am migrating from mbox and would like to keep the UIDL format. What should I use then?
P.S. Tried %Mf - works fine, but I don't know what does it do. Will play with it a bit later. Sorry for the confusion.
FiL
Timo Sirainen wrote:
On 6.2.2007, at 23.06, FiL @ Kpoxa wrote:
+OK Logged in. uidl +OK .
where is the list of pop3 uids ?
I'd say Dovecot just doesn't find any mails. Try STAT and LIST commands? I think they'll also show that there are no mails.
mail_location = maildir:~/Maildir
Looks correct, but you can verify with mail_debug=yes if Dovecot is really looking at the right place. And are there really files in ~/Maildir/cur/ and/or ~/Maildir/new/?
On 7.2.2007, at 0.29, FiL @ Kpoxa wrote:
No, LIST and STAT are working.
This is only about UIDL command.
Looks like %m is not implemented for Maildir, but why? Am migrating from mbox and would like to keep the UIDL format. What
should I use then?P.S. Tried %Mf - works fine, but I don't know what does it do. Will play with it a bit later. Sorry for the confusion.
Well, you're right that %m doesn't work with maildir. The biggest
reason is that as far as I know there is no other POP3 server that
uses MD5 headers for POP3 UIDLs and it's just extra work for Dovecot.
But if it just didn't return anything, that's a bug. I'll get that
fixed..
Timo Sirainen wrote:
On 7.2.2007, at 2.30, Timo Sirainen wrote:
Well, you're right that %m doesn't work with maildir. The biggest reason is that as far as I know there is no other POP3 server that uses MD5 headers for POP3 UIDLs Uses MD5 headers *with maildir* that is, with mbox that used of course. What about mbox 2 Maildir migration? It would be nice to keep UIDs if you do one. Unfortunately popa3d uses a bit different MD5 sum, than dovecot, so it doesn't help me in any way.
FiL
FiL schrieb:
Timo Sirainen wrote:
Well, you're right that %m doesn't work with maildir. The biggest reason is that as far as I know there is no other POP3 server that uses MD5 headers for POP3 UIDLs What about mbox 2 Maildir migration? It would be nice to keep UIDs if you do one.
You could use pop3_reuse_xuidl, to keep UIDLs, but I think popa3d doesn't support adding X-UIDL header. http://wiki.dovecot.org/Migration#head-772de8b2d0ccc7b14f0d4d546e43b3a017507...
Unfortunately popa3d uses a bit different MD5 sum, than dovecot, so it doesn't help me in any way.
There is a patch for that, though I am not sure it will apply cleanly to current dovecot. http://dovecot.org/list/dovecot/2007-January/019045.html ftp://ftp.ufanet.ru/pub/boco/dovecot/popa3d-uidl-patch/
Regards Benjamin
Benjamin Dabelow dabelow@tuxoft.de Offenburger Str. 29 tuxoft.de 69126 Heidelberg Germany
Benjamin Dabelow wrote:
Unfortunately popa3d uses a bit different MD5 sum, than dovecot, so it doesn't help me in any way.
There is a patch for that, though I am not sure it will apply cleanly to current dovecot. http://dovecot.org/list/dovecot/2007-January/019045.html ftp://ftp.ufanet.ru/pub/boco/dovecot/popa3d-uidl-patch/
I saw that message. But this is about mbox, not Maildir. I'd like to retain UIDs migrating mbox to Maildir. From what I got in the other thread - it's just impossible. Whatever, I don't have that many pop3 users, so they will have to deal with it.
Thanks anyway.
FiL
On Wed, 7 Feb 2007, Timo Sirainen wrote:
Well, you're right that %m doesn't work with maildir. The biggest reason is that as far as I know there is no other POP3 server that uses MD5 headers for POP3 UIDLs and it's just extra work for Dovecot. But if it just didn't return anything, that's a bug. I'll get that fixed..
Hi Timo,
On another note, would it be a good idea to allow the use of message-ids as output to UIDL? Some pop3 servers (e.g., Openwave Email-MX) do so and it will facilitate migrations from this platform.
It keeps those who leave mail on server sane. :P
Cheers.
Tan Shao Yi
On 7.2.2007, at 2.43, Tan Shao Yi wrote:
On Wed, 7 Feb 2007, Timo Sirainen wrote:
Well, you're right that %m doesn't work with maildir. The biggest
reason is that as far as I know there is no other POP3 server that
uses MD5 headers for POP3 UIDLs and it's just extra work for
Dovecot. But if it just didn't return anything, that's a bug. I'll
get that fixed..Hi Timo,
On another note, would it be a good idea to allow the use of
message-ids as output to UIDL? Some pop3 servers (e.g., Openwave
Email-MX) do so and it will facilitate migrations from this platform.It keeps those who leave mail on server sane. :P
Well, there's pop3_reuse_xuidl setting which uses X-UIDL header. I
haven't yet heard of anyone really wanting to use Message-ID
directly. Also I'm not sure how exactly that would work. Like would
it just include the parsed Message-ID without any comments and <> an
such, or something else?
Nowadays I'm trying to resist changes that don't affect more than a
few people :)
participants (6)
-
Benjamin Dabelow
-
FiL
-
FiL @ Kpoxa
-
Láďa
-
Tan Shao Yi
-
Timo Sirainen