General discussion on installation and configuration of SOGo

Text archives Help


[SOGo] using sogo-tool to insert AuxiliaryMailAccounts


Chronological Thread 
  • From: "\"Daniel Carlos Silva\"" ( ) < >
  • To:
  • Subject: [SOGo] using sogo-tool to insert AuxiliaryMailAccounts
  • Date: Tue, 08 Jan 2019 20:57:17 -0200
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 5174B1DE4F93

 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 AuxiliaryMailAccounts
output:
<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": " ", "password": "XXXXXXXXXXXXX", "serverName": "imap.myserver.com", "userName": "fulano", "identities": [{"email": " ", "fullName": " ", "signature": "Atenciosamente,<br \/><strong \/> Fulano<\/\/strong \/>"}]}]
When I try to insert same json i get this error
sogo-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": " ", "password": "XXXXXXXXXXXXX", "serverName": "imap.myserver.com", "userName": "fulano", "identities": [{"email": " ", "fullName": " ", "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 – PRODEMGE

 

Aviso: 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

 


Archive powered by MHonArc 2.6.18.

Top of page