Re: [Exim] Alias to pipe messages thru GnuPG?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Kirill Miazine
Date:  
À: Ralf G. R. Bergs
CC: exim-users ML
Sujet: Re: [Exim] Alias to pipe messages thru GnuPG?
Ralf G. R. Bergs wrote:
> Hi there,
>
> ok, so I'm not an expert in this, but why doesn't the following in
> /etc/aliases work?
>
> gpg-rabe: "| gpg -a --recipient 0x13102CF5 -e | mailx -s \"GPG Encrypted\"
> rabe
>
> I get a message like this:
>
> _________________________ 8x _________________________
>
>   pipe to | gpg -a --recipient 0x13102CF5 -e | mailx -s "GPG Encrypted" rabe
>     generated by gpg-rabe@myhost
>     Child process of address_pipe transport returned 2 from command:
>     /usr/bin/gpg

>
> The following text was generated during the delivery attempt:
>
> ------ pipe to | gpg -a --recipient 0x13102CF5 -e | mailx -s "GPG Encrypted"
> rabe
>        generated by gpg-rabe@myhost ------

>
> usage: gpg [options] --encrypt [filename]


Try 'gpg -a --recipient 0x13102CF5 -e -' (that is to use "-" to specify
that input is to be read from stdin.

--
Kirill Miazine, Stud. Jur.
Faculty of Law, University of Oslo