+ Reply to Thread
Page 25 of 34 FirstFirst ... 15 23 24 25 26 27 ... LastLast
Results 241 to 250 of 335

Thread: Sieverules plugin

  1. #241
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    thats great, thanks very much.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  2. #242
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    birger: the latest repo version of the plugin has an option to allow free entry of vacation aliases, it will work with 0.4-stable too.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  3. #243
    osterhase is offline Registered User
    Join Date
    Sep 2010
    Posts
    19
    Downloads
    0
    Uploads
    0

    Default Create Default Filter? CMUsieve / sieverules

    Hi there,

    I'am still hunting down my spam problems and need some help. What I basically want to acieve is, that if a message header contains X-Spam-Flag = Yes / or the message subject contains "[*****SPAM*****]" it should be moved to the Junk folder, but this should work "out of the box" - so the user should not have to create a Spam-Filter.

    I've realized user-filter via sieverules (Changelog 2010 07 03), cmusieve and dovecot 1.0.15 (I use debian lenny - so I'm bound to this version of dovecot). According to this post - it is not possible to apply a global sieverule with cmusieve, when userprefs exist. So I've to stick to the userprefs...

    Is there a possibility to create this default Filter? Can I achieve this by using the "$rcmail_config['sieverules_predefined_rules'] = array();" in config.inc.php ../sieverules?

    Thanks for any help!

    Best regards
    osterhase

  4. #244
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    It sounds like you want to use the sieverules_default_file option rather than the predefined rules, and set auto_load_default to true. then if/when a user opens the filter page they will see the spam rule already active.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  5. #245
    osterhase is offline Registered User
    Join Date
    Sep 2010
    Posts
    19
    Downloads
    0
    Uploads
    0

    Lightbulb

    Indeed. Thanks again.

  6. #246
    shaynej is offline Roundcube Newcomer
    Join Date
    Oct 2010
    Posts
    3
    Downloads
    1
    Uploads
    0

    Default latest sieverules and no Move Message To

    I had both a similar issue with Managesieve.

    There is no Move Message To action when I want to move a message to a specific mailbox.

    When I edit my Spam filter (which was made manually on the server) the action that shows up in the box is Redirect Message To and then a dropdown box containing all my IMAP folders.
    Trying to submit this fails saying to please enter an email address.

    I am using Dovecot 2.0.4 and the latest Dovecot Pigeonhole.

    Anyone got any pointers?

  7. #247
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    If you wrote the rule manually then chances are the plugin just doesnt understand it. If you post the rule I might be able to see the problem.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  8. #248
    shaynej is offline Roundcube Newcomer
    Join Date
    Oct 2010
    Posts
    3
    Downloads
    1
    Uploads
    0

    Default

    The rule is as follows:

    Code:
    require "fileinto";
    # rule:[Spam]
    if header :contains "X-Spam-Flag" "YES" {
      fileinto "Junk";
    }
    Even when I attempt to add a new rule I have no "move message to" to the action dropdown box. I have included a screen shot of what I mean.

    This is the all the relevant (that i can see) in the config file:
    Code:
    // allowed actions
    $rcmail_config['sieverules_allowed_actions'] = array(
                                                                           'fileinto' => TRUE,
                                                                           'vacation' => TRUE,
                                                                           'reject' => TRUE,
                                                                           'redirect' => TRUE,
                                                                           'keep' => TRUE,
                                                                           'discard' => TRUE,
                                                                           'imapflags' => TRUE,
                                                                           'notify' => TRUE,
                                                                           'stop' => TRUE
                                                                           );
    Attached Images

  9. #249
    JohnDoh is offline Super Moderator
    Join Date
    May 2007
    Posts
    1,206
    Downloads
    6
    Uploads
    0

    Default

    oh right, thats a different problem. your managesieve server is not returning fileinto in the list of supported extensions... if you telnet to to server you should see something like this:

    Code:
    "IMPLEMENTATION" "dovecot"
    "SASL" "PLAIN LOGIN"
    "SIEVE" "fileinto reject envelope vacation imapflags notify subaddress relational comparator-i;ascii-numeric regex"
    "STARTTLS"
    OK "Dovecot ready."
    see line 3 all the extensions support by the server are listed, the plugin checks these so it doesnt allow users to create rules which arent supported.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  10. #250
    shaynej is offline Roundcube Newcomer
    Join Date
    Oct 2010
    Posts
    3
    Downloads
    1
    Uploads
    0

    Default

    got it sorted thanks JohnDoh.

    telnet'ed to the managesieve server and got empty lines, so went back to read the documentation and this caught my eye.

    Code:
      # Explicitly specify the SIEVE and NOTIFY capability reported by the server before
      # login. If left unassigned these will be reported dynamically according to what
      # the Sieve interpreter supports by default (after login this may differ depending
      # on the user).
      #managesieve_sieve_capability =
      #managesieve_notify_capability =
    I had both lines uncommented without setting anything. Should really read the configuartion examples better before asking for help.

    Cheers again

+ Reply to Thread
Page 25 of 34 FirstFirst ... 15 23 24 25 26 27 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts