procmail
[Top] [All Lists]

question

1996-10-30 23:04:42
Is there any way I can configure procmail to do the following:
my host has problems with its disk space - the /var partition usually
hovers around 10Mb free.  What I've been doing is keeping an eye on it,
and when it gets less than 2 mb or so, I put the following in my
.procmailrc

:0:
*
inbox.tmp

Which nicely dumps all my mail into my ~/mail directory, which resides on
a much larger + less cramped disk.  

What I am wondering is if I can do something more complicated - for
example, so that it knows where the best place to put it would be.  in my
procmail.log file, the following is logged when something bounces:

procmail: No space left to finish writing "/usr/spool/mail/slipcon"
procmail: Truncated file to former size
From zaphod(_at_)jhu(_dot_)edu  Wed Oct 30 23:13:57 1996
 Subject: Eddie's This Sat
  Folder: **Bounced**

Is there any way to say something like:
if folder will == **Bounced**, then save it to "emergency" folder,
otherwise leave it alone (so it would go to /var/spool/mail/slipcon)?

Any help would be appreciated!

Thanks,
Scott

PS: please reply, as I didn't feel like subscribing, and causing more mail
to bounce!

<Prev in Thread] Current Thread [Next in Thread>