Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Make sync output more verbose, show mapping #525

Closed
ghost opened this issue Feb 22, 2018 · 2 comments
Closed

Feature request: Make sync output more verbose, show mapping #525

ghost opened this issue Feb 22, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 22, 2018

When performing the actual run the output reads like this:

Folder INBOX [acc: test]:
Syncing INBOX: IMAP -> MappedIMAP
Copy message UID 10 (1/934) host1:INBOX -> host2
Copy message UID 11 (2/934) host1:INBOX -> host2
Copy message UID 12 (3/934) host1:INBOX -> host2
Copy message UID 13 (4/934) host1:INBOX -> host2
Copy message UID 14 (5/934) host1:INBOX -> host2
Copy message UID 15 (6/934) host1:INBOX -> host2
Copy message UID 16 (7/934) host1:INBOX -> host2

The program reports which folder on host1 is synced - but doesn't show which folder on host2 receives the mails. This might lead to a vast number of mails synced to the wrong folder (and having to sort them out manually)
So I'd like to suggest to make the program output more verbose on the host2 part - ideally to make it look e.g. like this:
When performing the actual run the output reads like this:

Folder INBOX [acc: test]:
Syncing INBOX: IMAP -> MappedIMAP
Copy message UID 10 (1/934) host1:INBOX -> host2:targetfolder
Copy message UID 11 (2/934) host1:INBOX -> host2:targetfolder
Copy message UID 12 (3/934) host1:INBOX -> host2:targetfolder
Copy message UID 13 (4/934) host1:INBOX -> host2:targetfolder
Copy message UID 14 (5/934) host1:INBOX -> host2:targetfolder
Copy message UID 15 (6/934) host1:INBOX -> host2:targetfolder
Copy message UID 16 (7/934) host1:INBOX -> host2:targetfolder

General informations

  • system/distribution (with version): Debian 9
  • offlineimap version (offlineimap -V): v7.1.5
  • Python version: v2.7.13
@ghost
Copy link
Author

ghost commented Feb 23, 2018

Pull request created , works for me on my local copy. Please feel free to use it in the official codebase.

nicolas33 pushed a commit that referenced this issue Feb 24, 2018
Github-ref: #525
Signed-off-by: Friedemann Schorer friedemann@schorers.org
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
@nicolas33
Copy link
Member

Thank you much @Musashi69 ; applied. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant