1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
##
## Support for PGP
##
SHELL=/bin/sh
MAILDIR=$HOME/Mail
PMDIR=$HOME/.procmail
JFDIR=/usr/lib/junkfilter
JFUSERDIR=$HOME/.procmail/junkfilter
LOGFILE=$PMDIR/log
LOGABSTRACT=no
VERBOSE=no
:0
* !^Content-Type: message/
* !^Content-Type: multipart/
* !^Content-Type: application/pgp
{
:0 fBw
* ^-----BEGIN PGP MESSAGE-----
* ^-----END PGP MESSAGE-----
| formail \
-i "Content-Type: application/pgp; format=text; x-action=encrypt"
:0 fBw
* ^-----BEGIN PGP SIGNED MESSAGE-----
* ^-----BEGIN PGP SIGNATURE-----
* ^-----END PGP SIGNATURE-----
| formail \
-i "Content-Type: application/pgp; format=text; x-action=sign"
}
# Call the junkfilter routines
INCLUDERC=$JFDIR/junkfilter
# Take action if junkfilter caught a junkmail.
:0 wf: junk.lock
* JFEXP ?? .
| formail \
-i "X-Fkey: junk" -i "X-junkfilter: $JFVERSION" \
-i "X-Spammer: $JFEXP"
|