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.

Also, since many messages in /cur/ are unread, and therefor for all intents and 
purposes, 'new', I suppose I should have said unread instead of new.

-- 
>From deep inside the tears that I'm forced to cry
>From deep inside the pain I--I chose to hide


------------------------------------------------------------------------------
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