Текущее содержимое конфига /home/user/sieve/roundcube.sieve
## Generated by Roundcube Webmail SieveRules Plugin ##
require ["vacation","variables"];
if header :matches "Subject" "*" {
set "subjwas" ": ${1}";
}
vacation
days:0 {
:subject "Vacation::: I'm in vacation ${subjwas}"
"MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary==_42de3adff8dc0ac53501e1272a6f2429
--=_42de3adff8dc0ac53501e1272a6f2429
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
Hello, I'll back in september. Thanks!=20
--=_42de3adff8dc0ac53501e1272a6f2429
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
Hello,
I'll back later.
Thanks!=20
--=_42de3adff8dc0ac53501e1272a6f2429--
.
";
}
Содержимое 20-managesieve.conf
##
## ManageSieve specific settings
##
# Uncomment to enable managesieve protocol:
protocols = $protocols sieve
# Service definitions
service managesieve-login {
inet_listener sieve {
port = 4190
}
}
service managesieve {
# Max. number of ManageSieve processes (connections)
process_limit = 1024
}
# Service configuration
protocol sieve {
}
При компиляции скрипта выдает ошибку парсинга
$ sievec roundcube.sieve
sievec(user): Debug: Effective uid=1025, gid=1025, home=/home/user
roundcube: line 8: error: expected end of command ';' or the beginning of a compound block '{', but found ':'.
roundcube: line 9: error: expected end of compound block '}', but found tag.
roundcube: error: parse failed.
sievec(user): Fatal: failed to compile sieve script 'roundcube.sieve'