Re: [exim] .forward and pipes.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Todd Lyons
Dátum:  
Címzett: Bruce Bowler
CC: exim-users
Tárgy: 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