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 2006/09/07 16:07:19 UTC

[Bug 5090] New: sa-learn not honoring -u option

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

           Summary: sa-learn not honoring -u option
           Product: Spamassassin
           Version: 3.0.4
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Learner
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: mircea@neacsu.net


sa-learn uses always the current shell account even when -u user or
--username=user options are specified.



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

[Bug 5090] sa-learn not honoring -u option

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5090





------- Additional Comments From felicity@apache.org  2006-09-07 14:15 -------
Can you please provide more details?  It sounds like you're expecting something
that you're not seeing, but "uses the current shell account" doesn't explain
what your issue is.

Thanks.



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

[Bug 5090] sa-learn not honoring -u option

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5090


parkerm@pobox.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From parkerm@pobox.com  2006-09-07 14:37 -------
What you are trying to do will not work.  --username is for virtual users, see
this in the sa-learn man page:

           NOTE: This option will not change to the given username, it will only
attempt to
           act on behalf of that user.  Because of this you will need to have
proper permis‐
           sions to be able to change files owned by username.  In the case of
SQL this gen‐
           erally is not a problem.




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

[Bug 5090] sa-learn not honoring -u option

Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5090





------- Additional Comments From mircea@neacsu.net  2006-09-07 14:35 -------
As described in a POSTFIX integration note, I have a user account for filtering
(username filter) with it's home directory (/var/spool/filter in my case) and I
want to add spam messages from spamfile while logged-in as root

If I run the command:
   sa-learn --username=filter --spam --mbox spamfile

the Bayes database is created in the /root/.spamassassin not in
/var/spool/filter/.spamassassin




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