backupd and sync_client Syntax error

Marco falon at ruparpiemonte.it
Thu Jul 23 05:25:23 EDT 2020


Ouch, sorry, ignore this.

I suppose to have found the problem.

My goal is to sync from Cyrus IMAP 2.4 to 3.2, and to 3.2 to a backupd host.
I see it works just starting by hand the sync_client in Cyrus IMAP 2.4, 
meanwhile in the middle host the rolling mode is sufficient with 
sync_log_chain.

But I had a bad Cyrus IMAP 2.4 with some mailboxes which had references 
in mailboxes.db only, and not in file system and metadata.

Solving above error, then sync_client from 3.2 IMAP host to backupd host 
works.

I don't know why I don't see errors in sync_client from 2.4 to 3.2 already.

Cheers
Marco


Il 22/07/2020 11:51, Marco ha scritto:
> Hello,
> 
>   I would ask an help with a new replication error in backup channel.
> I have this never-ending loop error:
> 
> 2020-07-22T11:35:16.212126+02:00 tst-msg03 cyrus/sync_client[22465]: 
> MAILBOXES received NO response: IMAP_PROTOCOL_BAD_PARAMETERS Bad parameters
> 2020-07-22T11:35:16.212185+02:00 tst-msg03 cyrus/sync_client[22465]: 
> Error in do_sync(): bailing out! Syntax error in parameters
> 2020-07-22T11:35:16.212228+02:00 tst-msg03 cyrus/sync_client[22465]: 
> Processing sync log file /var/lib/imap/sync/bck/log-run failed: Syntax 
> error in parameters
> 2020-07-22T11:35:16.216962+02:00 tst-msg03 cyrus/sync_client[22465]: 
> Reprocessing sync log file /var/lib/imap/sync/bck/log-run
> 
> 
> The "log-run" file ends with:
> 
> APPEND "example.com!user.gianni^ferromagnetic.  Cartella Molto Spaziosa"
> MAILBOX "example.com!user.gianni^ferromagnetic.  Cartella Molto Spaziosa"
> MAILBOX "example.com!user.gianni^ferromagnetic.  Cartella Molto Spaziosa"
> APPEND "example.com!user.gianni^ferromagnetic.  Cartella Molto 
> Spaziosa.Sottocartella"
> MAILBOX "example.com!user.gianni^ferromagnetic.  Cartella Molto 
> Spaziosa.Sottocartella"
> MAILBOX "example.com!user.gianni^ferromagnetic.  Cartella Molto 
> Spaziosa.Sottocartella"
> APPEND example.com!user.gianni^ferromagnetic.10
> MAILBOX example.com!user.gianni^ferromagnetic.10
> MAILBOX example.com!user.gianni^ferromagnetic.10
> APPEND example.com!user.gianni^ferromagnetic.Abbcc
> MAILBOX example.com!user.gianni^ferromagnetic.Abbcc
> MAILBOX example.com!user.gianni^ferromagnetic.Abbcc
> APPEND example.com!user.gianni^ferromagnetic.Abc
> MAILBOX example.com!user.gianni^ferromagnetic.Abc
> MAILBOX example.com!user.gianni^ferromagnetic.Abc
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1"
> APPEND "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino"
> APPEND "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino.Test"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino.Test"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Cestino.Test"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Spam"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.Spam"
> APPEND "example.com!user.gianni^ferromagnetic.Cartella 1.ma,cia"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.ma,cia"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.ma,cia"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.ma,cia.Archivio"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella 1.ma,cia.Archivio"
> APPEND "example.com!user.gianni^ferromagnetic.Cartella Spaziosa"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella Spaziosa"
> MAILBOX "example.com!user.gianni^ferromagnetic.Cartella Spaziosa"
> 
> The log-run has the same last-modified date of the first syslog error 
> message of syntax error.
> 
> 
> Other strange folder names I created are
> 
> MAILBOX example.com!user.baraccone.prova:prova:
> MAILBOX example.com!user.baraccone.prova:prova:
> MAILBOX example.com!user.baraccone.prova^1
> MAILBOX example.com!user.baraccone.prova^1
> 
> 
> I suspect that some folder name breaks the backup replication...
> 
> Thank you very much
> 
> Cheers
> Marco
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
> To Unsubscribe:
> https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
> 



More information about the Info-cyrus mailing list