Nope - didn't work.
Here's the result:
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/sh -c /bin/cat >> /var/mail/test1234
generated by test1234@???
The following text was generated during the delivery attempt:
------ pipe to | /bin/sh -c /bin/cat >> /var/mail/test1234
generated by test1234@??? ------
Tamas TEVESZ wrote:
> On Mon, 10 Dec 2001, Marc Perkel wrote:
>
> > I found the use_shell command in the manual but it doesn't seem to work.
> > It doesn'r seem it recognize the command.
> >
> > I'm trying to run | /bin/cat >> /var/mail/test in an /etc/alias file
>
> |/bin/sh -c /bin/cat >>/var/mail/test