Dealing with quotas on VPS with Procmail Scott Wiersdorf Note: Mon Dec 9 13:26:04 MST 2002 The new vinstall for procmail installs a procmail that honors VPS quotas. To get the new procmail or upgrade your existing procmail, just type 'vinstall procmail' on your VPS. If you don't want to upgrade, the following still works: To work around procmail not reading VPS quotas, you'll need to pass the mail along to ~/bin/imail for final delivery (and failure if the user is over quota). Add this as your final procmail recipe: ## this is in ~/usr/home//.procmailrc ... ## some procmail recipes ... ## spam assassin stuff goes here... ... ## check quotas and deliver FROM=`formail -x 'From ' | awk '{print $1}'` EXITCODE="" TRAP="/bin/imail -f $FROM $LOGNAME" HOST This recipe works (it causes mail to not be written to the mail spool and bounce a 'Service unavailable' to the sender when the spool is full, otherwise it delivers the mail). This workaround has been tested by me but should also be tested by YOU if you plan on using it. This differs slightly from the October 2 version but fixes a corrupt maildrop problem (the -f option for imail writes the 'From ' correctly).