http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5734
Summary: spamd should not require a -u option when run as non-
root
Product: Spamassassin
Version: SVN Trunk (Latest Devel Version)
Platform: Other
OS/Version: other
Status: NEW
Severity: enhancement
Priority: P5
Component: spamc/spamd
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
The -u option is required by spamd when any --vpopmail, --virtual-config-dir,
--ldap-config or --sql-config is used.
This seems redundant when spamd is not being run as root. This was brought up in
discussion about bug 5728. To quote Justin:
> So the caller has to know what their current
> username is, and use that in the invocation, and spamd will then run ok as
> non-root with those options.
>
> If you are suggesting that we should *automatically* deal with this case, by
> doing something like
>
> if ($> != 0 && !$opt{'username'}) {
> # we are run as non-root; set username to whatever we're currently
> running as
> $opt{'username'} = currently_running_username();
> }
>
> I would be in favour of this, as a new feature. But it'd be a separate bug...
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.