Problem with .sieve rules file

Discussion in 'General' started by willieram, Jan 12, 2014.

  1. willieram

    willieram New Member

    Hi, I am using ISPConfig in Ubuntu 12.04 with Dovecot and while testing some redirect rules, I could not get the mails to redirect.

    When I looked into the syslog, I found
     dovecot: lda([email protected]): Error: sieve: failed to open script /var/vmail/tld/user/.sieve (view user logfile /var/vmail/tld/user/.sieve.log for more information)
    So I looked onto the log and I found that the .sieve rules file is stored with root:root ownership and was unaccessible to dovecot, as when I changed ownershi to vmail:vmail (as in the rest of the files on that folder) it went ok.

    Is this a bug or I should do anything on my end?

    Best regards,
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I just checked it here, the permissions on my server are:

    -rw-r--r-- 1 root root 77 Sep 10 2012 .sieve
    -rw-r--r-- 1 vmail vmail 120 Sep 10 2012 .sieve.svbin

    and it is working well as you can see that sieve created the svbin file successfully and the .sieve file is readable for the vmail user. Nevertheless we should change it to user vmail in case that somone want to use managesieve extension and not ispconfig to manage the rules.

Share This Page