Hello,
have you tried setting your AuxiliaryMailAccounts value between quotes (')?Le 08/01/2019 à 23:57, "Daniel Carlos Silva" ([email protected]) a écrit :
Hello,I´m having some difficulty to use sogo-tool to set AuxiliaryMailAccounts. I always got a json parser error. Even using the json that sogo-tool outputed. Im likely familiar to sogo-tool, I use with success to set mail signature and sieve rules.Ex.sogo-tool user-preferences get defaults fulano-p .pwsieve AuxiliaryMailAccountsoutput: <0x0x15f21a0[SOGoCache]> Cache cleanup interval set every 300.000000 seconds <0x0x15f21a0[SOGoCache]> Using host(s) '127.0.0.1' as server(s)AuxiliaryMailAccounts: [{"receipts": {"receiptNonRecipientAction": "ignore", "receiptAction": "ignore", "receiptAnyAction": "ignore", "receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 1, "port": 993, "name": "[email protected]", "password": "XXXXXXXXXXXXX", "serverName": "imap.myserver.com", "userName": "fulano", "identities": [{"email": "[email protected]", "fullName": "[email protected]", "signature": "Atenciosamente,<br \/><strong \/> Fulano<\/\/strong \/>"}]}]When I try to insert same json i get this errorsogo-tool user-preferences set defaults 01208801643 -p .pwsieve AuxiliaryMailAccounts [{"receipts": {"receiptNonRecipientAction": "ignore", "receiptAction": "ignore", "receiptAnyAction": "ignore", "receiptOutsideDomainAction": "ignore"}, "encryption": "tls", "isNew": 1, "port": 993, "name": "[email protected]", "password": "XXXXXXXXXXXXX", "serverName": "imap.myserver.com", "userName": "fulano", "identities": [{"email": "[email protected]", "fullName": "[email protected]", "signature": "Atenciosamente,<br \/><strong \/> Fulano<\/\/strong \/>"}]}]<0x0x1ec2140[SOGoCache]> Cache cleanup interval set every 300.000000 seconds <0x0x1ec2140[SOGoCache]> Using host(s) '127.0.0.1' as server(s)<0x0x1cf52e0[GSCBufferString]> json parser: Expected value while parsing array, attempting once more after unescaping... <0x0x1cf52e0[GSCBufferString]> total failure. Original string is: [{receipts: 2019-01-08 20:55:16.175 sogo-tool[12828:12828] Invalid JSON input - no changes performed in the database. The supplied value was: [{receipts:Can someone help me? Is there any trick? -- Daniel Carlos Silva Analista GSR – Gerência de Serviços de Rede Tel.: (31) 3339-1287 Companhia de Tecnologia da Informação do Estado de Minas Gerais – PRODEMGEAviso: Esta mensagem é destinada exclusivamente para a(s) pessoa(s) a quem é dirigida, podendo conter informação sigilosa e legalmente protegida. O uso impróprio será tratado conforme as normas da empresa e a legislação em vigor. Caso não seja o destinatário, favor notificar o remetente, ficando proibidas a utilização, divulgação, cópia e distribuição-- [email protected] https://inverse.ca/sogo/lists
-- Daniel Le Bray :: CRI :: Pôle Systèmes et Réseaux [email protected] :: +33 (0)2 32 74 42 94 Universite Le Havre Normandie 25 rue Philippe Lebon, BP1123, 76063 Le Havre Cedex, France ========================================================== J'accepte les emails VSRE (http://vsre.info/index_fr.html)
smime.p7s
Description: Signature cryptographique S/MIME
