SOLVED! (was Re: [Exim] Alias to pipe messages thru GnuPG?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Ralf G. R. Bergs
Päiväys:  
Vastaanottaja: exim-users@exim.org
Vanhat otsikot: Re: [Exim] Alias to pipe messages thru GnuPG?
Aihe: SOLVED! (was Re: [Exim] Alias to pipe messages thru GnuPG?
On Thu, 17 Apr 2003 23:08:04 +0200, Ralf G. R. Bergs wrote:

>>> ------ 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!))


Ok, and here's the solution:

http://www.exim.org/pipermail/exim-users/Week-of-Mon-20001211/022909.html

I need to write a script because a "pipe to a pipe" is not allowed in alias
files.


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