Anyway, to make this work I did a few things:
1) The script runs suid as root. I *know* it's a bad idea but I really could not find a better way to make it work with lower permissions. Maybe in the future I'll move all my users' prefs into a central dir that's owned by a "spam" user and then run this script as suid as the spam user.
2)I used mod_auth_external with Apache to authenticate users via the passwd file so that their login to this page would be the same as their POP name/passwd
Other than that, everything else should Just Work(TM) assuming you have the user_prefs file in the standard place in the users' home dir.
Hope this helps. Feel free to mail me off-list if you run into any problems or have suggestions for improvements.
Victor
Chris LaFrance wrote:
I was thinking of doing the very same thing with the php version of the config utility, thanks for getting to it before I could =].I was wondering what the requirements are for this script to run... Location, file permissions etc? .... I've been wanting to impliment something like this system wide for our users since we began using sa. Thanks. -- Chris LaFrance, System Administrator Berkshire County Network email: ([EMAIL PROTECTED]) "Is sloppiness in speech caused by ignorance or apathy? I don't know and I don't care." -- William Safire On Tue, 7 Jan 2003, Victor Brilon wrote:I took the interface that someone (sorry don't remember who right now) posted and modified it. The original was written in PHP and I rewrote it in Perl, since I am allergic to PHP :), and added a bunch of functionality to it. The text of the script is here: http://www.victorland.com/rules.txt If whoever wrote the original would let me know, I'll add your name to the credits. I am planning on rewriting this thing properly, instead of the 1 hour hack it is right now :) When I do so, I'll post it to this list. Victor Jeremy C. Reed wrote:Is there any web-based interface that users can use for configuring their own Spam Assassin rules? If not, is anyone interested in helping work on one? (I saw some old postings from Charlie Watts and Michael Geier indicating that they both have web interfaces.) Jeremy C. Reed http://www.bsdnewsletter.com/ ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk