• mailspam not populated

    By Hans-Peter Samberger 2 decades ago

    Hi,



    i just setup kSpam and it looks very promising (once i fully understand regexp :-()

    Initially i used the "Copy" Action (for safe testing) and it worked as expected.

    Then i changed the rules to "Copy and Deny".

    Now i get log entries saying "copyied & denied" so it seems to be working, but i neither receive the messages at the intended recepient (that is good) nor any longer in mailspam.nsf (that is odd).



    Am i getting something wrong here?

    I thought one should first populate the mailspam.nsf with rules before turning the bayesian prep on?

    I also restarted the server, but no change.



    Any help would be apreciated.

    Thx

    HP

    • Re:

      By Tom Lyne 2 decades ago

      What rule is copy & deny the action for?



      -tom

      • By Hans-Peter Samberger 2 decades ago

        Hi,



        several, some regexp, some words, both subject and body. e.g.:

        >Deny Rule:

        >

        >Priority: 20

        >From contains:

        >To contains:

        >Subject contains: h0t

        >Body contains:

        >Attachments:



        >Action: Copy & Deny

        >Mark with:

        >Probability Increase: 0



        As long as they were set to "copy" it worked fine, then i changed them to "copy and deny", but it behaves as a "deny" only.



        Thanks for your quick response!

        HP

        • Re:

          By Tom Lyne 2 decades ago

          could you post your configuration from notes.ini for the config database, you could also post the result of the show conf smtp.kspam.* command.



          also, set ks_debug=1 in the notes.ini file, and let the server run for a while, then send me the resulting ks_log.txt file,

          -tom

          • requested infos

            By Hans-Peter Samberger 2 decades ago

            Hi,



            this is odd. There was -no- KS_* entry in my server notes.ini ?!

            I have now entered them manually accoring to the settings in the config doc and the help html.



            Stats show:

            SMTP.kSpam.Allow = 67

            SMTP.kSpam.Bayesian.Action = Mark

            SMTP.kSpam.Bayesian.Boundary = 90

            SMTP.kSpam.Bayesian.Filter = Off

            SMTP.kSpam.Bayesian.Mark = On

            SMTP.kSpam.Bayesian.Prep = Off

            SMTP.kSpam.Bayesian.Prep_2 = Off

            SMTP.kSpam.Bayesian.Ratio = 10

            SMTP.kSpam.Conf.AddRecipientsItem = On

            SMTP.kSpam.Conf.Debug = Off

            SMTP.kSpam.Conf.DefaultAction = Mark

            SMTP.kSpam.Conf.DefaultProbIncrease = 0

            SMTP.kSpam.Conf.FilterFromInt = Off

            SMTP.kSpam.Conf.IID = Grgde

            SMTP.kSpam.Conf.Mark = On

            SMTP.kSpam.Conf.MaxNumbersInFrom = 0

            SMTP.kSpam.Conf.MinFromLength = 0

            SMTP.kSpam.Conf.Reload = On

            SMTP.kSpam.CopiedAndDenied = 30

            SMTP.kSpam.LastMajorError = 09.06.2005 17:27:17: ERROR 10.1.5: NSFItemInfo failed (Note item not found)

            SMTP.kSpam.Marked = 46

            SMTP.kSpam.MarkError = 1

            SMTP.kSpam.Rule.10 = 1

            SMTP.kSpam.Rule.12 = 17

            SMTP.kSpam.Rule.13 = 13

            SMTP.kSpam.Rule.15 = 62

            SMTP.kSpam.Rule.16 = 2

            SMTP.kSpam.Rule.17 = 1

            SMTP.kSpam.Rule.18 = 6

            SMTP.kSpam.Rule.2 = 2

            SMTP.kSpam.Rule.20 = 10

            SMTP.kSpam.Rule.21 = 10

            SMTP.kSpam.Rule.22 = 4

            SMTP.kSpam.Rule.8 = 7

            SMTP.kSpam.Rule.9 = 9

            SMTP.kSpam.Version = 1.40 beta 0



            I have switched debug on, but i'll have to wait for the restart until tonight.



            Er - i know this is a newby question, but how do i post you the debug file? I can see not attachment option here and no email address in your profile…



            Sorry for being a pest… :-(

            HP

            • Re:

              By Tom Lyne 2 decades ago

              Don't worry about the absence of KS* settings in the notes.ini file, you can add the configuration to the notes.ini file OR the config DB.



              You can send me the ks_log.txt file, the address is:



              kspam tomlyne com



              -tom

              • solved

                By Hans-Peter Samberger 2 decades ago

                Tom,



                switching off the "add recepients" flag solved the problem.

                Thanks for your help.



                HP

                • SLES9 7.01

                  By VolkerBeton Schmidt 2 decades ago

                  I had to ensure that the smtp - task is loaded after kspam.



                  Can be testet by smtp quit , load smtp after starting kspam.



                  Cheers Volker

      • more details

        By Hans-Peter Samberger 2 decades ago

        I forgot to mention the config:

        Domino 6.5.4 engl. on W2K, kSpam 1.4b.



        If you want, i can provide you with a copy of my kspamconf.nsf, it's still very small since i just started testing.


        • HP