Hi, > > I was just wondering... I'm using SpamAssassin with TMDA, and > > SA is running as a daemon (hence, the bayes file is located in that > > user's homedir). > > > > Is it possible to set SpamCopFilter in defaults.ini to run as a specific > > user ? > > Not as it stands now, no. > > You could create a binary executable wrapper around your SpamCopFilter > and then set the suexec bit on the program, much the same way that > tmda.cgi is a wrapper for the tmda-cgi application. That's the only > solution that comes to my mind.
Hm.... I've been checking the code for tmda.c (used for tmda.cgi) - nothing in there seems to indicate under which user the application should be running. I'm no expert i linux-programming, but I'd be happy to learn something ;-) Doing a 'ls -l' on the CGI-dir gives me: -rws--s--x 1 root root 14623 Jun 4 01:22 tmda.cgi I assume, that the code inside tmda.cgi (actually the tmda-cgi.py script) have some kind of code to change user to run as another uid/gid (vpopmail/vchkpw ?). The only thing I cannot seee is how to change the userid under which spamassassin is run - unless it's done via sudo or something like that... Input is appreciated ;-) Brian _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users
