Re: [Exim] help with pipe

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chad Leigh, Pengar Ent Inc & Shire.Net LLC
Date:  
À: exim-users
CC: Peter Radcliffe
Sujet: Re: [Exim] help with pipe

--On Tuesday, December 12, 2000 11:16 AM -0500 Peter Radcliffe
<pir@???> wrote:

> "Chad Leigh, Pengar Enterprises, Inc. and Shire.Net LLC"
> <chad@???> probably said:
>> Using exim 2.04 on FreeBSD 3.x . All transports/directors/routers are
>> default and enabled for pipe / userforward.
>
> 2.04 is very, very old.


Well, if it ain't broken, don't fix it. But we have the latest on our test
m achine to transition to when we have a clear upgrade window available.

>
>
> It's not just _a_ pipe, it's two pipes.
>
> exim does not pass the command to a shell (it's much safer that way)
> so that | mail -s "test message" ... is being passed to gpg as a
> command line option.
>
> Either put it all in a script and call the script, turn on shell
> handling (not advised and may not even be there in 2.*) or use
> procmail or something else designed to handle things like that.
>


Thanks, yes, that is what I ended up figuring out, and I put it in a script
for now. The gpg "goofs" up line endings but for the application needed it
is working.

Thanks!
Chad