Re: Sieve/Vacation
"Dr. Thorsten Brandau via Info" <[email protected]> Thu, 28 Aug 2025 18:28:34 +0200
| Newsgroups | gmane.mail.imap.cyrus |
|---|---|
| Message-ID | <[email protected]> |
I was able to get a bit deeper into the problem. When I add an filter or a vacation script via my groupware this script is generated in the imap/user folders under "#sieve": ->->->-> From: <xxxx@host> Subject: xxxx Date: Thu, 28 Aug 2025 09:19:23 +0200 Message-ID: <xxxxx> Content-Type: application/sieve; charset=utf-8 Content-Length: 1459 Content-Disposition: attachment; filename="e97d1b4e-7f1b-4d6a-85b6-0d0209482fc4.sieve" MIME-Version: 1.0 #Mail filter rules for xxxx #Generated by xxxx using Mail 23.1 require ["fileinto","regex","vacation","body","date","relational","variables","imap4flags","envelope","editheader"]; set "action" "inbox"; if allof (address :contains ["From"] "[email protected]") { fileinto "INBOX/Nuclos"; set "action" "folder"; } if header :regex "X-Spam-Status" "\\bYES\\b"{ stop; } if anyof (address :contains ["To","TO","Cc","CC"] "[email protected]", address :contains ["To","TO","Cc","CC"] "[email protected]", address :conta ins ["To","TO","Cc","CC"] "[email protected]", address :contains ["To","TO","Cc","CC"] "[email protected]") { redirect "[email protected]"; if string :is "${action}" "inbox" { keep; } } vacation :days 3 :addresses ["[email protected]"] text: I am currently out of the office with limited email access. Answers may be delayed. In urgent cases, please contact my office at +49 xxxxxxxx . ; ##PSEUDO script start #rule&&1&&ENABLED&&[email protected]&&&&&&folder&&INBOX/Nuclos&&0&&&&&& #vacation&&3&&"[email protected]"&&I am currently out of the office with l imited email access. Answers may be delayed. In urgent cases, please contact my office at +49 xxxx.&&on&&[email protected]&¬ice+store #mode&&basic <-<-<-<- The compiled bytecode can be found at sieve/x/xuser/default.bc->xuser.bc Now, the fun thing is: The filter works. The bad thing is, vacation does not. I checked the "required plugins" and specifically added them to my imap.conf: ->->-> autocreate_sieve_script: 1 sieve_extensions: body fileinto reject vacation vacation-seconds notify include envelope environment body relational regex subaddress copy date index imap4flags mailbox mboxmetadata servermetadata variables editheader extlists duplicate ihave fcc special-use redirect-dsn redirect-deliverby mailboxid <-<-<- So I am really baffled. Is there aynthing wrong with the script generated by the groupware? Am I missing a plugin? Or a setting of the server? Bottom line: I can see that sieve is working. And is used (despite any error message the groupware pops up). Filters work fine. Vacation does not. I do not see any error message on the cyrus host log. Any ideas what the problem is? Thank you. TB ------------------------------------------ Cyrus: Info Permalink: https://cyrus.topicbox.com/groups/info/Ta4efc40124588ec6-M6de7dec612a8f41e374afaa5 Delivery options: https://cyrus.topicbox.com/groups/info/subscription