in reply to Re: finding unread emails in IMAP maildir
in thread finding unread emails in IMAP maildir

Yes I know,
I've tried giving Email::Folder just a subdirectory of the Maildir, but it errors out saying it's not a maildir.
  • Comment on Re^2: finding unread emails in IMAP maildir

Replies are listed 'Best First'.
Re^3: finding unread emails in IMAP maildir
by sgifford (Prior) on Aug 08, 2005 at 20:15 UTC
    Ah. A clever hack might be to create a fake Maildir with a symlink to cur and an empty new and tmp to get the read messages, and a symlink to new and an empty cur and tmp to get the unread messages.

    But maybe the best solution is to modify Email::Folder::Maildir to include this information, perhaps by prepending a fake header saying where the message came from.