View Single Post
  #3  
Old 17th December 2007, 15:45
plucchetti plucchetti is offline
Member
 
Join Date: Feb 2006
Posts: 74
Thanks: 2
Thanked 0 Times in 0 Posts
Default

vim /home/admispconfig/.procmailrc
SHELL=/bin/sh

USERNAME=`formail -xSubject: | awk '{print $2}'`

:0
* ^Subject:.*Mailsize:*
{
:0
| formail -I "" | sed -e '/^$/d' >> /home/admispconfig/mailstats/${USERNAME}
}
Reply With Quote