[Exim] Alias to pipe messages thru GnuPG?

Página Inicial
Delete this message
Reply to this message
Autor: Ralf G. R. Bergs
Data:  
Para: exim-users ML
Assunto: [Exim] Alias to pipe messages thru GnuPG?
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]

_________________________ 8x _________________________


When I manually do something like

echo Hi | gpg -a --recipient 0x13102CF5 -e | mailx -s "GPG Encrypted" rabe

everything's ok.


Thanks for any insights you can give,

Ralf


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^