On Wed, Jan 25, 2006 at 12:52:28AM +0100, Ruud H.G. van Tol wrote:
Robert McKenzie:
I've been searching around but not found an answer. I under a
rule such as
:0
* > 150000
$MAILDIR/Big_Messages
That works file in ~/.procmailrc
No need to state $MAILDIR there,
:0:
* > 150000
Big_Messages
means the same. (If I hadn't added locking.)
What I'm trying to find is a way to do that for /etc/procmailrc so
messages for every user are automatically bypassed. My
/etc/procmailrc is currently more then 45,000 lines long..
Why?
Man, I've never heard of such a thing! Forty-five thousand
lines? I'd toss that out and start over!
What is this MAILDIR normally? Let's assume "/home/$LOGNAME/mail".
# /etc/procmailrc
DROPPRIVS = 'yes'
SHELL = '/bin/sh'
MAILDIR = "/home/$LOGNAME/mail"
:0:
* > 150000
Big_Messages
# procmail stops at delivery
I think what Robert meant was, he wants to stop processing
/etc/procmailrc for large messages -- not that he wants to
save the messages for the user. If I'm misreading, I'm sure
he'll let us know. :-)
:0:
* > 15000
{ SWITCHRC }
dman
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail