Re: per-user bayes

2020-12-09 Thread Kris Deugau
micah anderson wrote: Kris Deugau writes: There will only be one database and set of tables, but one of the fields in each table is the user identifier. Fair warning - if you go full per-user on a large system, this will MASSIVELY balloon the size of your Bayes database, and most users will i

Re: per-user bayes

2020-12-09 Thread Benny Pedersen
hg user skrev den 2020-12-09 08:57: I believe that a SA plugin (like bayes) is able to know the envelope MAIL FROM and RCPT TO values... is it correct? If it is possible we "just" have to modify the bayes plugin provide this patch first and ask later :=) bayes does not fokus on specifik header

Re: per-user bayes

2020-12-09 Thread Dean Carpenter
On 2020-12-09 9:48 am, deano-spamassas...@areyes.com wrote: > On 2020-12-09 4:41 am, @lbutlr wrote: > > On 08 Dec 2020, at 13:54, micah anderson wrote: > Kris Deugau writes: There will only be one database and > set of tables, but one of the fields in each table is the user identifier. >

Re: per-user bayes

2020-12-09 Thread deano-spamassassin
On 2020-12-09 4:41 am, @lbutlr wrote: > On 08 Dec 2020, at 13:54, micah anderson wrote: > >> Kris Deugau writes: > There will only be one database and set of tables, but one of the fields in > each table is the user identifier. Fair warning - if you go full per-user on > a large system, t

Re: per-user bayes

2020-12-09 Thread @lbutlr
On 08 Dec 2020, at 13:54, micah anderson wrote: > Kris Deugau writes: >> There will only be one database and set of tables, but one of the fields >> in each table is the user identifier. Fair warning - if you go full >> per-user on a large system, this will MASSIVELY balloon the size of your

Re: per-user bayes

2020-12-08 Thread hg user
I believe that a SA plugin (like bayes) is able to know the envelope MAIL FROM and RCPT TO values... is it correct? If it is possible we "just" have to modify the bayes plugin On Tue, Dec 8, 2020 at 10:13 PM Benny Pedersen wrote: > micah anderson skrev den 2020-12-08 21:54: > > Kris Deugau writ

Re: per-user bayes

2020-12-08 Thread Benny Pedersen
micah anderson skrev den 2020-12-08 21:54: Kris Deugau writes: There will only be one database and set of tables, but one of the fields in each table is the user identifier. Fair warning - if you go full per-user on a large system, this will MASSIVELY balloon the size of your Bayes databas

Re: per-user bayes

2020-12-08 Thread micah anderson
Kris Deugau writes: > There will only be one database and set of tables, but one of the fields > in each table is the user identifier. Fair warning - if you go full > per-user on a large system, this will MASSIVELY balloon the size of your > Bayes database, and most users will idle below the

Re: per-user bayes

2020-12-08 Thread Kris Deugau
Benoit Panizzon wrote: Hi This may help I sort of have the same issue. Unfortunately that does not help, it merely explains how to store bayes data in a database. But there is still only one 'global' databa

Re: per-user bayes

2020-12-08 Thread @lbutlr
On 08 Dec 2020, at 08:36, Benoit Panizzon wrote: > Adding the list back to CC as I believe this is an interesting topic > many have pondered over. Forgot to fix the reply to on this list for some reason. Fixed now. > Yes, I see that is states 'per user' but I still don't see, how that > 'bayes u

Re: per-user bayes

2020-12-08 Thread Benoit Panizzon
Hi Adding the list back to CC as I believe this is an interesting topic many have pondered over. Yes, I see that is states 'per user' but I still don't see, how that 'bayes user' is being set on a per recipient base. On the email platform there is ONE config file for spamassassin. So if I set th

Re: per-user bayes

2020-12-08 Thread Benoit Panizzon
Hi > This may help > > I sort of have the same issue. Unfortunately that does not help, it merely explains how to store bayes data in a database. But there is still only one 'global' database on your mail platf

Re: per-user bayes

2020-12-08 Thread @lbutlr
On 07 Dec 2020, at 13:56, micah anderson wrote: > A per-user setup would let each user do their own thing, but I don't see > how I can do that because our system doesn't have individual system > users and I don't see that there are options in the bayes sql > configuration or per-user tables possib

Re: Per-user prefs and rules

