procmail
[Top] [All Lists]

truncate

2003-06-16 10:18:33
I have what I thought was a simple rule to truncate messages:

:0:
* ^Subject:.*test
* > 1000
| head -100 >>$MAILDIR/truncated



But the procmail log says:
procmail: Match on "^Subject: .*test"
procmail: Match on "> 1000"
procmail: Locking "/export/home/me/mail/test.lock"
procmail: Executing " head -100 >>$MAILDIR/test"
procmail: Error while writing to " head -100 >>$MAILDIR/test"

MAILDIR is defined and I have write access to it.
We're using smrsh in sendmail, head is linked into /var/adm/sm.bin

Why is this failing?

TIA



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David Stern                                            University of Maryland
                Institute for Advanced Computer Studies


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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