General discussion on installation and configuration of SOGo

Text archives Help


Re: [SOGo] using sogo-tool to insert AuxiliaryMailAccounts


Chronological Thread 
  • From: "Daniel Le Bray" ( ) < >
  • To:
  • Subject: Re: [SOGo] using sogo-tool to insert AuxiliaryMailAccounts
  • Date: Wed, 9 Jan 2019 08:35:51 +0100
  • Dmarc-filter: OpenDMARC Filter v1.2.0 mail.inverse.ca 3FFCC1DE5002

Hello,
have you tried setting your AuxiliaryMailAccounts value between quotes (')?

Le 08/01/2019 à 23:57, "Daniel Carlos Silva" ( ) 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 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

--

https://inverse.ca/sogo/lists

--
Daniel Le Bray :: CRI :: Pôle Systèmes et Réseaux

:: +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)

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




Archive powered by MHonArc 2.6.18.

Top of page