Roundcube filter set by ManageSieve not being found Announcing the arrival of Valued Associate...

What is the role of the transistor and diode in a soft start circuit?

List of Python versions

What is the meaning of the new sigil in Game of Thrones Season 8 intro?

How to align text above triangle figure

The logistics of corpse disposal

What's the purpose of writing one's academic biography in the third person?

Echoing a tail command produces unexpected output?

2001: A Space Odyssey's use of the song "Daisy Bell" (Bicycle Built for Two); life imitates art or vice-versa?

How discoverable are IPv6 addresses and AAAA names by potential attackers?

Why do people hide their license plates in the EU?

How to react to hostile behavior from a senior developer?

Seeking colloquialism for “just because”

Why aren't air breathing engines used as small first stages

English words in a non-english sci-fi novel

Is it fair for a professor to grade us on the possession of past papers?

How to call a function with default parameter through a pointer to function that is the return of another function?

Is the Standard Deduction better than Itemized when both are the same amount?

How to tell that you are a giant?

Output the ŋarâþ crîþ alphabet song without using (m)any letters

How can I make names more distinctive without making them longer?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What is a non-alternating simple group with big order, but relatively few conjugacy classes?

How to answer "Have you ever been terminated?"

Naming the result of a source block



Roundcube filter set by ManageSieve not being found



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!Dovecot sieve not processing messagesAdd a per-domain filter in sievePostfix and Dovecot Sieve spam filter does not worksieve-test working but actual filter is just working sometimes with dovecotdovecot: pigeonhole sieve daemon not startingroundcube password plugin not updatingCant send message by outlook, roundcube worksHow can I export message filters from roundcube?Roundcube keeps loading when trying to make a new filter with managesieveDovecot Sieve and :output variable for execute adding invalid character





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I'm a newbie to ManagedSieve and thought I had it working earlier this week but now it is not.



I have the following test script created by Roundcube. Its name is roundcube.sieve:



require ["imap4flags"];
# rule:[Flag Test]
if allof (header :contains "subject" "flagged")
{
setflag "\Flagged";
}


I have debugging on and saw messages like this in the log:



Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: file storage: Storage path
`/var/mail/vhosts/vietfeir.com/d0325mgray/.dovecot.sieve' not found
Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no active script i
n storage `/var/mail/vhosts/vietfeir.com/d0325mgray/sieve'
Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no personal script


The Roundcube script I created is definitely stored in the path for the user so I don't know why it is reporting that it is not.



The before.sieve script is being executed with no problem.



Output of dovecot -n:



# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.21 (92477967)
# OS: Linux 4.15.0-47-generic x86_64 Ubuntu 18.04.2 LTS ext4
auth_mechanisms = plain login
log_path = /var/log/dovecot.log
mail_location = maildir:/var/mail/vhosts/%d/%n/
mail_privileged_group = mail
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = Drafts
}
mailbox Junk {
special_use = Junk
}
mailbox Sent {
special_use = Sent
}
mailbox "Sent Messages" {
special_use = Sent
}
mailbox Spam {
auto = subscribe
special_use = Junk
}
mailbox Trash {
special_use = Trash
}
prefix =
}
passdb {
args = /etc/dovecot/deny-users
deny = yes
driver = passwd-file
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
sieve_before = /var/mail/before.sieve
sieve_extensions = +notify +imapflags
sieve_trace_dir = /var/mail
sieve_trace_level = matching
}
postmaster_address = dev@vietfeir.com
protocols = imap lmtp sieve
service auth-worker {
user = vmail
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0666
user = postfix
}
unix_listener auth-userdb {
mode = 0600
user = vmail
}
user = dovecot
}
service imap-login {
inet_listener imap {
port = 0
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service lmtp {
unix_listener /var/spool/postfix/private/dovecot-lmtp {
group = postfix
mode = 0600
user = postfix
}
}
service pop3-login {
inet_listener pop3 {
port = 0
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl = required
ssl_cert = </etc/letsencrypt/live/civicrm.vietfeir.com/fullchain.pem
ssl_client_ca_dir = /etc/ssl/certs
ssl_key = # hidden, use -P to show it
userdb {
driver = passwd
}
userdb {
args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
driver = static
}
protocol lmtp {
mail_plugins = " sieve sieve"
}
protocol lda {
mail_plugins = " sieve"
}









share|improve this question































    0















    I'm a newbie to ManagedSieve and thought I had it working earlier this week but now it is not.



    I have the following test script created by Roundcube. Its name is roundcube.sieve:



    require ["imap4flags"];
    # rule:[Flag Test]
    if allof (header :contains "subject" "flagged")
    {
    setflag "\Flagged";
    }


    I have debugging on and saw messages like this in the log:



    Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: file storage: Storage path
    `/var/mail/vhosts/vietfeir.com/d0325mgray/.dovecot.sieve' not found
    Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no active script i
    n storage `/var/mail/vhosts/vietfeir.com/d0325mgray/sieve'
    Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no personal script


    The Roundcube script I created is definitely stored in the path for the user so I don't know why it is reporting that it is not.



    The before.sieve script is being executed with no problem.



    Output of dovecot -n:



    # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
    # Pigeonhole version 0.4.21 (92477967)
    # OS: Linux 4.15.0-47-generic x86_64 Ubuntu 18.04.2 LTS ext4
    auth_mechanisms = plain login
    log_path = /var/log/dovecot.log
    mail_location = maildir:/var/mail/vhosts/%d/%n/
    mail_privileged_group = mail
    managesieve_notify_capability = mailto
    managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify
    namespace inbox {
    inbox = yes
    location =
    mailbox Drafts {
    special_use = Drafts
    }
    mailbox Junk {
    special_use = Junk
    }
    mailbox Sent {
    special_use = Sent
    }
    mailbox "Sent Messages" {
    special_use = Sent
    }
    mailbox Spam {
    auto = subscribe
    special_use = Junk
    }
    mailbox Trash {
    special_use = Trash
    }
    prefix =
    }
    passdb {
    args = /etc/dovecot/deny-users
    deny = yes
    driver = passwd-file
    }
    passdb {
    args = /etc/dovecot/dovecot-sql.conf.ext
    driver = sql
    }
    plugin {
    sieve_before = /var/mail/before.sieve
    sieve_extensions = +notify +imapflags
    sieve_trace_dir = /var/mail
    sieve_trace_level = matching
    }
    postmaster_address = dev@vietfeir.com
    protocols = imap lmtp sieve
    service auth-worker {
    user = vmail
    }
    service auth {
    unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
    }
    unix_listener auth-userdb {
    mode = 0600
    user = vmail
    }
    user = dovecot
    }
    service imap-login {
    inet_listener imap {
    port = 0
    }
    inet_listener imaps {
    port = 993
    ssl = yes
    }
    }
    service lmtp {
    unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
    }
    }
    service pop3-login {
    inet_listener pop3 {
    port = 0
    }
    inet_listener pop3s {
    port = 995
    ssl = yes
    }
    }
    ssl = required
    ssl_cert = </etc/letsencrypt/live/civicrm.vietfeir.com/fullchain.pem
    ssl_client_ca_dir = /etc/ssl/certs
    ssl_key = # hidden, use -P to show it
    userdb {
    driver = passwd
    }
    userdb {
    args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
    driver = static
    }
    protocol lmtp {
    mail_plugins = " sieve sieve"
    }
    protocol lda {
    mail_plugins = " sieve"
    }









    share|improve this question



























      0












      0








      0








      I'm a newbie to ManagedSieve and thought I had it working earlier this week but now it is not.



      I have the following test script created by Roundcube. Its name is roundcube.sieve:



      require ["imap4flags"];
      # rule:[Flag Test]
      if allof (header :contains "subject" "flagged")
      {
      setflag "\Flagged";
      }


      I have debugging on and saw messages like this in the log:



      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: file storage: Storage path
      `/var/mail/vhosts/vietfeir.com/d0325mgray/.dovecot.sieve' not found
      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no active script i
      n storage `/var/mail/vhosts/vietfeir.com/d0325mgray/sieve'
      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no personal script


      The Roundcube script I created is definitely stored in the path for the user so I don't know why it is reporting that it is not.



      The before.sieve script is being executed with no problem.



      Output of dovecot -n:



      # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
      # Pigeonhole version 0.4.21 (92477967)
      # OS: Linux 4.15.0-47-generic x86_64 Ubuntu 18.04.2 LTS ext4
      auth_mechanisms = plain login
      log_path = /var/log/dovecot.log
      mail_location = maildir:/var/mail/vhosts/%d/%n/
      mail_privileged_group = mail
      managesieve_notify_capability = mailto
      managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify
      namespace inbox {
      inbox = yes
      location =
      mailbox Drafts {
      special_use = Drafts
      }
      mailbox Junk {
      special_use = Junk
      }
      mailbox Sent {
      special_use = Sent
      }
      mailbox "Sent Messages" {
      special_use = Sent
      }
      mailbox Spam {
      auto = subscribe
      special_use = Junk
      }
      mailbox Trash {
      special_use = Trash
      }
      prefix =
      }
      passdb {
      args = /etc/dovecot/deny-users
      deny = yes
      driver = passwd-file
      }
      passdb {
      args = /etc/dovecot/dovecot-sql.conf.ext
      driver = sql
      }
      plugin {
      sieve_before = /var/mail/before.sieve
      sieve_extensions = +notify +imapflags
      sieve_trace_dir = /var/mail
      sieve_trace_level = matching
      }
      postmaster_address = dev@vietfeir.com
      protocols = imap lmtp sieve
      service auth-worker {
      user = vmail
      }
      service auth {
      unix_listener /var/spool/postfix/private/auth {
      group = postfix
      mode = 0666
      user = postfix
      }
      unix_listener auth-userdb {
      mode = 0600
      user = vmail
      }
      user = dovecot
      }
      service imap-login {
      inet_listener imap {
      port = 0
      }
      inet_listener imaps {
      port = 993
      ssl = yes
      }
      }
      service lmtp {
      unix_listener /var/spool/postfix/private/dovecot-lmtp {
      group = postfix
      mode = 0600
      user = postfix
      }
      }
      service pop3-login {
      inet_listener pop3 {
      port = 0
      }
      inet_listener pop3s {
      port = 995
      ssl = yes
      }
      }
      ssl = required
      ssl_cert = </etc/letsencrypt/live/civicrm.vietfeir.com/fullchain.pem
      ssl_client_ca_dir = /etc/ssl/certs
      ssl_key = # hidden, use -P to show it
      userdb {
      driver = passwd
      }
      userdb {
      args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
      driver = static
      }
      protocol lmtp {
      mail_plugins = " sieve sieve"
      }
      protocol lda {
      mail_plugins = " sieve"
      }









      share|improve this question
















      I'm a newbie to ManagedSieve and thought I had it working earlier this week but now it is not.



      I have the following test script created by Roundcube. Its name is roundcube.sieve:



      require ["imap4flags"];
      # rule:[Flag Test]
      if allof (header :contains "subject" "flagged")
      {
      setflag "\Flagged";
      }


      I have debugging on and saw messages like this in the log:



      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: file storage: Storage path
      `/var/mail/vhosts/vietfeir.com/d0325mgray/.dovecot.sieve' not found
      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no active script i
      n storage `/var/mail/vhosts/vietfeir.com/d0325mgray/sieve'
      Apr 17 10:11:10 lmtp(d0325mgray@vietfeir.com): Debug: 0B58A06ZtlzrbAAAywx1xA: sieve: User has no personal script


      The Roundcube script I created is definitely stored in the path for the user so I don't know why it is reporting that it is not.



      The before.sieve script is being executed with no problem.



      Output of dovecot -n:



      # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
      # Pigeonhole version 0.4.21 (92477967)
      # OS: Linux 4.15.0-47-generic x86_64 Ubuntu 18.04.2 LTS ext4
      auth_mechanisms = plain login
      log_path = /var/log/dovecot.log
      mail_location = maildir:/var/mail/vhosts/%d/%n/
      mail_privileged_group = mail
      managesieve_notify_capability = mailto
      managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date index ihave duplicate mime foreverypart extracttext imapflags notify
      namespace inbox {
      inbox = yes
      location =
      mailbox Drafts {
      special_use = Drafts
      }
      mailbox Junk {
      special_use = Junk
      }
      mailbox Sent {
      special_use = Sent
      }
      mailbox "Sent Messages" {
      special_use = Sent
      }
      mailbox Spam {
      auto = subscribe
      special_use = Junk
      }
      mailbox Trash {
      special_use = Trash
      }
      prefix =
      }
      passdb {
      args = /etc/dovecot/deny-users
      deny = yes
      driver = passwd-file
      }
      passdb {
      args = /etc/dovecot/dovecot-sql.conf.ext
      driver = sql
      }
      plugin {
      sieve_before = /var/mail/before.sieve
      sieve_extensions = +notify +imapflags
      sieve_trace_dir = /var/mail
      sieve_trace_level = matching
      }
      postmaster_address = dev@vietfeir.com
      protocols = imap lmtp sieve
      service auth-worker {
      user = vmail
      }
      service auth {
      unix_listener /var/spool/postfix/private/auth {
      group = postfix
      mode = 0666
      user = postfix
      }
      unix_listener auth-userdb {
      mode = 0600
      user = vmail
      }
      user = dovecot
      }
      service imap-login {
      inet_listener imap {
      port = 0
      }
      inet_listener imaps {
      port = 993
      ssl = yes
      }
      }
      service lmtp {
      unix_listener /var/spool/postfix/private/dovecot-lmtp {
      group = postfix
      mode = 0600
      user = postfix
      }
      }
      service pop3-login {
      inet_listener pop3 {
      port = 0
      }
      inet_listener pop3s {
      port = 995
      ssl = yes
      }
      }
      ssl = required
      ssl_cert = </etc/letsencrypt/live/civicrm.vietfeir.com/fullchain.pem
      ssl_client_ca_dir = /etc/ssl/certs
      ssl_key = # hidden, use -P to show it
      userdb {
      driver = passwd
      }
      userdb {
      args = uid=vmail gid=vmail home=/var/mail/vhosts/%d/%n
      driver = static
      }
      protocol lmtp {
      mail_plugins = " sieve sieve"
      }
      protocol lda {
      mail_plugins = " sieve"
      }






      dovecot sieve






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 2 mins ago







      Vietyank

















      asked 44 mins ago









      VietyankVietyank

      1035




      1035






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963403%2froundcube-filter-set-by-managesieve-not-being-found%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963403%2froundcube-filter-set-by-managesieve-not-being-found%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Фонтен-ла-Гаярд Зміст Демографія | Економіка | Посилання |...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...