Skip to content

New users inserted with wrong spam levels #84

Description

@gelsonborsoi

I installed Maia Mailguard in FreeBSD 12.1 amd64 following a tutorial in http://www.purplehat.org/?page_id=4
Everything works great except when Maia create a new user automaticaly.
In config.php $protection is an array.{off, low, medium, high}
I changed Medium values of the spam_tag_level = 2, spam_tag2_level = 5 and spam_kill_level = 9.
I edited maia database with phpmyadmin and put my desired values in Default policy_name.
In the @. and in the @mydomain.com.br i put protection in level "Medium"
I put the Maya to login at level 5 and what I could see is that maia finds all the information about @mydomain.com.br and also @.
I realized that Maia makes this first scan, whether for spam or viruses, based on the @mydomain.com.br policy and delivers the message.
The problem is that maia insert this new user to database but the policy is inserted with "spam_tag_level" = 0, "spam_tag2_level" = 0 and "spam_kill_level" = 0.
The next time an email arrives, Maia no longer uses the @mydomain.com.br default
policy as there is an user@mydomain.com.br info, however, with tags with values equal to
zero.
First e-mail received: Hits: -0.199, tag=2, tag2=5, kill=5, L/0/0/0
Second e-mail received: Hits: -0.099, tag=0, tag2=0, kill=0, L/0/0/0
Everytime a new user is inserted, i need to set the spam levels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions