LuKreme writes:

On 17-Nov-2009, at 20:44, Sam Varshavchik wrote:
LuKreme writes:

I know dovecot has a command that returns the names of all the mailboxes with 
new mail (and the counts, as I recall), but I'm not using dovecot.
Is there a simple way to query courier to get this info or do I simply have to 
query each individual mailbox?

Start with the following, make it as fancy as you want:

for f in $HOME/Maildir/.*/new
do
echo $f `ls $f`
done

Right. I was looking for an IMAP solution. Something I could query Courier with.

If you want an IMAP solution, use any IMAP utility that claims to do that. There's nothing special about Courier. An IMAP utility that shows unread message counts in IMAP folders will work with Courier as well as with any other IMAP server.

Attachment: pgptY6GkOukrf.pgp
Description: PGP signature

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to