Hello,

I'd like to change vacation settings for users with sogo-tool. Basically I do

sogo-tool user-preferences get defaults $user Vacation > file.json
edit file.json
sogo-tool user-preferences set defaults $user -p sieve.cred Vacation -f file.json

The setting for vacation are written to SOGo database and sieve filter on mail server are ok. But if the user has filter rules with fileinto actions the folder is written with '/' as folder separator. Our IMAP server has '.' as separator, so '/' is wrong.

Example:
Sieve filter exported by SOGo Webmail – all right:
…
if allof (header :contains "subject" "…") {
    fileinto "INBOX.Junk";
}
…

After changing with: sogo-tool user-preferences set defaults $user -p sieve.cred Vacation -f file.json
…
if allof (header :contains "subject" "…") {
    fileinto "INBOX/Junk";
}
…

Do I miss something … or is it a bug?

Thanks
Frank

--
Frank Richter, Chemnitz University of Technology, Germany

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to