imapsync / imapsync/imapsync

--delete2duplicates doesn't work for Exchange 2019

Open
#327 7 comments 0 reactions 1 assignee View on GitHub

@gilleslamiral is already working on this.

Since Mar 22, 2022.

Argument Error. 11 Exchange
Dominant language
Shell
Stars
4.2k
Forks
531
PR merge metrics
No merged PRs in 30d

Description

Hello,
Imapsync creates duplicate items on each run on host2.
using --delete2duplicates doesn't work. throws following error in debug mode;

host2 is exchange server 2019 cu11 with latest security update.
has anyone come accross this issue?
Regards,

++++ Verifying [INBOX] -> [INBOX]
Host2: msg INBOX/8643 marked \Deleted [duplicate] on host2
Sending: 11506 UID STORE 8643 +FLAGS.SILENT (\Deleted)
Sent 47 bytes
Read: 11506 BAD Command Argument Error. 11
ERROR: 11506 BAD Command Argument Error. 11 at /usr/local/share/perl5/Mail/IMAPClient.pm line 1388.
Mail::IMAPClient::ANON("11506 BAD Command Argument Error. 11\x{d}\x{a}") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 1424
Mail::IMAPClient::_get_response(Mail::IMAPClient=HASH(0x559a6d9d1878), 11506, undef) called at /usr/local/share/perl5/Mail/IMAPClient.pm line 1350
Mail::IMAPClient::_imap_command_do(Mail::IMAPClient=HASH(0x559a6d9d1878), "UID STORE 8643 +FLAGS.SILENT (\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 1248
Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x559a6d9d1878), "UID STORE 8643 +FLAGS.SILENT (\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 1460
Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0x559a6d9d1878), "STORE", 8643, "+FLAGS.SILENT", "(\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 2348
Mail::IMAPClient::store(Mail::IMAPClient=HASH(0x559a6d9d1878), 8643, "+FLAGS.SILENT", "(\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 2813
Mail::IMAPClient::delete_message(Mail::IMAPClient=HASH(0x559a6d9d1878), 8643) called at ./imapsync line 2701
main::single_sync(HASH(0x559a6e913408), HASH(0x559a6c7de220), HASH(0x559a6e905190)) called at ./imapsync line 1350
ERROR: 11506 BAD Command Argument Error. 11 at /usr/local/share/perl5/Mail/IMAPClient.pm line 1298.
Mail::IMAPClient::_imap_command(Mail::IMAPClient=HASH(0x559a6d9d1878), "UID STORE 8643 +FLAGS.SILENT (\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 1460
Mail::IMAPClient::_imap_uid_command(Mail::IMAPClient=HASH(0x559a6d9d1878), "STORE", 8643, "+FLAGS.SILENT", "(\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 2348
Mail::IMAPClient::store(Mail::IMAPClient=HASH(0x559a6d9d1878), 8643, "+FLAGS.SILENT", "(\Deleted)") called at /usr/local/share/perl5/Mail/IMAPClient.pm line 2813
Mail::IMAPClient::delete_message(Mail::IMAPClient=HASH(0x559a6d9d1878), 8643) called at ./imapsync line 2701
main::single_sync(HASH(0x559a6e913408), HASH(0x559a6c7de220), HASH(0x559a6e905190)) called at ./imapsync line 1350
Host2: msg INBOX/8644 marked \Deleted [duplicate] on host2
Sending: 11507 UID STORE 8644 +FLAGS.SILENT (\Deleted)
Sent 47 bytes

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.