+ Reply to Thread
Page 7 of 34 FirstFirst ... 5 6 7 8 9 17 ... LastLast
Results 61 to 70 of 335

Thread: Sieverules plugin

  1. #61
    timtraver is offline Registered User
    Join Date
    Jan 2009
    Posts
    36
    Downloads
    4
    Uploads
    0

    Default

    JohnDoe,

    ok, let me update that previous post...

    It appears that you were checking on the address portion of that field, so maybe it would actually be better to have it like this :

    'from' => 'header::From',

    so that it checks the entire header field named From for a string.

    Also, although you have individual entries for each of the To, Cc and Bcc, I know that you can combine them into a singal rule when writing out the sieve rule that looks something like this :

    address :contains ["To", "Cc", "Bcc"] "me@address.com"So, maybe in your header selection, you could somehow put that labeled as the option of "Any Recipient". The same may go for "Any Sender"?Tim.

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

    Default

    Quote Originally Posted by fgh View Post
    roundcubemail-0.3-RC1 sieverules.0_3b
    timtraver is right, I suggest you try the sieverules.0_3rc1 version and see if the problem still occurs

    Quote Originally Posted by timtraver View Post
    I think you actually meant that field to be a comparator of the "From" field so that when the managesieve writes out the rule, it uses the "From" header, as I do not believe there is a "Sender" header in most emails.
    i have had discussions about this before and different people think it should do different things. thats why i made it really easy to change, those headers are set in an array at the top of sieverules.php and you can make it what ever you want.

    Quote Originally Posted by timtraver View Post
    So, maybe in your header selection, you could somehow put that labeled as the option of "Any Recipient". The same may go for "Any Sender"?Tim.
    this sounds interesting, i shall stick it on my list of things to look at

    also the thing about the vacation subject message, yea i knew about that. I think I changed my mind half way though and then forgot to take it out everywhere - it was fixed already in rc1 but thanks for letting me know.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  3. #63
    fms
    fms is offline Registered User
    Join Date
    Jun 2009
    Location
    Gramado/RS - Brasil
    Posts
    13
    Downloads
    1
    Uploads
    0

    Default ManageSieve howto for RoundCube??

    Hi All.

    I'm trying to understand how to put sieve/managesieve in action on my server.

    I'm running FreeBSD + PostFix + Dovecot + RoundCube

    I activated managesieve plugin, but when I try to access it from RC, I receive the error: cant connect to managesieve server on port 2000.
    Francisco

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

    Default

    hi,

    you need to make sure managesieve is running on your server and that any firewall is allowing connections to it, try telnetting from the machine running RC to your mail server on port 2000 or may be check you dovecot config make sure managesieve isnt running on a different port.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  5. #65
    Rando is offline Roundcube Newcomer
    Join Date
    Sep 2009
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default

    Hello,
    it seems that the vacation filter isn't created with a default "addresses" value. the aliases help seems to say it should use the "main address".

    Is there a way to automatically add the default identity email address or automatically check all aliases (from the advanced options) for the vacation filter to work out of the box ?
    (without "addresses", sieve won't use the filter)

    thank you for this great plugin,
    R.

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

    Default

    The address option is optional, I checked it with my sieve just now and according to the RFC as well. what imap/sieve server are you using?

    If you want to make them all checked by default its easy enough, you'll find where they are generated in sieverules.php around line 1294,

    Code:
     $curaddress = in_array($sql_arr['email'], $vacto_arr) ? $sql_arr['email'] : "";
    and just change it to

    Code:
     $curaddress = $sql_arr['email'];
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  7. #67
    Rando is offline Roundcube Newcomer
    Join Date
    Sep 2009
    Posts
    7
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by JohnDoh View Post
    Code:
     $curaddress = $sql_arr['email'];
    thanks, it works.

    Quote Originally Posted by JohnDoh View Post
    The address option is optional, I checked it with my sieve just now and according to the RFC as well. what imap/sieve server are you using?
    vacation fails to work without "addresses" with
    dovecot 1.2.4
    sieve (not cmu) 0.1.11 or 0.1.12

    sieve 0.1.12 is truly interesting with its implementation of a "date" filter rule

  8. #68
    phraktyl is offline Registered User
    Join Date
    Sep 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Not importing default_file

    First, let me say that Sievefules has been great! I've got it to where I'm able to edit my rules without any problems and the setup has been straightforward so far. Well done!

    However, I'm having a problem getting it to import the default_file when a user doesn't have any previous rules setup.

    Here's the relevant portion of my setup:

    $sieverules_config['default_file'] = '/home/vmail/globalsieverc';
    $sieverules_config['auto_load_default'] = TRUE;


    I know the file exists and is readable, as it's the global sieve filter and it's processing other users' email. I've even used my own sieve file build with Sieverules to create the global file so it shouldn't have any issues importing it.

    I'm not finding any logs that would be useful in figuring out what the hang-up is. dovecot.log shows the managesieve portion but nothing is showing up in the Roundcube errors file.

    What am I missing?

    Thanks

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

    Default

    Thanks! I'm glad you like the plugin.

    Check the users .sieve folder on the server and make sure there is no roundcube.sieve file in there, the default file is only coppied if the user doesnt have a roundcube.sieve file. If they have simply deleted their existing rules and have an empty rule file then it will not be coppied.
    Roundcube Patches: Sieverules, SpamAssassin Prefs, and more…

  10. #70
    phraktyl is offline Registered User
    Join Date
    Sep 2009
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default

    Just checked. The mailboxes are virtual so I tried it both without the seive directory created at all, and with an empty directory. In both cases the directory showed up with a ./tmp subdirectory but no default rules.

+ Reply to Thread
Page 7 of 34 FirstFirst ... 5 6 7 8 9 17 ... 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