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

Top Page
Delete this message
Reply to this message
Author: Ralf G. R. Bergs
Date:  
To: exim-users@exim.org
New-Topics: SOLVED! (was Re: [Exim] Alias to pipe messages thru GnuPG?
Subject: Re: [Exim] Alias to pipe messages thru GnuPG?
On Thu, 17 Apr 2003 22:30:50 +0200, Kirill Miazine wrote:

>> 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.


That doesn't help, I get exactly the same error message (and I didn't expect
anything else, since gpg already reads from stdin *by default* if you don't
specify a filename (remember that the pipe works if I invoke it from the
command line!))

Thanks anyway for your help.

Anyone else got ideas?

Thanks,

Ralf


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