Paul Littlefield
2017-May-05 14:25 UTC
Can only enable Sieve scripts not edit them (Roundcube)
Hello, (my first post so be gentle) I will be posting this to the Roundcube mailing list too, but thought it worth asking here as well. I have a Roundcube installation running Apache with Dovecot and Sieve. When logged in to Roundcube, a user can see the Sieve scripts and enable or disable them but NOT edit them or create new scripts. In other words, Dovecot will happily EDIT the script to mark it as 'false' but will not edit the actual rules or create a new rule... e.g. require ["fileinto","vacation"]; # rule:[Out of Office] if false # true { vacation :days 1 :addresses "me at mydomain.com" :subject "Out of Office" :from "me at mydomain.com" "I am out of the office."; } # rule:[Spam] if header :contains "subject" "{Spam}" { fileinto "Spam"; } Any ideas? Thanks, -- Paul Littlefield
Nikolai Lusan
2017-May-05 17:25 UTC
Can only enable Sieve scripts not edit them (Roundcube)
Hi, On Fri, 2017-05-05 at 14:25 +0000, Paul Littlefield wrote:> I will be posting this to the Roundcube mailing list too, but thought > it worth asking here as well. > When logged in to Roundcube, a user can see the Sieve scripts and > enable or disable them but NOT edit them or create new scripts.There is a roundcube plugin to edit/create sieve rules, but it has some serious limitations (as I discovered when I let it loose on my nested if statements). I use the "sieverules" plugin. It works much like many of MUA tools to filter things into folders, you select the header you want to filter by, the content the filter is applied to, and where you want it to go ... in all it's fairly basic. You might want to look into other tools to edit your sieve rules, I haven't looked into other web based sieve editors, but either VIM, or the "managesieve" plugin to "claws-mail" are what I use.> In other words, Dovecot will happily EDIT the script to mark it as > 'false' but will not edit the actual rules or create a new rule...Dovecot doesn't actually edit your sieve rules, you do that via an outside method (text editor, MUA plugin ...) -- Nikolai Lusan <nikolai at lusan.id.au> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20170506/93d5b489/attachment.sig>
If it's feasible for you, try the 1.3-RC. Many improvements in the Sieve plugin (and other areas). hope this helps, Doug On 5/5/2017 7:25 AM, Paul Littlefield wrote:> Hello, > > (my first post so be gentle) > > I will be posting this to the Roundcube mailing list too, but thought it > worth asking here as well. > > I have a Roundcube installation running Apache with Dovecot and Sieve. > > When logged in to Roundcube, a user can see the Sieve scripts and enable > or disable them but NOT edit them or create new scripts. > > In other words, Dovecot will happily EDIT the script to mark it as > 'false' but will not edit the actual rules or create a new rule... > > e.g. > > require ["fileinto","vacation"]; > # rule:[Out of Office] > if false # true > { > vacation :days 1 :addresses "me at mydomain.com" :subject "Out of > Office" :from "me at mydomain.com" "I am out of the office."; > } > # rule:[Spam] > if header :contains "subject" "{Spam}" > { > fileinto "Spam"; > } > > Any ideas? > > Thanks, >
Paul Littlefield
2017-May-29 11:43 UTC
Can only enable Sieve scripts not edit them (Roundcube)
Hi Doug, Weirdly, a reboot fixed it. Paul On 29/05/17 04:05, Doug Barton wrote:> If it's feasible for you, try the 1.3-RC. Many improvements in the Sieve plugin (and other areas). > > hope this helps, > > Doug > > On 5/5/2017 7:25 AM, Paul Littlefield wrote: >> Hello, >> >> (my first post so be gentle) >> >> I will be posting this to the Roundcube mailing list too, but thought it worth asking here as well. >> >> I have a Roundcube installation running Apache with Dovecot and Sieve. >> >> When logged in to Roundcube, a user can see the Sieve scripts and enable or disable them but NOT edit them or create new scripts. >> >> In other words, Dovecot will happily EDIT the script to mark it as 'false' but will not edit the actual rules or create a new rule... >> >> e.g. >> >> require ["fileinto","vacation"]; >> # rule:[Out of Office] >> if false # true >> { >> vacation :days 1 :addresses "me at mydomain.com" :subject "Out of Office" :from "me at mydomain.com" "I am out of the office."; >> } >> # rule:[Spam] >> if header :contains "subject" "{Spam}" >> { >> fileinto "Spam"; >> } >> >> Any ideas? >> >> Thanks, >>-- Paul Littlefield Telephone: 07801 125705 Email: info at paully.co.uk Wiki: http://wiki.indie-it.com/wiki/Special:AllPages LinkedIn: https://uk.linkedin.com/in/paullittlefield Paul Littlefield is environmentally responsible. Please consider the environment before printing this email. This email and any attachment is intended for the named addressee only, or person authorised to receive it on their behalf. The content should be treated as confidential and the recipient may not disclose this message or any attachment to anyone else without authorisation. If this transmission is received in error please notify the sender immediately and delete this message from your email system. All electronic transmissions to and from me are recorded and may be monitored. Finally, the recipient should check this email and any attachments for viruses. Paul Littlefield accepts no liability for any damage caused by any virus transmitted by this email. Ubuntu 16.04.2 LTS (x86_64)
Reasonably Related Threads
- Can only enable Sieve scripts not edit them (Roundcube)
- Sieve filterset not activating in Dovecot 2.0.15 with Sieve plug-in and Roundcube 0.5.3: "NO (TRYLATER) Internal Error."
- Sieve plugin (fc17 + sendmail + roundcube)
- Adding Sieve to Roundcube
- Postfix Ignoring lmtp, delivering straight to maildir