[imp] RPM to manage accounts

Patrick Timmons ptimmons@courriel.polymtl.ca
Wed, 03 Jan 2001 15:50:00 -0500


egrep '^From ' mbox | wc -l

The mbox format prohibits any line from starting with 'From ' because it is used
to separate messages. If such a line is in the message, it'll be transformed to
'>From '. Try it.


Mike Coughlan wrote:
> 
> Can anyone please tell me the best way to count the number of messages in a
> users Inbox?  I am on RH 6.2 w/ imap 4.7.
> 
> I have used the "from" command in the past on RH, but I can't seem to find
> that RPM installer on the web.
> 
> Sorry for the cross post, but I would really like to find it, and "from" and
> "mail" have proven to be a useless keywords.
> 
> TIA,
> 
> Mike Coughlan
> 
> --
> IMP mailing list: http://horde.org/imp/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org