Il 6/10/13 4:12 PM, Christian Mack ha scritto:
Hello Davide Bozzelli


Am 2013-06-08 17:35, schrieb Davide Bozzelli:
I'm trying to enable a simple autorespond with a command line like this:

/usr/sbin/sogo-tool  user-preferences set defaults [email protected]  -p
/etc/sogo/sieveadm.passwd Vacation '{"enabled": 1, "endDate": 1355266800,
         "ignoreLists": 1, "autoReplyEmailAddresses": ["[email protected]"],
"autoReplyText": "didn't", "daysBetweenResponse": "1", "endDateEnabled":
0}'

Witch gives me the following error:

line 2: unexpected EOF while looking for matching `"'
line 3: syntax error: unexpected end of file

The problem seems to be related with the vacation message string where i
have an accent.
If i remove it i'm the command runs fine.

I can i format the vacation string in order to work with accents ?

There is no accent, but a single quote!
You should escape the single quote in "didn't".


Kind regards,
Christian Mack

Yes ... in the end i have rewrited all the json string by escaping it.

Thx for help.


--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to