Hi Daniel, On Sat, Aug 26, 2017 at 10:18:46AM +0200, Daniel Leidert wrote: > Package: dovecot-sieve > Version: 1:2.2.27-3+deb9u1 > Severity: normal > > Hello, > > I recently updated my system to the new Debian stable. > > When I try to check my user .sieve files (~/.dovecot.sieve) after altering > them using: > > > sievec -D -c .dovecot.sieve -d - > > I get the result: > > > doveconf: Fatal: Error in configuration file .dovecot.sieve line 1: > > Expecting '{' > > But the mail system operates normally. Sorting and filtering works. No errors > are reported. Stripping down my .dovecot.sieve to simply contain a "require" > directive or even if I use one the examples given at the dovecot wiki [1] it > always fails and reports the error above. To my knowledge, the scripts also > don't have to start with a '{'. > > So it looks to me, that sievec is broken. The -c argument is for specifying an alternative dovecot configuration file (e.g. /etc/dovecot/dovecot.conf), rather than for the actual sieve file.
You'd want to run: sievec -D .dovecot.sieve -d - Cheers, Jelmer
signature.asc
Description: PGP signature