According to the formail man page, it increments a variable
FILENO for each message. Well, I want to use this in my procmail recipe
for splitting digests. Currently, my recipie looks like this:
SUBJECT=`formail -xSubject:`
SENDER=`formail -xFrom:`
:0
* (^From|^Sender|^TO).*-digest
* ^Subject:.*Digest
* !^X-Split-From.*Digest
| formail -cdz -aMessage-ID: -a"Sender: $SENDER" \
-i"X-Split-From: $SUBJECT/FILENO" -s procmail
Now, this obviously doesn't work properly. I haven't been able to
figure out how to properly escape $FILENO so that procmail won't try to
evaluate it. Any help will be welcome.
Sten
--
#include <disclaimer.h> /* Sten Drescher */
To get my PGP public key, send me email with your public key and
Subject: PGP key exchange
Key fingerprint = 90 5F 1D FD A6 7C 84 5E A9 D3 90 16 B2 44 C4 F3