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

Etusivu
Poista viesti
Vastaa
Lähettäjä: Kirill Miazine
Päiväys:  
Vastaanottaja: Ralf G. R. Bergs
Kopio: exim-users ML
Aihe: 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