|
SA Bugzilla – Full Text Bug Listing |
Summary: | Add config option for SQL queries for Bayes | ||
---|---|---|---|
Product: | Spamassassin | Reporter: | C. Bensend <benny> |
Component: | spamc/spamd | Assignee: | SpamAssassin Developer Mailing List <dev> |
Status: | NEW --- | ||
Severity: | enhancement | ||
Priority: | P5 | ||
Version: | 3.1.8 | ||
Target Milestone: | Undefined | ||
Hardware: | All | ||
OS: | other | ||
Whiteboard: |
Description
C. Bensend
2007-02-21 08:25:49 UTC
How about just using the bayes_sql_override_username configuration variable? (In reply to comment #1) > How about just using the bayes_sql_override_username configuration variable? Hi Michael, I'm very sorry - I don't know if I didn't get an email when you posted this comment, or if it got marked as spam or something. :( I had no idea you had replied. I apologize. I checked out this option in Mail::SpamAssassin::Conf, and it looks promising. Is it as simple as: INSERT INTO userpref ( username, preference, value ) VALUES ( '%bennyvision.com', 'bayes_sql_override_username', 'benny@bennyvision.com' ); ? Would this force all of my other usernames on the bennyvision.com domain to use the 'benny@bennyvision.com' as the username for Bayes? I just want to make sure I understand the use of this option as well as any risks that might be involved. Thank you so much, and again - I'm sorry I missed your comment way back then. Benny |