I think there might be a special case where this is possible.
When the source server supports both IMAP and POP3, and the destination server is qmail + Maildir,
The qmail-pop3d uses the filenames in the UIDL list, for example:
305 1379790535.M813973P12875V04F0697EI019E250D_0.mx005,S=2024
306 1379803891.M669698P18044V04F0692EI019E250E_0.mx003,S=2978
307 1379813910.M811138P10947V04EC69BFI019E250F_0.mx009,S=2549
308 1379818103.M515188P5341V05286A63I019E2510_0.mx002,S=2983
309 1379819381.M854401P3576V050C6A10I019E2511_0.mx010,S=2892
310 1379821714.M7554P8934V05586B86I019E2512_0.mx012,S=2749
If the
IMAP to Maildir script had a flag that specified to also check pop3 at the source, and write the Maildir filenames based on the pop3 UIDL's of the source server (instead of in Maildir filename format) , would that work?
I'll check how the messages are put in order.
Hopefully based on the timestamps of the files so the order can be duplicated with a touch loop down all the names?
Would making this change cause IMAP to get confused? (test)