Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: finding unread emails in IMAP maildir

by iguanodon (Curate)
on Aug 09, 2005 at 01:21 UTC ( #482089=note: print w/ replies, xml ) Need Help??


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

Unread messages should be in the new subdirectory of Maildir, and read messages in cur. Not sure about using those modules, but that's how Maildir works. See http://cr.yp.to/proto/maildir.html.
That's basically correct but... at least with my Postfix / Courier IMAP / Squirrelmail setup, as soon as I use Squirrelmail any messages in the new dir are moved to cur - even if they're not read yet. When the message is read, :2,S is appended to the file name in cur. This is best explained at http://www.courier-mta.org/?maildir.html . Other MTA/IMAP server/MUA combinations may handle this differently.


Comment on Re^2: finding unread emails in IMAP maildir

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://482089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-07-25 22:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls