<<< Date Index >>>     <<< Thread Index >>>

Re: Unsetting GPG after setting it with send-hook



Am 2006-10-06 13:43:46, schrieb Patrick Ben Koetter:

>     unset pgp_autoencrypt
>     unset pgp_autosign
> 
> to turn it off by default.
> 
> With some people I do mail encrypted. For these people I use a send-hook to
> enable pgp_autoencrypt e.g.
> 
>     send-hook '~t ^user@example\.com$' set pgp_autoencrypt

send-hook . 'unset pgp_autoencrypt; \
             unset pgp_autosign'
send-hook '~t ^user@example\.com$' set pgp_autoencrypt

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)