Hello,
I'm using 2.2.13.
For syncing I'm using repetitions of about the following (simplified for readability):
state_file=.s
doveadm \
-o imapc_master_user=<master> \
-o imapc_password=<pw> \
-o imapc_host=<host> \
-o mail_fsync=never \
backup -s "$(<.s)" -u "<user>" -R imapc: >.s_new
mv .s_new .s
The user has about 4501 IMAP folders. This makes a huge state output of about 128 kB. This in turn leads to an overly long command line in the next iteration. (excuse: command line too long)
Is there any chance to solve this? I think, the only possibility would be to have doveadm-backup -s read the state from a *file*, wouldn't it?
(Apart from the fact that I do not see a manpage for this, except entries in the Wiki (but this may be due to poor packaging) of the Debian dovecot package.)
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
-- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} - gnupg encrypted messages are welcome --------------- key ID: F69376CE - ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -