You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2007/09/27 14:37:11 UTC

[Bug 5611] Running spamd with -u and without -x no longer reads user prefs

http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5611


jm@jmason.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #4092 is|0                           |1
           obsolete|                            |




------- Additional Comments From jm@jmason.org  2007-09-27 05:37 -------
Created an attachment (id=4137)
 --> (http://issues.apache.org/SpamAssassin/attachment.cgi?id=4137&action=view)
fix

OK, I think this will do it.

it implements what I discussed in #3; I had to add an additional getpwnam()
lookup, and clarify some variable names, since we now potentially need to
setuid to one uid, but read config details from another uid's home dir.

all t/root*.t tests pass in trunk.  Now checked in:

: jm 177...; svn commit -m "bug 5611: support 'spamd --nouser-config -u
username', which setuids to 'username' but does not read user_prefs files from
anywhere"
Sending        spamd/spamd.raw
Transmitting file data .
Committed revision 579988.




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.