<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I think there is an auto learn functionality but it is not that
    transparent so I created my own script to achieve exactly this and
    more. It scans the mail folders and marks all messages in the spam
    folder as spam, and all other (excluding those in the deleted items
    folder) as non spam. This way a user can move the message out of the
    spam folder to an inbox and it will be picked up by the script and
    learned as "non spam". If a spam message has already been learned as
    spam it won't be touched then, but if it is moved out of the spam
    folder it will be "unlearned" and then "ham learned". Vice versa for
    a ham messages.<br>
    <br>
    This works quite well here.<br>
    <br>
    Regards,<br>
    Stefan<br>
    <br>
    <div class="moz-cite-prefix">On 9/05/2015 1:46 AM, Stelios A. wrote:<br>
    </div>
    <blockquote
cite="mid:CA+_OSjz7n=B3_vA6RS7+EJCMUXy+BuyDSXG+ELCLSEj8JFUxLw@mail.gmail.com"
      type="cite">
      <p dir="ltr">One more question please. Does the emails that marked
        in quarantine marked as spam also or it needs different setting
        in any file?</p>
      <p dir="ltr">I just need to get all of these under junk folder to
        avoid missing any in case of a false alarm.</p>
      <p dir="ltr">Thanks</p>
      <div class="gmail_quote">On 8 May 2015 18:38, "Ed Huott" <<a
          moz-do-not-send="true" href="mailto:ehuott@huott.org">ehuott@huott.org</a>>
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div text="#000000" bgcolor="#FFFFFF"> Ditto for me when I
            first started working with Roundcube. It might be nice if
            they could find a way to make this aspect of the UI a little
            more clear...<br>
            <br>
            Cheers!<br>
            Ed Huott<br>
            <br>
            <div>On 2015-05-08 06:09, Stefan Froehlich wrote:<br>
            </div>
            <blockquote type="cite"> No worries. I was stumbling at the
              same spot ... a while ago.<br>
              <br>
              Cheers,<br>
              Stefan Fröhlich<br>
              42 ;-)<br>
              <br>
              <div>On 7/05/2015 8:58 PM, Stelios A. wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>I feel so stupid...I had the main filter set
                    disabled.....<br>
                    <br>
                  </div>
                  Thanks a lot<br>
                  <div class="gmail_extra"><br clear="all">
                    <div>
                      <div>
                        <div dir="ltr">
                          <div>Stelios</div>
                        </div>
                      </div>
                    </div>
                    <br>
                    <div class="gmail_quote">On 6 May 2015 at 23:44,
                      Stefan Froehlich <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:stefan@ffa-it.com.au"
                          target="_blank">stefan@ffa-it.com.au</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        <div bgcolor="#FFFFFF" text="#000000"> I cannot
                          see wether the filter set "Roundcube" is
                          enabled or not. Please check and confirm. If
                          it is enabled there is something wrong with
                          your sieve filter setup.<span><br>
                            <br>
                            MfG Stefan Fröhlich<br>
                            42 ;-)<br>
                            <br>
                          </span>
                          <div>
                            <div>
                              <div>On 7/05/2015 5:05 AM, Stelios A.
                                wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">Yes it is, see attached
                                  screenshots in case I'm missing
                                  anything.<br>
                                  <div class="gmail_extra"><br
                                      clear="all">
                                    <div>
                                      <div>
                                        <div dir="ltr">
                                          <div>Stelios</div>
                                        </div>
                                      </div>
                                    </div>
                                    <br>
                                    <div class="gmail_quote">On 6 May
                                      2015 at 04:44, Stefan Froehlich <span
                                        dir="ltr"><<a
                                          moz-do-not-send="true"
                                          href="mailto:stefan@ffa-it.com.au"
                                          target="_blank">stefan@ffa-it.com.au</a>></span>
                                      wrote:<br>
                                      <blockquote class="gmail_quote"
                                        style="margin:0 0 0
                                        .8ex;border-left:1px #ccc
                                        solid;padding-left:1ex">
                                        <div bgcolor="#FFFFFF"
                                          text="#000000"> Is the filter
                                          set enabled? Is the filter
                                          within the filter set enabled?<span><br>
                                            <br>
                                            MfG Stefan Fröhlich<br>
                                            42 ;-)<br>
                                            <br>
                                          </span>
                                          <div>
                                            <div>
                                              <div>On 6/05/2015 4:51 AM,
                                                Stelios A. wrote:<br>
                                              </div>
                                              <blockquote type="cite">
                                                <div dir="ltr">I've
                                                  created the filters
                                                  but still doesn't
                                                  work, it doesn't
                                                  filter anything and
                                                  keeps the messages in
                                                  inbox.<br>
                                                  <br>
                                                </div>
                                                <div class="gmail_extra"><br
                                                    clear="all">
                                                  <div>
                                                    <div>
                                                      <div dir="ltr">
                                                        <div>Stelios</div>
                                                      </div>
                                                    </div>
                                                  </div>
                                                  <br>
                                                  <div
                                                    class="gmail_quote">On
                                                    5 May 2015 at 06:23,
                                                    Stefan Froehlich <span
                                                      dir="ltr"><<a
                                                        moz-do-not-send="true"
