20 lines
504 B
Plaintext
20 lines
504 B
Plaintext
|
|
SHELL=/bin/sh
|
|
LOGFILE=$HOME/.procmail.log
|
|
LOG=""
|
|
VERBOSE=yes
|
|
MAILDIR=$HOME/Maildir
|
|
DEFAULT=Maildir/
|
|
|
|
:0c:
|
|
* ^TO_anna@fugadalcontrollo.org
|
|
{
|
|
PGP_OK=`gpg --decrypt --auto-key-retrieve 1>/dev/null && echo 1`
|
|
:0
|
|
* ? test -n "$PGP_OK"
|
|
| (formail -rI"From: anna@fugadalcontrollo.org" -I "Subject: [fugadalcontrollo] Grande, grazie della mail") | msmtp -a default -t
|
|
|
|
:0
|
|
| (formail -rI"From: anna@fugadalcontrollo.org" -I "Subject: [fugadalcontrollo] No! Così ci beccano") | msmtp -a default -t
|
|
}
|