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

Should I discuss the type of campaign with my players?

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

How come Sam didn't become Lord of Horn Hill?

What does F' and F" mean?

Why do we bend a book to keep it straight?

What is known about the Ubaid lizard-people figurines?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Storing hydrofluoric acid before the invention of plastics

Should I use a zero-interest credit card for a large one-time purchase?

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

What causes the vertical darker bands in my photo?

Sci-Fi book where patients in a coma ward all live in a subconscious world linked together

At the end of Thor: Ragnarok why don't the Asgardians turn and head for the Bifrost as per their original plan?

Why are Kinder Surprise Eggs illegal in the USA?

How do I keep my slimes from escaping their pens?

Extract all GPU name, model and GPU ram

What does an IRS interview request entail when called in to verify expenses for a sole proprietor small business?

Seeking colloquialism for “just because”

What does this icon in iOS Stardew Valley mean?

Check which numbers satisfy the condition [A*B*C = A! + B! + C!]

List *all* the tuples!

Understanding Ceva's Theorem

What exactly is a "Meth" in Altered Carbon?

How to tell that you are a giant?



Roundcube filter set by ManagedSieve 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!LDAP based virtual domain set-up for DovecotThunderbird doesn't show folders on a new Dovecot installUnable to receive any emails using postfix, dovecot, mysql, and virtual domain/mailboxesPostfix/Dovecot support multiple domainsRelay access denied when not send from server itselfvacation feature horde5, dovecot2, sieveDovecot Quotas are not recalculated nor is mail rejected if quota is exceededwarning: /usr/lib/postfix/smtpd: bad command startup — throttlingDovecot – Can send, not receive mail (visable in mail queue) Where is email?Postifx Dovecot lmtp, sieve not working





.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 ManagedSieved. The debug log says the user has no personal scripts. I have specified the user script location as:



sieve = /var/mail/vhosts/%d/%u/sieve/*.sieve


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 ManagedSieved. The debug log says the user has no personal scripts. I have specified the user script location as:



    sieve = /var/mail/vhosts/%d/%u/sieve/*.sieve


    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 ManagedSieved. The debug log says the user has no personal scripts. I have specified the user script location as:



      sieve = /var/mail/vhosts/%d/%u/sieve/*.sieve


      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 ManagedSieved. The debug log says the user has no personal scripts. I have specified the user script location as:



      sieve = /var/mail/vhosts/%d/%u/sieve/*.sieve


      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 4 mins ago







      Vietyank

















      asked 2 hours 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-managedsieve-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-managedsieve-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

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

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

          Українські прізвища Зміст Історичні відомості |...