procmail
[Top] [All Lists]

Re: A yummy dead horse -- procmail: No permission to execute

2003-09-08 05:59:43
As it was written on Sep 8, thus Ruud H.G. van Tol typed:

Ruud:  Toen ik David W. Tamkin kietelde, kwam er dit uit:
Ruud:  > Ruud asked Birl,
Ruud:
Ruud:  >> Is sed supposed to be executable?
Ruud:
Ruud:  > Yes, it is.  Since it's a binary and not a shell script, it beats me 
how
Ruud:  > you'd run it if it isn't executable.
Ruud:
Ruud:  You're reading me wrong. I also wrote:
Ruud:
Ruud:  >> (On my local procmail it is, on my ISP's setup it isn't.)
Ruud:
Ruud:  And this was all to be read in the context of (a non-interactive)
Ruud:  .procmailrc, since sed runs for him in other situations.
Ruud:
Ruud:  The message Birl published, was about 'no permission'. So let's suppose
Ruud:  that sed is there. Maybe also in some unexpected location, which a 
verbose
Ruud:  log output will show.
Ruud:  He already mentioned that smrsh is not used, and that '/usr/bin' is used.
Ruud:  But '/usr/bin' is not in his path. Both '/bin/date' and '/usr/bin/date'
Ruud:  work for him.
Ruud:
Ruud:  --
Ruud:  Affijn, Ruud


Well to cut this thread short, it looks like the problem lies with me not
tinkering with config.h before compiling.  The whole
  #define RESTRICT_EXEC 100
line is, more than likely, what's screwing up filtering.

I'll tinker with the config.h, recompile and see what happens.


Also, although /usr/bin was not in my path /bin is a symlink to /usr/bin.
So unless procmail frowns upon symlinks, the path should be OK.

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail