Dovecot/Sieve usage information needed

  • Hi


    I installed a brand new server with M-ISCP (1.0.3.0) and it's working great so far.


    So as we have Dovecot out of the box, how can I use Sieve exactly?


    I tried this link (http://wiki.i-mscp.net/doku.ph…vecot_plus_database_quota) and it's said one should check the global file /etc/dovecot/sieve/dovecot.sieve. But on my system it's not there.


    So the questions would be,
    - is Sieve already activated or how can I activate it?
    - where should the Sieve scripts for the mailusers be placed?
    - could we have a Sieve client in Squirrelmail (nice to have)?



    Muesli

    Edited once, last by Muesli ().


  • You're right, It's not created by deafault, I'll try to fix this, meanwhile the default sieve file should have this config.

    Code
    1. require "fileinto";
    2. if exists "X-Spam-Flag" {
    3. if header :contains "X-Spam-Flag" "YES" {
    4. fileinto "INBOX.Junk";
    5. stop;
    6. }
    7. }


    So the questions would be,

    Quote

    - is Sieve already activated or how can I activate it?


    Yes, it's activated but at the moment there's no default config, it should be fixed..

    Quote

    - where should the Sieve scripts for the mailusers be placed?


    In their homes (%h variable) with a file called .dovecot.sieve

    Quote

    - could we have a Sieve client in Squirrelmail (nice to have)?


    Squirrelmail will be dropped on a future version and replaced with roundcube, so the solution should be searched as a roundcube plugin.


    NOTE: I'll try to fix the dovecot document asap
    NOTE2: There are some improvements in dovecot on a branch here

  • I thank you very much for this great answer.


    I also found out that I can access ManageSieve using port 2000. It's working fine with the Thunderbird Plugin.


    Thanks a lot!

  • Hello,
    i will start here again, while i updated from courier to dovecot with success. as i now wanted to add the serverside filtering of spam like it is describted in the wiki, i dindt found the "/etc/dovecot/sieve/dovecot.sieve" to. @aseques you want to fix something and change the wiki, when? and what must i do to use sieve in i-mscp now? thx