procmail
[Top] [All Lists]

Binary will not run from rc filter

2007-09-18 06:05:28
I am using sendmail 8.14 and procmail 3.22

I have a filter defined in mailtertable in the form:
mydomain.com       procmail:/home/someuser/conf/filter.rc

If I use | to execute a shell script in the rc file, it runs fine.  If I try
to execute a binary from the rc file, I get:

procmail: Executing "/home/someuser/bin/scripts/filter_app"
/home/someuser/bin/scripts/filter_app:
/home/someuser/bin/scripts/filter_app: cannot execute binary file

The shell script and binary have the same permissions and same owner/group

If I try to run a binary from the shell script I get:

procmail: Executing "/home/someuser/bin/scripts/filter_app.sh"
/home/someuser/bin/scripts/filter_app.sh: line 2:
/home/someuser/bin/scripts/filter_app: Permission denied

If I run procmail from the command line, everything works fine.

Why won't procmail execute a binary when run by sendmail?
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
<Prev in Thread] Current Thread [Next in Thread>