> This seems to have been SELinux related. When I temporarily disable it, > procmail is able to execute spamc and properly filter incoming messages. > Thanks for the suggestion. This is a huge relief!
Ah, goodie. :) Please file a bug with RH against SELinux, for both permission denied issues (spamassassin and spamc) when called from procmail. > Karsten Bräckelmann wrote: > >> procmail: Executing "/usr/bin/spamassassin" > >> /bin/sh: /usr/bin/spamassassin: Permission denied > >> procmail: Program failure (126) of "/usr/bin/spamassassin" > >> procmail: Rescue of unfiltered data succeeded > > > > RHEL5. Any chance this problem is SELinux related? -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}