setuid fails with SQL user prefs

2013-11-05 Thread david hardy
Just upgraded our mailserver (~400 users) to ubuntu 12.04 using sendmail/procmail/spamassasin with SA userprefs from MySQL database. We had been using Bayes with db stored in user's home DIR with no problems previously, but it's failing now. with spamd invoked with "-Q -H -u nobody -x --max

Re: setuid fails with SQL user prefs

2013-11-05 Thread Benny Pedersen
david hardy skrev den 2013-11-05 18:29: with spamd invoked with "-Q -H -u nobody -x --max-children 5" spamd should not use -u, spamc should the error is that nobody cant change uid :) spamd does not run as root anyway, it just keep one process rooted to get uid change working, the spamd sca

Re: setuid fails with SQL user prefs

2013-11-05 Thread david hardy
Quoting Benny Pedersen : with spamd invoked with "-Q -H -u nobody -x --max-children 5" spamd should not use -u, spamc should the error is that nobody cant change uid :) Thank you! that was it, makes perfect sense. David