Re: exec and pipe

2007-01-22 Thread Jenda Krynicky
From: Andreas Brillisauer - Hetzner Online AG <[EMAIL PROTECTED]> > Hello, > > I'm just writing a script that gets an email from stdin. This mail > should be passed to procmail via ssh. If calling ssh or procmail > fails, the mail should be saved locally. > > First I tried to s

Re: exec and pipe

2007-01-19 Thread Igor Sutton
Hi Andreas, 2007/1/19, Andreas Brillisauer - Hetzner Online AG <[EMAIL PROTECTED]>: Hello, I'm just writing a script that gets an email from stdin. This mail should be passed to procmail via ssh. If calling ssh or procmail fails, the mail should be saved locally. First I tried to solve this wi

exec and pipe

2007-01-19 Thread Andreas Brillisauer - Hetzner Online AG
Hello, I'm just writing a script that gets an email from stdin. This mail should be passed to procmail via ssh. If calling ssh or procmail fails, the mail should be saved locally. First I tried to solve this with "system" or "open". But I cannot pipe the mail to ssh when using "system". "open" ca