Re: Method of setting score for a custom rule to be the required_score ?

2018-06-28 Thread Bill Cole
On 27 Jun 2018, at 22:17, J Doe wrote: I went back to “man Mail::SpamAssassin::Conf” and can see mention of the shortcircuit plugin . . . is there more documentation (perhaps in another man or perldoc), where the shortcircuit keyword is mentioned ? perldoc

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-28 Thread Daniele Duca
On 28/06/2018 04:17, J Doe wrote: I went back to “man Mail::SpamAssassin::Conf” and can see mention of the shortcircuit plugin . . . is there more documentation (perhaps in another man or perldoc), where the shortcircuit keyword is mentioned ? I'd say a good starting point would be

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-27 Thread J Doe
> On Jun 27, 2018, at 6:20 AM, Daniele Duca wrote: > Hi, > > I'd say that a better solution would be to use shortcircuit: > body __BODY_TEST1 . . . > body __BODY_TEST2 . . . > meta CUSTOM_RULE1(__BODY_TEST1 && __BODY_TEST2) > shortcircuit CUSTOM_RULE1 spam > > At least that saves

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-27 Thread Daniele Duca
On 27/06/2018 02:15, J Doe wrote: Hi John, Ok, good to know. Is it possible with the SA grammar to have variables ?  I was thinking I’d have something like the following in my: /etc/spamassassin/local.cf     POISON_PILL = 100 Hi, I'd say that a better solution would be to use

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-26 Thread John Hardin
On Tue, 26 Jun 2018, J Doe wrote: On Jun 26, 2018, at 12:13 AM, John Hardin mailto:jhar...@impsec.org>> wrote: My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up to the value that required_score is set to. Th

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-26 Thread J Doe
> On Jun 26, 2018, at 12:13 AM, John Hardin <mailto:jhar...@impsec.org>> wrote: > >> Hello, >> >> I was wondering if it is possible to assign a score to a custom rule that >> will evaluate to the value that required_score is set to. >> >>

Re: Method of setting score for a custom rule to be the required_score ?

2018-06-25 Thread John Hardin
On Mon, 25 Jun 2018, J Doe wrote: Hello, I was wondering if it is possible to assign a score to a custom rule that will evaluate to the value that required_score is set to. My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up

Method of setting score for a custom rule to be the required_score ?

2018-06-25 Thread J Doe
Hello, I was wondering if it is possible to assign a score to a custom rule that will evaluate to the value that required_score is set to. My thinking here is that if this rule ever passes, it should not add a small value to the score but push the score up to the value that required_score

required_score keeps reverting to 5

