Reading spam dir with PHP?

Steve Thomas lists at STHOMAS.NET
Fri Oct 3 17:50:05 IST 2003


On Fri, Oct 03, 2003 at 02:01:49AM +0200, Steffan Henke is rumored to have said:
>
> On Thu, 2 Oct 2003, Randy Herban wrote:
>
> > Do all the reading as normal user and when you need to move the queue
> > files, use sudo as you suggested.
> > sudoers:
> > apache  ALL=NOPASSWD:/bin/mv
>
> Please don't even *think* of doing this !!!
> You don't want to "sudo /bin/mv /boot/vmlinuz /dev/null" , would you ?

Agreed. Instead, you could write a shell script that only does exactly what you want, perhaps based on arguments provided, in it's own little sandbox.


--
"A husband is what is left of the lover after the nerve has been extracted."
- Helen Rowland (1876-1950)



More information about the MailScanner mailing list