2020-11-10 Thread Benny Pedersen
Alex skrev den 2020-11-10 20:30: It also looks like there's "whitelist_from", but no "whitelist_auth"? Or "blacklist_from"? How much work would it be to add it to the database then configure SA to actually look for it? this can be done in sql spamassassin, read the docs in amavisd only whitel

Re: Per-user prefs and rules

2020-11-10 Thread Alex
> > https://cwiki.apache.org/confluence/display/SPAMASSASSIN/UsingSQL > > create pr user rules, set the scores default to 0 > > in sql, then change scorees pr user, easy :=) > > and amavisd have sa_userprefs maps to sa_user, it's just not that easy to > make work as intended This is kind of what I

Re: Per-user prefs and rules

2020-11-09 Thread Benny Pedersen
Matus UHLAR - fantomas skrev den 2020-11-09 14:43: no, amavis processes all mail under single user, usually "amavis". user prefs in sql is still supported in spamassassin even for system users in the host and amavisd have usermaps to sa_users, so its all supported but the gaviat is more th

Re: Per-user prefs and rules

2020-11-09 Thread Benny Pedersen
Alex skrev den 2020-11-09 14:37: https://cwiki.apache.org/confluence/display/SPAMASSASSIN/UsingSQL create pr user rules, set the scores default to 0 in sql, then change scorees pr user, easy :=) and amavisd have sa_userprefs maps to sa_user, its just not that easy to make work as intended

Re: Per-user prefs and rules

2020-11-09 Thread Matus UHLAR - fantomas
On 09.11.20 08:37, Alex wrote: I'm aware of the ability to store user prefs in mysql, like whether to use bayes or razor, but is it possible to have rules on a per-user basis with SA 3.4.4 and amavis? no, amavis processes all mail under single user, usually "amavis". you probably could make ma

Re: Per-user bayes filter DBs not accessible to mail delivered to aliases?

2011-03-16 Thread David King
I have a mailserver running postfix and spamassassin. I have a user 'user1' and an alias 'alias1', like this in /etc/aliases: >>> Two obvious things to check: 1) did you run 'newaliases' to rebuild the >>> aliases database? >> Positive. The mail is delivered to the right place, it just

Re: Per-user bayes filter DBs not accessible to mail delivered to aliases?

2011-03-16 Thread RW
On Wed, 16 Mar 2011 12:24:18 -0500 David King wrote: > >> I have a mailserver running postfix and spamassassin. I have a user > >> 'user1' and an alias 'alias1', like this in /etc/aliases: > > Two obvious things to check: > > 1) did you run 'newaliases' to rebuild the aliases database? > > Posit

Re: Per-user bayes filter DBs not accessible to mail delivered to aliases?

2011-03-16 Thread David King
>> I have a mailserver running postfix and spamassassin. I have a user >> 'user1' and an alias 'alias1', like this in /etc/aliases: > Two obvious things to check: > 1) did you run 'newaliases' to rebuild the aliases database? Positive. The mail is delivered to the right place, it just doesn't get

Re: Per-user bayes filter DBs not accessible to mail delivered to aliases?

2011-03-15 Thread Martin Gregorie
On Tue, 2011-03-15 at 00:39 -0500, David King wrote: > I have a mailserver running postfix and spamassassin. I have a user > 'user1' and an alias 'alias1', like this in /etc/aliases: > Two obvious things to check: 1) did you run 'newaliases' to rebuild the aliases database? 2) As there is more t

Re: Per-user preferences directory

2008-09-12 Thread Matt Kettler
Christian Gregoire wrote: > Hello, > > Is there any alternative to the %u, %l or %d options to the > virtual-config-dir option ? I have 12 000 mailboxes, that is, as many entries > in only one directory ... > SQL http://svn.apache.org/repos/asf/spamassassin/branches/3.2/sql/README

Re: Per-User required_score

2008-01-09 Thread Duane Hill
On Wed, 09 Jan 2008 09:20:26 +0100 Per Jessen <[EMAIL PROTECTED]> wrote: > Theo Van Dinter wrote: > > > Well, the problem is that if you run at MTA time, you can't really > > do per-user configs. > > > > "spamc -u" will work, if there's only 1 user. it won't work with > > multiple users, such a

Re: Per-User required_score

2008-01-09 Thread Per Jessen
Theo Van Dinter wrote: > Well, the problem is that if you run at MTA time, you can't really do > per-user configs. > > "spamc -u" will work, if there's only 1 user. it won't work with > multiple users, such as when there are several recipients for a single > message, unless you can get the MTA t

