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 2005/06/15 23:03:27 UTC
[Bug 4405] New: Allowed to specifiy a user_prefs file location via spamc
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
Summary: Allowed to specifiy a user_prefs file location via spamc
Product: Spamassassin
Version: 3.0.4
Platform: All
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: spamc/spamd
AssignedTo: dev@spamassassin.apache.org
ReportedBy: aott@actcom.net
I'm using the Courior mail system, and it is running spamc from a xfilter rule
in the .mailfilter file that is in each users directory. This puts the
user_prefs file
in /home/"webaccountname"/popaccounts/"domainname"/"emailusername"/.spamassassi
n/userprefs this makes it imposible to do a --virtual-config-dir so what i did
is patched spamc and spamd to handle spamc passing a user_prefs directory to
spamd to use. This adds a --spamc-configs option to spamd so it knows to use
the directory from spamc and when calling spamc it adds a -z path-to-
user_prefs-file option. This also adds a UserPrefs section to the protocal. I
would really like to see this in the upcoming versions of spamassassin, as I
think it would be usefull for some people.
I will attach the patch files against the 3.0.4 source to this message.
Thank you.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
------- Additional Comments From aott@actcom.net 2005-06-15 14:06 -------
Created an attachment (id=2940)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2940&action=view)
Patch to libspamc.h
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
------- Additional Comments From parkerm@pobox.com 2005-06-15 14:11 -------
Subject: Re: Allowed to specifiy a user_prefs file location via
spamc
>------- Additional Comments From aott@actcom.net 2005-06-15 14:06 -------
>Created an attachment (id=2939)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2939&action=view)
> --> (http://bugzilla.spamassassin.org/attachment.cgi?id=2939&action=view)
>Patch to libspamc.c
>
>
This breaks binary compatibility and is not complete, you'll have to
pass things along for learning/reporting as well.
Michael
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] RFE: specifiy a user_prefs file location via spamc -z
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4405
jm@jmason.org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |5138
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
------- Additional Comments From aott@actcom.net 2005-06-15 14:06 -------
Created an attachment (id=2939)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2939&action=view)
Patch to libspamc.c
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
------- Additional Comments From aott@actcom.net 2005-06-15 14:05 -------
Created an attachment (id=2938)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2938&action=view)
Patch to spamc.c
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] RFE: specifiy a user_prefs file location via spamc -z
Posted by bu...@bugzilla.spamassassin.org.
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4405
jm@jmason.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Allowed to specifiy a |RFE: specifiy a user_prefs
|user_prefs file location via|file location via spamc -z
|spamc |
Target Milestone|3.2.0 |Future
------- Additional Comments From jm@jmason.org 2006-10-19 06:38 -------
I would prefer to implement bug 5138.
Once that's done, that allows clean implementation of this bug; if the plugin
APIs can read random headers from the request, and if spamc was extended
to allow a random header (something like "UserMetadata: foo") to be set
from a spamc command line switch, then you could do something like
- spamc -z /path/to/whatever
- request contains UserMetadata: /path/to/whatever
- plugin reads that "UserMetadata" header from the request, and uses it to find
user_prefs file
anyway, right now this isn't planned (patches welcome), so setting milestone to
Future.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
Bob@Menschel.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|Undefined |3.2.0
------- Additional Comments From Bob@Menschel.net 2005-07-03 18:27 -------
Triage: Per Michael's comment, this is complex enough to warrant a provisional
3.2 target.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 4405] Allowed to specifiy a user_prefs file location via spamc
Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4405
------- Additional Comments From aott@actcom.net 2005-06-15 14:05 -------
Created an attachment (id=2937)
--> (http://bugzilla.spamassassin.org/attachment.cgi?id=2937&action=view)
Patch to spamd.raw
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.