At 09:48 29/03/99 +0000, you wrote:
>I spent a good few minutes trying to install the procmail kit from
>ftp://ftp.rubyriver.com/pub/jhardin/antispam/procmail-security.html>but I keep getting the following error in /var/log/procmail:
>No -e allowed in setuid scripts.
>procmail: Error while writing to " perl -p -e ' #\
>>etc etc..
>>I followed the docs by not putting the html-trap.procmail into an
>/etc/procmail/ directory but no luck. Has anyone installed this?
The problem is that perl goes into super paranoid mode when it realises
that the effective uid and the real uid are not the same (ie. it's a setuid
script or in this case procmail has changed it's uid from being root to
being whoever is receving mail). This means that all sorts of check are put
in place and it disallows certain commandline options like -e .
Try adding a -U switch along with the -p and -e this allows perl to do
"Unsafe" things,
Fergal
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!