href="mailto:stefan@ffa-it.com.au" target="_blank">stefan@ffa-it.com.au</a>></span>
                                                    wrote:<br>
                                                    <blockquote
                                                      class="gmail_quote"
                                                      style="margin:0 0
                                                      0
                                                      .8ex;border-left:1px
                                                      #ccc
                                                      solid;padding-left:1ex">
                                                      <div
                                                        bgcolor="#FFFFFF"
                                                        text="#000000">
                                                        I've done this:<br>
                                                        Change line with
$sa_tag_level_deflt:<br>
                                                        $sa_tag_level_deflt
                                                        = -99; # We ant
                                                        to tag ALL
                                                        messages<br>
                                                        <br>
                                                        This step is not
                                                        really necessary
                                                        for your issue
                                                        but I needed it
                                                        for other
                                                        reasons. I wrote
                                                        an auto
                                                        learn/unlearn
                                                        script so users
                                                        can move mails
                                                        out of the junk
                                                        folder and learn
                                                        them as "not
                                                        spam" and vice
                                                        versa.<br>
                                                        <br>
                                                        Then create
                                                        sieve script in
                                                        roundcube:<br>
                                                        Goto
                                                        settings->Filters.
                                                        Create a new
                                                        filter set or
                                                        add to the
                                                        default existing
                                                        one:<br>
                                                        Filter name:
                                                        SpamMove<br>
                                                        X matching any
                                                        of the following
                                                        rules<br>
                                                        X-Spam-Flag    
                                                        is eqqual to YES<br>
                                                        <br>
                                                        Move message to
                                                        Junk<br>
                                                        Stop evaluating
                                                        rules<br>
                                                        <br>
                                                        This works as
                                                        expected on my
                                                        system.<br>
                                                        <br>
                                                        MfG Stefan
                                                        Fröhlich<br>
                                                        42 ;-)
                                                        <div>
                                                          <div><br>
                                                          <br>
                                                          <div>On
                                                          5/05/2015 4:43
                                                          AM, Stelios A.
                                                          wrote:<br>
                                                          </div>
                                                          </div>
                                                        </div>
                                                        <blockquote
                                                          type="cite">
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>Hi all,<br>
                                                          <br>
                                                          </div>
                                                          Its been a
                                                          real pain to
                                                          setup Kolab to
                                                          do some basic
                                                          filtering for
                                                          spam. I've
                                                          read lots of
                                                          times all docs
                                                          about spamming
                                                          but most of
                                                          them are
                                                          either out of
                                                          date or based
                                                          on old
                                                          versions with
                                                          different
                                                          paths etc.<br>
                                                          <br>
                                                          </div>
                                                          I've already
                                                          created a
                                                          shared folder
                                                          called spam
                                                          and made the
                                                          changes to add
                                                          the title
                                                          *****SPAM*****
                                                          in from of any
                                                          suspicious
                                                          email which
                                                          works fine.
                                                          What I'm
                                                          trying to
                                                          figure is how
                                                          to move
                                                          automatically
                                                          those emails
                                                          to spam
                                                          folder. I can
                                                          then look once
                                                          in a while if
                                                          there is any
                                                          normal email
                                                          on that
                                                          folder.<br>
                                                          <br>
                                                          </div>
                                                          Tried to use
                                                          filters via
                                                          roundcube but
                                                          they don't
                                                          work,
                                                          everything
                                                          that comes it
                                                          stays in
                                                          inbox.<br>
                                                          <br>
                                                          </div>
                                                          Any help is
                                                          much
                                                          appreciated.<br>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div><br
                                                          clear="all">
                                                          <div>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>Stelios</div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <fieldset></fieldset>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          <span>
                                                          <pre>_______________________________________________
users mailing list
<a moz-do-not-send="true" href="mailto:users@lists.kolab.org" target="_blank">users@lists.kolab.org</a>
<a moz-do-not-send="true" href="https://lists.kolab.org/mailman/listinfo/users" target="_blank">https://lists.kolab.org/mailman/listinfo/users</a></pre>
                                                          </span></blockquote>
                                                        <br>
                                                      </div>
                                                      <br>
_______________________________________________<br>
                                                      users mailing list<br>
                                                      <a
                                                        moz-do-not-send="true"
href="mailto:users@lists.kolab.org" target="_blank">users@lists.kolab.org</a><br>
                                                      <a
                                                        moz-do-not-send="true"
href="https://lists.kolab.org/mailman/listinfo/users" target="_blank">https://lists.kolab.org/mailman/listinfo/users</a><br>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </div>
                                              </blockquote>
                                              <br>
                                            </div>
                                          </div>
                                        </div>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                </div>
                              </blockquote>
                              <br>
                            </div>
                          </div>
                        </div>
                        <br>
                        _______________________________________________<br>
                        users mailing list<br>
                        <a moz-do-not-send="true"
                          href="mailto:users@lists.kolab.org"
                          target="_blank">users@lists.kolab.org</a><br>
                        <a moz-do-not-send="true"
                          href="https://lists.kolab.org/mailman/listinfo/users"
                          target="_blank">https://lists.kolab.org/mailman/listinfo/users</a><br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </blockquote>
              <br>
            </blockquote>
            <br>
          </div>
          <br>
          _______________________________________________<br>
          users mailing list<br>
          <a moz-do-not-send="true" href="mailto:users@lists.kolab.org">users@lists.kolab.org</a><br>
          <a moz-do-not-send="true"
            href="https://lists.kolab.org/mailman/listinfo/users"
            target="_blank">https://lists.kolab.org/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>