OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: procmail & postfix ... or a cron job?

From: /dev/rob0 (rob0gmx.co.uk)
Date: Sun Jun 18 2006 - 20:25:24 CDT


On Sunday 2006-June-18 20:10, Paul Matthews wrote:
> I'm wondering if i can get procmail & postfix to do this.
>
> I want procmail to check the file size of my users mailbox found in
> /var/spool/mail/$username
>
> and if it is over a set limit say, '51200000' then I want procmail to
> send an e-mail to the recipient saying, 'you are approaching your
> mail box limit, please acrhive your e-mails or delete some'

Perhaps just a simple cron script would be a better solution?
--
    Offlist mail to this address is discarded unless
    "/dev/rob0" or "not-spam" is in Subject: header