Personal spam thresholds are ignored

Report bugs and workarounds
Post Reply
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Personal spam thresholds are ignored

Post by budy »

Hi,

I don't know, when this started, but I think that the update to 3.0.2.5 has caused that MailScanner disregards my personal spam thresholds, that I set up in my user preferences. In both of my installations, my private one at home and the one at work, I have set my personal spam thresholds to 3.0 for regular Spam and 5.0 for High-Spam.
Nevertheless, in both installations, message that are scoring 3.0+ are treated as clean messages. Both setups use LDAP for authentication and user management, where the one at home binds against a regular OpenLDAP server, while the one at work binds against AD.

How can I check what's going on on both efa boxes?

Thanks,
budy
TheGr8Wonder
Posts: 97
Joined: 01 Jul 2017 02:32

Re: Personal spam thresholds are ignored

Post by TheGr8Wonder »

Silly question, but did you enable per user scoring via the CLI/SSH?

Menu option 6 (MailWatch Settings) -> 4 (Per User Scoring) -> Make sure it is maked as enabled

Even though in the web GUI, it has the option for per-user scoring, it is ignored unless enabled via CLI/SSH. Please be sure to read the notes at the menu options above, as it will have an effect on the effectiveness of your system if each recipient on your system doesn't have an account (wide open, no filter for those users)
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

Thanks - I might be mistaken, but I don't think, that I had that on ever. I have read the description carefully and I wonder what "users that don't have an account" means. As I said, we do have eFa hooked up to our AD and when I look at the user management, I do see all of our users. Is that already enought, or does each single user has to log in once to actually have an account on the eFa box?
TheGr8Wonder
Posts: 97
Joined: 01 Jul 2017 02:32

Re: Personal spam thresholds are ignored

Post by TheGr8Wonder »

Meaning if you receive email at "resumes@XYZ.com" and do not have an account for "resumes@XYZ.com" within eFa, then mail will not be scanned for spam/content at that point. Mail will still arrive to that user, just not protected at that point.
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

Yeah, but it seems, that the AD integration already has setuo all these accounts, even though, they didn't log in ever since. So my question maybe shoud rather be: if an account is present in the users list, will mail arriving for it be processed?

I'd guess so… just wanted to make sure.
TheGr8Wonder
Posts: 97
Joined: 01 Jul 2017 02:32

Re: Personal spam thresholds are ignored

Post by TheGr8Wonder »

Yes it will
User avatar
pdwalker
Posts: 1553
Joined: 18 Mar 2015 09:16

Re: Personal spam thresholds are ignored

Post by pdwalker »

Did that solve your problem budy?
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

Yes - this totally does it - thanks!
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

Hi guys,

I just checked with my eFa box at work and unfortuanetly I have to treport, that it doesn't seem enough for the users to be in the list, as almost none of them is checked for spam. I have just run a report on messages that have a spam assassin score of 5+ and got 5k+ results, where almost none had been marked as spam. The only ones marked as spam, where the ones targeting my e-mail address and a couple of MLs, that I had setup manually, as those addresses are not exposed, when connecting to our AD.

Since all of the somewhat imported mail accounts from AD all have their spam and high-spam thresholds set to 0, which in my understanding should have led to the defaults being applied, I have now picked two accounts and changed their thresholds from 0/0 to 5/7. However, I don't yet know, if this will do the trick here.
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

…soo… it seems, that having thresholds set to 0/0 doesn't actually resolve to the domain's defaults of 5/7, but lead to the accounts messages are not checked for spam. Once I manually set user-defined thresholds in the user list as the admin user, messages started to be recognized as spam.

I surely could set these scores manually in the database, but I thought that 0/0 would be replaced by the domain's defaults.
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Personal spam thresholds are ignored

Post by shawniverson »

Humor me and create an "admin" user on eFa with the desired defaults.

MailWatch used to look for an admin account for the default thresholds. Let's see if that is still the case.
budy
Posts: 74
Joined: 10 Sep 2017 07:33

Re: Personal spam thresholds are ignored

Post by budy »

Well, there has been an admin account already. And that admin account also had the thresholds set up, so it doesn't seem that MailScanner still does this.
Post Reply