Re: [exim] .forward and pipes.

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Todd Lyons
Data:  
Para: Bruce Bowler
CC: exim-users
Asunto: Re: [exim] .forward and pipes.
On Mon, Aug 20, 2012 at 12:47 PM, Bruce Bowler <bbowler@???> wrote:
> command &> file.txt
> which in bash should send both stdout and stderr to file.txt
> file.txt never appears, even when given a complete path. I know


You're using a bash feature when you test it, but your script is
likely being run under the Bourne shell. Change "&>" to "> file.txt
2>&1" or change the shell your script is using.

...Todd
--
The total budget at all receivers for solving senders' problems is $0.
If you want them to accept your mail and manage it the way you want,
send it the way the spec says to. --John Levine