2009-10-02 Thread Jefferson Davis
I have recently updated to 3.2.4 - for some reason my required_score keeps reverting to 5, basically ignoring or everriding the settings in local.cf. The ruleset 10_default_prefs.cf has these settings, and this is where it appears to come from. While I have commented out the offending line(s

Re: required_score keeps reverting to 5

2009-10-02 Thread Charles Gregory
On Fri, 2 Oct 2009, Jefferson Davis wrote: I have recently updated to 3.2.4 - for some reason my required_score keeps reverting to 5, basically ignoring or everriding the settings in local.cf. Some Linux (presumed) disties have non-standard configuration directories - but when you manually

Why can't I change value of required_score ?

2008-03-18 Thread Yavuz Maslak
I use spamassassin3.2.1 and simscan1.2 My value of required_score doesn't work in /usr/local/etc/mail/spamassassin/local.cf. I couldn't change required_score's value. The server still looks at old value which I must have been set it. I checked that the server reads /usr/local/etc/mail

FW: Why can't I change value of required_score ?

2008-03-18 Thread James E. Pratt
-Original Message- From: James E. Pratt Sent: Tuesday, March 18, 2008 2:36 PM To: 'Yavuz Maslak' Subject: RE: Why can't I change value of required_score ? -Original Message- From: Yavuz Maslak [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 2:33 PM

RE: Why can't I change value of required_score ?

2008-03-18 Thread James E. Pratt
Apologies, I meant to send this to the qmail-toaster list... :( -Original Message- From: James E. Pratt [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 18, 2008 2:38 PM To: [EMAIL PROTECTED] Subject: FW: Why can't I change value of required_score ? -Original Message

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 to split

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 as when there

Per-User required_score

2008-01-07 Thread David.Sharpe
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 username

Re: Per-User required_score

2008-01-07 Thread David.Sharpe
=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient} Hope this is what you were after... Thanks, - David mouss-2 wrote: David.Sharpe wrote: Hi, I want to give users control of the required_score variable. I am using Postfix // SpamAssassin // amavis. I have read

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

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 - - pipe

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 David B Funk
get the MTA to split the message up into multiple messages, but that is problematic/has pros+cons assuming the MTA will even let you do it. So in short, if you want per-user configs, switch to running SA at the MDA (procmail, maildrop, etc.) If you -only- need Per-User required_score you may

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: required_score

2007-11-06 Thread maillist
Jason Bertoch wrote: On Tuesday, October 30, 2007 5:36 PM maillist wrote: SpamAssassin version 3.2.3 running on Perl version 5.8.8 mimedefang version 2.63 sendmail Version 8.14.0 Check for either /etc/mail/sa-mimedefang.cf or /etc/mail/spamassassin/sa-mimedefang.cf Jason A.

RE: required_score

2007-10-31 Thread Jason Bertoch
On Tuesday, October 30, 2007 5:36 PM maillist wrote: SpamAssassin version 3.2.3 running on Perl version 5.8.8 mimedefang version 2.63 sendmail Version 8.14.0 Check for either /etc/mail/sa-mimedefang.cf or /etc/mail/spamassassin/sa-mimedefang.cf Jason A. Bertoch Network Administrator

required_score

2007-10-30 Thread maillist
SpamAssassin version 3.2.3 running on Perl version 5.8.8 mimedefang version 2.63 sendmail Version 8.14.0 I have been running spamassassin for over 2 years now, and suddenly, the required score has changed. I have it set to 7.0, but it has suddenly changed back to the default of 5.0. I only

required_score not working?

2007-05-09 Thread Jason Frisvold
Greetings, Am I correct in saying that the proper way to set a default required_score is in the /etc/mail/spamassassin/local.cf file? I'm running SA 3.2.0 and I seem to be unable to change the default required_score. I'm using spamc/spamd for processing via simscan. Per-user rules are enabled

required_score aggressive ??

2006-12-06 Thread R Lists06
When looking up required_score info, as most know, it say that the default is 5.0 and that it is considered aggressive in various circumstances Used to be called required_hits When I first started using SA I was told that as an ISP going in the 4.0 range give or take a little was an excellent

Re: required_score aggressive ??

2006-12-06 Thread Kris Deugau
R Lists06 wrote: When looking up required_score info, as most know, it say that the default is 5.0 and that it is considered aggressive in various circumstances Used to be called required_hits When I first started using SA I was told that as an ISP going in the 4.0 range give or take a little

RE: required_score aggressive ??

2006-12-06 Thread Sietse van Zanen
-Original Message- From: R Lists06 [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 06, 2006 4:45 PM To: users@spamassassin.apache.org Subject: required_score aggressive ?? When looking up required_score info, as most know, it say that the default is 5.0 and that it is considered

Re: required_score aggressive ??

2006-12-06 Thread Ray Anderson
I use a required_score of 3 and so far have had zero positives (more than 3 years running). I have customers that also run 3 and have opted to have the server /discard/ the message (not quarantine, but /DISCARD/) if it is identified as spam. So far none of those users have complained about

Re: required_score aggressive ??

2006-12-06 Thread Rob Mangiafico
On Wed, 6 Dec 2006, Ray Anderson wrote: I use a required_score of 3 and so far have had zero positives (more than 3 years running). I have customers that also run 3 and have opted to have the server /discard/ the message (not quarantine, but /DISCARD/) if it is identified as spam. So

Re: setting required_score between each email message test?

2006-06-06 Thread Joe Flowers
Theo Van Dinter wrote: On Mon, Jun 05, 2006 at 04:36:24PM -0400, Joe Flowers wrote: Is there a way to set the required_score on the fly between each email message test? You haven't stated what you're trying to do, but you could update the user preference between spamassassin/spamc runs

setting required_score between each email message test?

2006-06-05 Thread Joe Flowers
Is there a way to set the required_score on the fly between each email message test? I tried changing the required_score in /etc/mail/spamassassin/local.cf but it is unsurprisingly not rescanned/reloaded between each message that is tested. It would really be cool (not to mention extremely

Re: setting required_score between each email message test?

2006-06-05 Thread Theo Van Dinter
On Mon, Jun 05, 2006 at 04:36:24PM -0400, Joe Flowers wrote: Is there a way to set the required_score on the fly between each email message test? You haven't stated what you're trying to do, but you could update the user preference between spamassassin/spamc runs, depending on your

Re: required_score

2006-06-02 Thread Theo Van Dinter
tagged_above=2 required=6.31 tests=[DATE_IN_FUTURE_06_12=1.498, FORGED_HOTMAIL_RCVD=2.152] It's like the required_score option is ignore... What happen? That isn't a standard header (tagged_above indicates you're using some other program to call SA), so I'd look at that to figure out

RE: required_score

2006-06-02 Thread Bowie Bailey
Julien Michaux wrote: Hi everybody, I have a problem using spamassassin. The required_score option doesn't work... I use the lastest spamassassin version, postfix 2.2, clamav, courier-imap and openLDAP. My operating system is Debian testing with kernel 2.6.12. I set

RE: required_score

2006-06-02 Thread Bowie Bailey
Michaux Julien wrote: Yes I use amavis... So it's in the amavis configuration that I have to set the required_score? Do you know it is? Search amavisd.conf for sa_tag_level. This should find all of the score settings for amavis. Amavis is much more flexible than SA alone and has more than

where is required_score being set ...

2006-01-05 Thread Screaming Eagle
All, I have set required_score to 8.0 and restarted spamd. But new email coming in is showing a require of 4.5: X-Spam-Status: No, score=1.2 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=no version=3.1.0

reduce required_score for recipient domain

2005-12-20 Thread Marcus Sobchak
Hi, how do I reduce the required_score from 5.0 to a lower value for a special domain? I'd like to set required_score to 4.3 for all incoming mails to mydomain.org. All other domains should require the standard score of 5.0. Thanks, Marcus

RE: reduce required_score for recipient domain

2005-12-20 Thread Matthew.van.Eerde
Marcus Sobchak wrote: how do I reduce the required_score from 5.0 to a lower value for a special domain? I'd like to set required_score to 4.3 for all incoming mails to mydomain.org. All other domains should require the standard score of 5.0. I suppose you could make a rule that matches

SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Kevin Marvin
HELP! I cant get this figured out for the life of me. Here is what I have... I have SA 3.0.2, using a Postgres database to store user preferences. When I run a test instance and pass a test message to it (using spamc and spamd) and the blacklist_from entries never get read... Here is my

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Michael Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Marvin wrote: debug: Conf::SQL: executing SQL: SELECT preference, value FROM userpref WHERE username = '[EMAIL PROTECTED]' OR username = '$GLOBAL' OR username = '%'||'architel.com' ORDER BY username ASC If you run the query above in psql

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Kevin Marvin
preference| value -+ required_score | 4.0 blacklist_from | [EMAIL PROTECTED] blacklist_from | [EMAIL PROTECTED] score USER_IN_BLACKLIST | 100 required_score | 3.0 report_safe

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Michael Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Marvin wrote: preference | value -+ required_score | 4.0 blacklist_from | [EMAIL PROTECTED] blacklist_from | [EMAIL PROTECTED] score USER_IN_BLACKLIST | 100 required_score | 3.0 report_safe

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Michael Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Marvin wrote: spamd -x -q -C /etc/mail/test/ --siteconfigpath=/etc/mail/test -p Are you sure you mean -C /etc/mail/test/? Normally that would be something like /usr/share/spamassassin, which is where all of the default .cf/rules files are

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Kevin Marvin
You, sir, are a GENIUS! That fixed it perfectly. Thank you very much! Name the brand of e-beer and I will send it your way. - Kevin On 6/7/05 1:00 PM, Michael Parker [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Marvin wrote: spamd -x -q -C

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread JamesDR
Kevin Marvin wrote: HELP! I cant get this figured out for the life of me. Here is what I have... I have SA 3.0.2, using a Postgres database to store user preferences. When I run a test instance and pass a test message to it (using spamc and spamd) and the blacklist_from entries never get

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread JamesDR
JamesDR wrote: Kevin Marvin wrote: Sorry list, Michael set me straight on allow_user_rules :-D -- Thanks, James

Re: SA 3.0.2 - SQL User Preferences failing for all but required_score

2005-06-07 Thread Michael Parker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 JamesDR wrote: Kevin Marvin wrote: HELP! I cant get this figured out for the life of me. Here is what I have... I have SA 3.0.2, using a Postgres database to store user preferences. When I run a test instance and pass a test message to it

Re: Mail::SpamAssassin to setup required_score

2005-05-13 Thread Markus Hardiyanto
Why Mail::SpamAssassin module always giving output spam score 0? while if i run spamassassin from console to check the same sample-spam file it give spam score 4? --- Markus Hardiyanto [EMAIL PROTECTED] wrote: can i use Mail::SpamAssassin to setup required_score? i already read the manual

Re: Mail::SpamAssassin to setup required_score

2005-05-13 Thread Theo Van Dinter
On Fri, May 13, 2005 at 09:05:34AM -0700, Markus Hardiyanto wrote: Why Mail::SpamAssassin module always giving output spam score 0? while if i run spamassassin from console to check the same sample-spam file it give spam score 4? Mail::SpamAssassin doesn't actually check your mail. Please

Mail::SpamAssassin to setup required_score

2005-05-10 Thread Markus Hardiyanto
can i use Mail::SpamAssassin to setup required_score? i already read the manual but still don't know how to do it. i creating a perl script that calling Mail::SpamAssassin to check emails is it a spam or not. i want that i can configure the required_score from my script, not from /etc