Re: Per-User required_score

2008-01-07 Thread Mark Martinec
David, > I want to give users control of the required_score variable. > I am using Postfix // SpamAssassin // amavis. ... > spamassassin unix - n n - - pipe >user=nobody argv=/usr/bin/spamc -f -e >/usr/sbin/sendmail -oi -f ${sender} ${recipient} If your

Re: Per-User required_score

2008-01-07 Thread David B Funk
On Mon, 7 Jan 2008, Theo Van Dinter wrote: > Well, the problem is that if you run at MTA time, you can't really do per-user > configs. > > "spamc -u" will work, if there's only 1 user. it won't work with multiple > users, such as when there are several recipients for a single message, unless > yo

Re: Per-User required_score

2008-01-07 Thread Theo Van Dinter
Well, the problem is that if you run at MTA time, you can't really do per-user configs. "spamc -u" will work, if there's only 1 user. it won't work with multiple users, such as when there are several recipients for a single message, unless you can get the MTA to split the message up into multiple

Re: Per-User required_score

2008-01-07 Thread mouss
David.Sharpe wrote: > Within postfix/master.cf I have the following lines : > > smtp inet n - - - - smtpd > -o content_filter=spamassassin > > > This pushes mail through the following lines : > > spamassassin unix - n n - - p

Re: Per-User required_score

2008-01-07 Thread David.Sharpe
Within postfix/master.cf I have the following lines : smtp inet n - - - - smtpd -o content_filter=spamassassin This pushes mail through the following lines : spamassassin unix - n n - - pipe user=nobody argv=/usr

Re: Per-User required_score

2008-01-07 Thread mouss
David.Sharpe wrote: Hi, I want to give users control of the required_score variable. I am using Postfix // SpamAssassin // amavis. I have read the document http://wiki.apache.org/spamassassin/UsingSQL and have the tests working OKAY. /executing SQL: SELECT preference, value FROM userpref WHERE

Re: per user filtering

2007-05-21 Thread Matt Kettler
Ronan McGlue wrote: > I have succesfully enabled weprefs 0.6 from > http://sourceforge.net/projects/webuserprefs/ > for my domain. I had to write an ldap authenticator mind you but it is > trivial... > > Now i have a couple more questions. Is this to be used in conjuction > with the local.cf file o

Re: per-user rules from mysql

2007-05-08 Thread Duane Hill
On Tue, 8 May 2007, Michael Parker wrote: Duane Hill wrote: header L_TO_ME ToCc =~ /[EMAIL PROTECTED]/ describe L_TO_ME Email addressed to me score L_TO_ME 0.010 You can't do rules with SQL user prefs, not even with allow_user_rules. Only non-admin config options are allowed. That'

Re: per-user rules from mysql

2007-05-08 Thread Michael Parker
Duane Hill wrote: > > header L_TO_ME ToCc =~ /[EMAIL PROTECTED]/ > describe L_TO_ME Email addressed to me > score L_TO_ME 0.010 > You can't do rules with SQL user prefs, not even with allow_user_rules. Only non-admin config options are allowed. Michael

Re: Per User

2007-05-03 Thread Ali Hameed
qmail + vpopmail + mysql, users information stored in mysql. On 5/3/07, Matthias Haegele <[EMAIL PROTECTED]> wrote: Ali Hameed schrieb: > I didnt find any help on the specified link, did u? > Also what prevents you from giving me some specific link?If u cant help > then > you should not reply.I

Re: Per User

2007-05-03 Thread Matthias Haegele
Ali Hameed schrieb: I didnt find any help on the specified link, did u? Also what prevents you from giving me some specific link?If u cant help then you should not reply.I need help if any one can. As Magnus asked u could perhaps provide some additional information, afaik (i dont use it on pe

Re: Per User

2007-05-03 Thread Magnus Holmgren
On Thursday 03 May 2007 12:50, Ali Hameed wrote: > I am using spamd on my linux system, I now want to give our users > choice that they want to use spamd or not, if yes they can write their own > rules, please help! This is a very general question. What MTA do you have and how do you call spamd f

Re: Per User

2007-05-03 Thread Ali Hameed
I didnt find any help on the specified link, did u? Also what prevents you from giving me some specific link?If u cant help then you should not reply.I need help if any one can. On 5/3/07, Matthias Haegele <[EMAIL PROTECTED]> wrote: Ali Hameed schrieb: > I am using spamd on my linux system, I

Re: Per User

2007-05-03 Thread Matthias Haegele
Ali Hameed schrieb: I am using spamd on my linux system, I now want to give our users choice that they want to use spamd or not, if yes they can write their own rules, please help! What prevends you from reading:? http://wiki.apache.org/spamassassin/ -- Grüsse/Greetings MH Dont send mai

Re: Per User Settings?

2007-04-01 Thread Benny Pedersen
On Sun, April 1, 2007 21:12, Davin Flatten wrote: > Please read http://wiki.apache.org/spamassassin/UsingSQL > We have done the same thing at our site and it works great. still have to wait here for amavisd-new and spamassassin do this, problem is that recipient user is not used, but only unix us

Re: Per User Settings?

2007-04-01 Thread Davin Flatten
Paul- Please read http://wiki.apache.org/spamassassin/UsingSQL We have done the same thing at our site and it works great. -Davin

Re: per user bayes db: auto_expiry problem --->> SOLVED

2007-03-16 Thread mailinglists
Hi Folks, it's been a while I asked here how to solve bayes timeout and spamd child timeout problems. Well, at least for our environment I have found a solution that seems to work. Also, I have a theory about the reason for this bayes timeout and spamd child timeout problems and I'd like to know w

Re: per user bayes db: auto_expiry problem, spamd child timeout, very long scantimes

2007-03-01 Thread mailinglists
> On Tue, 27 Feb 2007 [EMAIL PROTECTED] wrote: > >> Some emails have a scantime of more than 900 seconds. >> >> I do not see a relation to a huge load on the SpamAssassin Servers >> (I have 2 of them). The timeout problems happen when there is >> small load (10 out of 20 spamds marked Busy) as well

Re: per user bayes db: auto_expiry problem, spamd child timeout, very long scantimes

2007-02-27 Thread John D. Hardin
On Tue, 27 Feb 2007 [EMAIL PROTECTED] wrote: > Some emails have a scantime of more than 900 seconds. > > I do not see a relation to a huge load on the SpamAssassin Servers > (I have 2 of them). The timeout problems happen when there is > small load (10 out of 20 spamds marked Busy) as well as whe

Re: per user scanning

2007-02-27 Thread Tony Finch
On Tue, 27 Feb 2007, #Ronan McGlue wrote: > > what information is available during the DATA_ACL eg to perform lookups on to > get the username to use for SA? The only thing that Exim provides is the list of all recipients, $recipients (plural). What I would recommend that you do is use an ACL vari

Re: per user scanning

2007-02-27 Thread #Ronan McGlue
Tony Finch wrote: On Tue, 27 Feb 2007, #Ronan McGlue wrote: I am looking to move to peruser scanning, so I would need to change only one line of the above to spam= $local_part:true which will use the local part of the email address as the username. This won't work because there ma

Re: per user scanning

2007-02-27 Thread Tony Finch
On Tue, 27 Feb 2007, #Ronan McGlue wrote: > > I am looking to move to peruser scanning, so I would need to change only one > line of the above to > > spam = $local_part:true > which will use the local part of the email address as the username. This won't work because there may be multiple

RE: per-user and site-wide bayes databases toghether

2007-01-26 Thread Dan Barker
If "they" say you can't, then this is how you'd do it. (Training would need to be via scripts, not Autolearn, I imagine) SpamAssassin uses Bayes via database queries. So, you rename the tables to something different, and define a view of the same name as the table had been. It will be called by SA

Re: per-user whitelists under MailScanner?

2006-10-19 Thread Matt Kettler
Jay Chandler wrote: > If this is the wrong place to ask this, I apologize in advance. > > Right now, I'm running an older version of SpamAssassin, with > user_prefs in each user's .spamassassin folder. > > Is there any way to migrate this to MailScanner and still use per-user > whitelisting (and id

Re: per user Bayesian filtering

2006-07-31 Thread Joe Harvell
I use Cyrus. How can I configure Cyrus to do this? Right now Spam Assassin is getting triggered due to my Postfix config: smtp inet n - n - - smtpd -o content_filter=sa sa unix- n n - - pipe user=spamd

Re: per user Bayesian filtering

2006-07-28 Thread John Andersen
On Friday 28 July 2006 10:33, Joe Harvell wrote: > I have Postfix 2.2.10 and SpamAssassin 3.1.3. I have been trying to > figure out how to set up per-user Bayesian filtering. Obviously I need > to cause sa-learn to maintain a different database for each user. My > question is how do I get SpamAs

Re: per user Bayesian filtering

2006-07-28 Thread Joe Harvell
I just realized the question also applies to outgoing mail. Would that be based on the senders DB? What about for relayed mail? Is there a way to make it so that SA only gets invoked for incoming mail? Joe Harvell wrote: > I have Postfix 2.2.10 and SpamAssassin 3.1.3. I have been trying to > f

Re: Per user rules tuning

2006-03-08 Thread François Conil
Bret Miller a écrit : I'm currently using spamassassin in a postfix+amavisd smtp gateway, filtering mail then forwarding them to an IMAP server. I'm looking for a way to specify per user, which .cf files it could use or not use. For instance, I put some custom_rules.cf files in /usr/local/

RE: Per user rules tuning

2006-03-08 Thread Bret Miller
> I'm currently using spamassassin in a postfix+amavisd smtp gateway, > filtering mail then forwarding them to an IMAP server. > > I'm looking for a way to specify per user, which .cf files it > could use > or not use. > > For instance, I put some custom_rules.cf files in > /usr/local/share/spamass

Re: Per-user bayes filter on site-wide spamassassin setup

2006-02-21 Thread Scott Russell
Anders Ellenshøj Andersen wrote: How can I make spamassassin read the bayes database for the user that is recieving the mail. Is this even a good idea? Should I use a central database instead? With amavis you only have the option of using a single site wide bayes database. -- Scott Russell

Re: Per-User - Bayes Learning

2006-01-02 Thread Duane Hill
On Monday, January 2, 2006 at 3:56:40 AM, [EMAIL PROTECTED] confabulated: > At 10:00 PM 1/1/2006, Duane Hill wrote: >>Hello All, >> >>I have e-mail accounts that have been sending Spam to a specific >>e-mail address as an attachment for some time now. Before they were >>manually gone t

Re: Per-User - Bayes Learning

2006-01-01 Thread Matt Kettler
At 10:00 PM 1/1/2006, Duane Hill wrote: Hello All, I have e-mail accounts that have been sending Spam to a specific e-mail address as an attachment for some time now. Before they were manually gone through as I didn't have anything specific set up on a per-account basis. Now that I

Re: per-user or global bayes (was: HUGE bayes DB (non-sitewide) advice?)

2005-11-13 Thread email builder
bump --- Michael Monnerie <[EMAIL PROTECTED]> wrote: > > My users are quite happy > > with overall markup of the spam. We occasionally get a HAM marked as > > SPAM. We have an odd client base though. > > The question is: when to use global and when per-user bayes? > > On our server, we have p

Re: per-user or global bayes (was: HUGE bayes DB (non-sitewide) advice?)

2005-11-09 Thread Michael Monnerie
On Mittwoch, 9. November 2005 08:04 Gary W. Smith wrote: > My users are quite happy > with overall markup of the spam.  We occasionally get a HAM marked as > SPAM.  We have an odd client base though. The question is: when to use global and when per-user bayes? On our server, we have people of dif

Re: Per-user capabilities

2004-11-04 Thread jdow
From: "Loren Wilton" <[EMAIL PROTECTED]> > > However you should examine what proportion of mail nowadays, arriving from > > the internet, *is* addressed to multiple users in the one SMTP > > transaction. This may appear to be a major failing, but in my experience > > it's just not, in real-world

Re: Per-user capabilities

2004-11-03 Thread Loren Wilton
> However you should examine what proportion of mail nowadays, arriving from > the internet, *is* addressed to multiple users in the one SMTP > transaction. This may appear to be a major failing, but in my experience > it's just not, in real-world use. In my experience, virtually all multi-addres

Re: Per-user capabilities

2004-11-02 Thread Justin Mason
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Khalid Waheed writes: > SpamAssassin has all sorts of per-user capabilities, including whitelists, > rule weights, and Bayesian filtering. > But all of this stuff is totally useless in some mail servers (e.g. > SunOne messaging server), for the simpl

Re: Per-user capabilities

2004-11-02 Thread jdow
From: "Khalid Waheed" <[EMAIL PROTECTED]> > > SpamAssassin has all sorts of per-user capabilities, including whitelists, rule weights, and Bayesian filtering. > But all of this stuff is totally useless in some mail servers (e.g. SunOne messaging server), for the simple reason that being able to pro