Toen ik David W. Tamkin kietelde, kwam er dit uit:
Ruud wrote:
I need an append-command:
:0: $HOME/raw_big$LOCKEXT
* > 20000
| append "$HOME/raw_big.gz" "gzip -9fcq"
(on request my ISP does add simple-and-safe commands to the sm.bin)
If they'll do that, then you're in business.
Is there a way to make this 'append' run gzip without a shell?
OK, it is not the right platform to ask this question, but
since some people might have started thinking about this,
please send me any ideas directly. I will also dig in the
source of procmail to see how it operates when SHELLMETAS
is empty.
Ah wait, it's shexec() in procmail's common.c (uses execv,
that brings back memories).
My current 'shell-llehs' recipe:
:0 c
* < 100000
{
:0
* > 20000
{
:0 fr
| gzip -9fc
:0 r:
$HOME/raw_big.gz
}
:0E
{
:0 fr
| gzip -9fc
:0 r:
$HOME/raw.gz
}
:0:
$HOME/raw.err
}
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail