bug spamfilter?

Discussion in 'Installation/Configuration' started by Steffan, Sep 30, 2019.

  1. Steffan

    Steffan Member

    hello,

    i have a client that has disabled the spamfilter on his email domain AND on his mailadres mailbox.
    but when i look as his spamfilter setting, the spamfilter is activated:

    Code:
    ispc_mail_user_660 {
            priority = 20;
            rcpt = "[email protected]";
    
            apply {
                            CLAM_VIRUS = 1015;
                    JUST_EICAR = 1015;
                            actions {
                                            "rewrite subject" =  6;
                                                            "add header" =  6;
                                            reject = 15;
                                                    greylist = null;
                                            }
            }
    }
    When i change the setting to uncensored then the settings are changed to want_spam = yes;

    Also i noticed that email aliasses not have the same settings as the corresponding mailbox, it looks like they have the basic settings.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Aliases get the setting of the mail domain, not of the mailbox.
     
  4. Steffan

    Steffan Member

    Sorry that i didnt look.
    On that bugfix it is fixing the alias problem i see...

    But the client has the settings on mail domain and e-mailmailbox both on - not enabled -
    But that setting is not disabling the spamfilter for the users e-mailmailbox
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    That's right, setting spam filter to '-' sets it to default. But thats the same for amavis as well and has not changed. if you want to disable filtering, set it to uncensored.
     
  6. Steffan

    Steffan Member

    oke thanks this was the first time a client asked abouth this.
    i understand the mistake abouth this
    the -not enabled- line it is all abouth how you read it :)
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    I agree that the text might mislead. But we have not found a better one, if you would write 'not selected' then users ask if they have to select it, if you write 'defaults' then users will probably ask how to turn them off and so on.
     
  8. Steffan

    Steffan Member

    -- make a choice below -- ?
    well. thanks for the answers and updates.
    I will mention this in a newsletter to the costumers.
    Is there a ETA when you will release 3.1.15p1?
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    I expect it to be finished at the end of this week, probably Friday.
     
  10. Steffan

    Steffan Member

    Today i looked again at the settings after rysyncing everyting

    The client has his maildomein set as:
    want_spam = yes;

    if i look at a mailbox i see:

    Code:
    apply {
                            CLAM_VIRUS = 1004;
                    JUST_EICAR = 1004;
                            actions {
                                            "rewrite subject" =  2;
                                                            "add header" =  2;
                                            reject = 4;
                                                    greylist = null;
                                            }
            }

    Looking at a alias linking to this mailbox:

    Code:
    apply {
                            CLAM_VIRUS = 1010;
                    JUST_EICAR = 1010;
                            actions {
                                            "rewrite subject" =  6;
                                                            "add header" =  6;
                                            reject = 10;
                                                    greylist = null;
                                            }
            }
    So the settings for the aliases are not the same.

    What is strange is that all aliasses linked to a mailbox that has set to onscensored. are changed correctly when changing the master domain (not when changing the mailbox)
     
  11. Steffan

    Steffan Member

    no one having the same problem?
     
  12. till

    till Super Moderator Staff Member ISPConfig Developer

    All files are getting written as intended here. Ensure that you set the right policy for the domain as aliases get their settings from the domain they belong to.
     
  13. Steffan

    Steffan Member

    Wel that is not what happend to me.
    Just updated to the latest version to be shure.

    Changing the mail email-domain to a normal spamfilter settings.
    Waith till all files are updated.

    After that i changed the main e-mail-domain to unsensored.
    I just noticed that 3 aliasses the files are updated but not set to unsensored all other aliasses works.

    even when i delete them and recreate them they getting the settings of the first spamfilter setting of the server and not the unsensored settings of the maildomain.

    When i create a random alias it works. any idees?


    Just a sitenote, why isnt the alias getting the settings of the mailbox?
    if now the maildomain has a filtersetting and the user of a mailbox wants unsensored it does not work for there alias.
     
  14. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to change the spamfilter setting of the target mail domain to a different policy, save, and then change it back and save. Maybe the settings in spamfilter user/domain for the target domain are not correct.

    Because it has been implemented like that. Feel free to make a feature request in the bug tracker if you feel that it should be implemented differently.
     
  15. Steffan

    Steffan Member

    i did that as i mentioned in my previous reply, only 3 aliasses are staying on the default settings of 6
    and 6 is not set on the domain or the mailbox
     

Share This Page