On Tue, 18 Sep 2001, Anand Buddhdev wrote:
> On Tue, Sep 18, 2001 at 01:53:24AM +0200, Björn Lindström wrote:
>
> I don't use procmail; I use maildrop. What does this procmail recipe do? I
> would like to translate it into maildrop.
>
I use maildrop and this is what I use to convert clearsign's to MIME
# CONVERT CLEAR SIGS TO PROPER FORMAT
BPGPM="-----BEGIN PGP MESSAGE-----"
EPGPM="-----END PGP MESSAGE-----"
BPGPS="-----BEGIN PGP SIGNATURE-----"
EPGPS="-----END PGP SIGNATURE-----"
if (!/^Content-Type: message/ && !/^Content-Type: multipart/ \
&& !/^Content-Type: application\/pgp/)
{
if (/^$BPGPM/:b && /^$EPGPM/:b)
xfilter "reformail -A 'Content-Type: application/pgp; \
format=text; x-action=encrypt'"
if (/^$BPGPS/:b && /^$EPGPS/:b)
xfilter "reformail -A 'Content-Type: application/pgp; \
format=text; x-action=sign'"
}
That should work, assuming I didn't break anything when I wrapped it.
--
Don't tell me I'm burning the candle at both ends -- tell me where to
get more wax!!
-
David Clarke <[EMAIL PROTECTED]> | David Clarke <s3353950>
GPG Fingerprint : 869B 53DD 5E80 E1F0 93F6 9871 0508 0296 5957 F723
PGP signature