Re: [Exim] piping problem

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Ollie Cook
Datum:  
To: Marc Perkel
CC: exim-users
Betreff: Re: [Exim] piping problem
On Mon, Dec 10, 2001 at 07:45:53AM -0800, Marc Perkel wrote:
> This pipe isn't working for some reason. Other pipe programs seem to
> work. It's being run from the /etc/aliases file.
>
> test1234: "| /bin/cat >> /var/mail/test1234"
>
> The results are:
>
> This message was created automatically by mail delivery software (Exim).
>
> A message that you sent could not be delivered to one or more of its
> recipients. This is a permanent error. The following address(es) failed:
>
>   pipe to | /bin/cat >> /var/mail/test1234
>     generated by test1234@???
>     Child process of address_pipe transport returned 1 from command:
>     /bin/cat

>
> What am I doing wrong?


Grepping 'man cat' (at least on FreeBSD) gives:

  DIAGNOSTICS
       The cat utility exits 0 on success or >0 if an error occurred.


So, you're cat is failing.

Run it from the command line, to see what it's complaining about.

Or turn on return_output.

Yours,

Ollie

--
Oliver Cook    Systems Administrator, ClaraNET
ollie@???               020 7903 3065