[tpop3d-discuss][PATCH] Simplify migration from qpopper to tpop3d

Martin Blapp mb at imp.ch
Wed, 2 Feb 2005 11:38:03 +0100 (CET)

> Great, there's allready a patch pending CVS that enables tpop3d to
> generate qmail-pop3d unique-ids. It plugs into tpop3d via a config file
> switch, (uidl-style) and I'd say qpopper unique-ids should also be made
> configurable. If we don't do this, we may affect installations that use
> tpop3d unique-ids, by suddenly sending qpopper IDs if we find a X-UIDL
> header in the message for any reason.

If you do a migration, the first bunch of mails has X-UIDL headerlines
until you reach not yet read mail. A solution to avoid reading X-UIDL
lines from fresh arrived mail would be to ignore those lines if we did
once compute a md5-checksum. There is only one possible case then: if the
first message in a mailbox has a X-UIDL line.

> Hopefully CVS will catch up on my changes within the next days, Chris
> promised to put some work into it soon. :o)

What other patches have you made ? I'm still looking for the fix for the
buffer truncation problem :-(