Your are missing one character in your .forward file. When you want to run a program that is specified in the .forward, you must preceed the executable file must be preceeded with a pipe, i.e. .forward is a single line file containing: |/home/vote/bin/test.sh Of course, you could just make it the following: |cat > test Sometimes you have to specify the name of the interpreter, as in |/bin/sh /home/vote/bin/test.sh This is in case the paths aren't set properly, but in linux (at least redhat linux), I know from experience that the paths are set correctly. Good luck! Bill Coffman On Mon, 24 Aug 1998, Darren Benham wrote:
I've got an aliase setup (vote@benham.net) that's supposed to filter all mail through a custom filter.
I have a one-line .forward file: /home/vote/bin/test.sh
test.sh consists of two lines #!/bin/bash cat > test
sendmail uses /bin/sh as it's mail shell and -r is NOT turned on... so...
why does the mail get bounced with the following respone:?
550 /home/debian-vote/.forward: line 2: /home/vote/bin/test.sh... Can't create output: Executable files not allowed
---------------------------------- <A HREF="http://benham.net/index.html"><A HREF="http://benham.net/index.html</A">http://benham.net/index.html</A</A>> -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++ E? W+++$ N+(-) o? K- w+++$(--) O M-- V- PS-- PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++ G++>G+++ e h+ r* y+ ------END GEEK CODE BLOCK------ ---------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
- To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e