Sieve max redirected actions hardcoded?

Discussion in 'General' started by emanuelebruno, Nov 26, 2013.

  1. emanuelebruno

    emanuelebruno Member

    Hi,
    trying to insert 5 redirect actions exceeds policy limit (I looked /var/mail/miodominio.it/webmaster/.sieve.log

    So I modifyed /etc/dovecot/conf.d/90-sieve.conf in this way:

    sieve_max_redirects = 32

    After that I have executed the command :

    stop dovecot ; start dovecot

    But it doesn't work...

    The script that I'm trying to instruct in sieve is this:

    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    redirect "[email protected]";
    keep;

    Can you help me?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The file /etc/dovecot/conf.d/90-sieve.conf is not used. You have to modify the dovecot.conf file.
     
  3. emanuelebruno

    emanuelebruno Member

    Sorry, but modifying /etc/dovecot/dovecot.conf and adding the code

    sieve_max_redirects = 32

    and restarting the service

    /etc/init.d/dovecot restart

    It stops to work... any idea?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    And which error does dovecot write to the mail.log?
     
  5. emanuelebruno

    emanuelebruno Member

    Feb 27 11:32:45 server1 dovecot: auth: Error: read(anvil-auth-penalty) failed: EOF
    Feb 27 11:32:51 server1 in.imapproxyd[1301]: Get_Server_conn(): Unable to reuse server sd [10] for user '[email protected]' (127.0.0.1:46140). Connection closed by server.
    Feb 27 11:32:51 server1 in.imapproxyd[1301]: LOGIN: '[email protected]' (127.0.0.1:46140) failed: Unable to connect to IMAP server: Connection refused
    Feb 27 11:32:51 server1 in.imapproxyd[1301]: IMAP_Line_Read(): connection closed prematurely.
     
  6. desire.levi

    desire.levi New Member

    I have the same problem, i update the /etc/dovecot/dovecot.conf like this
    plugin {
    quota = dict:user::file:/var/vmail/%d/%n/.quotausage
    sieve=/var/vmail/%d/%n/.sieve
    sieve_max_redirects = 25
    }
    but when i try restarting the server i got this error :
    doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 49: Unknown setting: sieve_max_redirects
    [....] Restarting IMAP/POP3 mail server: dovecotdoveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf line 49: Unknown setting: sieve_max_redirects
    failed!
     

Share This Page