GithubHelp home page GithubHelp logo

Comments (24)

gilleslamiral avatar gilleslamiral commented on June 2, 2024 1

So what exactly did you change?

He didn't run imapsync as a service, but just in a command line session.

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Have you read
https://imapsync.lamiral.info/FAQ.d/FAQ.Docker.txt
Your questions suggest you haven't since the answers are in the document.

Do you know what is an SSL certificate?

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

I've read that page, although I'm having problems with how to get the IMAP account to sync to Mail Plus an email client on my NAS.

As well I understand creating the folders but what is the purpose if imapsync.tk and privkey.pem ?

--volume /etc/letsencrypt/live/docker.imapsync.tk/privkey.pem:/var/tmp/privkey.pem \
 --volume /etc/letsencrypt/live/docker.imapsync.tk/fullchain.pem:/var/tmp/fullchain.pem \

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

although I'm having problems getting the IMAP account to sync to Mail Plus an email client on my NAS.

What happened?

As well I understand creating the folders

You don't have to.

but what is the purpose of imapsync.tk and privkey.pem ?

They are examples. imapsync.tk is a domain name, privkey.pem is a secret file certificate.

What is your need? An online imapsync? the basic imapsync command line? transferring imap accounts?

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

The first issue is why after installing IMAPSYNC by means of a Docker Manager in my NAS the container always starts and stops and I cannot figure out why; the logs don't explain anything ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

The first issue is why after installing IMAPSYNC by means of a Docker Manager in my NAS

I don't know what you did. Can you explain in more detail?

The container always starts and stops and I cannot figure out why;

Do you mean imapsync always starts and stops?

The logs don't explain anything.

The logs of what?

Please, help me to help you:

  1. Reply to my questions. Several are pendent so far.
  2. Be more explicit, and detail what you did.

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

I downloaded from my Synology NAS Container Manager the IMAPSYNC container, it installed successfully although when its started, within two minutes it stops; then it repeats this every two minutes.

Within the Container Manager which is almost identical to Docker Compose there are logs but those logs don't tell me what the issue at hand is. That is all the information I have regarding getting this container to run without any issues, I know it's not that detailed but that is all I can say about the issue.

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

My context: I don't know Container Manager and I don't know Docker Compose.

What happens when you run the following:

docker run --rm gilleslamiral/imapsync imapsync --testslive

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024
Docker context detected with the file /Dockerfile, or forced
No log in this Docker context.
Changing current directory from /var/tmp to /var/tmp/uid_65534
Creating directory LOG_imapsync (current directory is /var/tmp/uid_65534)
Here is imapsync 2.279 on host 3ee776215410, a linux system with 0.2/5.6 free GiB of RAM, 2.81% used by processes.
with Perl 5.36.0 and Mail::IMAPClient 3.43
Transfer started at Monday 12 February 2024-02-12 19:27:46 +0000 UTC
PID is 1 my PPID is 0
Log file is LOG_imapsync/2024_02_12_19_27_46_220_test1_test2.txt ( to change it, use --logfile path ; or use --nolog to turn off logging )
Load is 0.45 0.66 0.54 4/1186 on 4 cores
Real user id is nobody (uid 65534)
Effective user id is nobody (euid 65534)
$RCSfile: imapsync,v $ $Revision: 2.279 $ $Date: 2024/01/11 19:14:11 $ 
Command line used, run by /usr/bin/perl:
/usr/bin/imapsync --testslive
Current directory is /var/tmp/uid_65534
Temp directory is /var/tmp//tmp ( to change it use --tmpdir dirpath )
Creating temp directory /var/tmp//tmp
Under docker context so installing only signals to exit
kill -INT 1 # special behavior: call to sub catch_exit
kill -QUIT 1 # special behavior: call to sub catch_exit
kill -TERM 1 # special behavior: call to sub catch_exit
File /var/tmp//tmp/imapsync.pid does not exist
PID file is /var/tmp//tmp/imapsync.pid ( to change it, use --pidfile filepath ; to avoid it use --pidfile "" )
Writing my PID 1 in /var/tmp//tmp/imapsync.pid
Writing also my logfile name in /var/tmp//tmp/imapsync.pid : LOG_imapsync/2024_02_12_19_27_46_220_test1_test2.txt
Modules version list ( use --no-modulesversion to turn off printing this Perl modules list ):
Authen::NTLM         1.09
CGI                  4.55
Compress::Zlib       2.204
Crypt::OpenSSL::RSA  0.33
Digest::HMAC_MD5     1.04
Digest::HMAC_SHA1    1.04
Digest::MD5          2.58
Digest::SHA          6.02
Encode               3.17
Encode::IMAPUTF7     1.05
File::Copy::Recursive 0.45
File::Spec           3.84
Getopt::Long         2.52
HTML::Entities       3.81
IO::Socket           1.49
IO::Socket::INET     1.49
IO::Socket::INET6    2.73
IO::Socket::IP       0.41
IO::Socket::SSL      2.084
IO::Tee              0.65
JSON                 4.10
JSON::WebToken       0.10
LWP                  6.68
MIME::Base64         3.16
Mail::IMAPClient     3.43
Net::Ping            2.74
Net::SSLeay          1.92
Term::ReadKey        2.38
Test::MockObject     1.20200122
Time::HiRes          1.977
Unicode::String      2.10

Info: will resync flags for already transferred messages. Use --noresyncflags to not resync flags.
Host1: probing ssl on port 993 ( use --nosslcheck to avoid this ssl probe )
Host1: sslcheck detected open ssl port 993 so turning ssl on (use --nossl1 --notls1 to turn off SSL and TLS wizardry)
Host2: probing ssl on port 993 ( use --nosslcheck to avoid this ssl probe )
Host2: sslcheck detected open ssl port 993 so turning ssl on (use --nossl2 --notls2 to turn off SSL and TLS wizardry)
SSL debug mode level is --debugssl 1 (can be set from 0 meaning no debug to 4 meaning max debug)
Host1: SSL default mode is like --sslargs1 "SSL_verify_mode=0", meaning for host1 SSL_VERIFY_NONE, ie, do not check the server certificate.
Host1: Use --sslargs1 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host1
Host2: SSL default mode is like --sslargs2 "SSL_verify_mode=0", meaning for host2 SSL_VERIFY_NONE, ie, do not check the server certificate.
Host2: Use --sslargs2 SSL_verify_mode=1 to have SSL_VERIFY_PEER, ie, check the server certificate. of host2
Info: turned ON syncinternaldates, will set the internal dates (arrival dates) on host2 same as host1.
Host1: will try to use LOGIN authentication on host1
Host2: will try to use LOGIN authentication on host2
Host1: imap connection timeout is 120 seconds
Host2: imap connection timeout is 120 seconds
Host1: imap connection keepalive is on on host1. Use --nokeepalive1 to disable it.
Host2: imap connection keepalive is on on host2. Use --nokeepalive2 to disable it.
Host1: IMAP server [test1.lamiral.info] port [993] user [test1]
Host2: IMAP server [test2.lamiral.info] port [993] user [test2]
Host1: connecting and login on host1 [test1.lamiral.info] port [993] with user [test1]
Host1 IP address: 91.121.221.224 Local IP address: 172.17.0.3
Host1 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Debian) ready.
Host1 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH
Host1: success login on [test1.lamiral.info] with user [test1] auth [LOGIN] or [LOGIN]
Host2: connecting and login on host2 [test2.lamiral.info] port [993] with user [test2]
Host2 IP address: 91.121.221.224 Local IP address: 172.17.0.3
Host2 banner: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot (Debian) ready.
Host2 capability before authentication: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN AUTH
Host2: success login on [test2.lamiral.info] with user [test2] auth [LOGIN] or [LOGIN]
Host1: state Authenticated
Host2: state Authenticated
Host1 capability once authenticated: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE COMPRESS=DEFLATE THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW STATUS COMPRESS
Host2 capability once authenticated: IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY STATUS=SIZE SAVEDATE LITERAL+ NOTIFY SPECIAL-USE COMPRESS=DEFLATE THREAD I18NLEVEL CONTEXT SNIPPET PREVIEW STATUS COMPRESS
Host1: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
In order to avoid sending/receiving ID, use option --noid
Sending: 4 ID ("name" "imapsync" "version" "2.279" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "11-Jan-2024 19:14:11 +0000" "side" "host1")
Sent 181 bytes
Read:   * ID ("name" "Dovecot")
        4 OK ID completed (0.001 + 0.000 secs).
Host2: found ID capability. Sending/receiving ID, presented in raw IMAP for now.
In order to avoid sending/receiving ID, use option --noid
Sending: 4 ID ("name" "imapsync" "version" "2.279" "os" "linux" "vendor" "Gilles LAMIRAL" "support-url" "https://imapsync.lamiral.info/" "date" "11-Jan-2024 19:14:11 +0000" "side" "host2")
Sent 181 bytes
Read:   * ID ("name" "Dovecot")
        4 OK ID completed (0.001 + 0.000 secs).
Host2: No QUOTA capability found, skipping it.
Host1: Compression is off. Use --compress1 to allow compression on host1
Host2: Compression is off. Use --compress2 to allow compression on host2
Compression often generates annoying errors, especially with SSL connexions, Gmail, Office365. So, avoid it.
Host1: found 6 folders.
Host2: found 17 folders.
Host1: guessing separator from folder listing: [.]
Host1: separator given by NAMESPACE: [.]
Host2: guessing separator from folder listing: [.]
Host2: separator given by NAMESPACE: [.]
Host1: guessing prefix from folder listing: []
Host1: prefix given by NAMESPACE: []
Host2: guessing prefix from folder listing: []
Host2: prefix given by NAMESPACE: []
Host1: separator and prefix: [.][]
Host2: separator and prefix: [.][]
Including all folders found by default. Use --subscribed or --folder or --folderrec or --include to select specific folders. Use --exclude to unselect specific folders.
Host1: Checking wanted folders exist. Use --nocheckfoldersexist to avoid this check (shared of public namespace targeted).
Host1: Checking wanted folders are selectable. Use --nocheckselectable to avoid this check.
Turned off automapping folders ( use --automap to turn on automapping )

++++ Listing folders
All foldernames are presented between brackets like [X] where X is the foldername.
When a foldername contains non-ASCII characters it is presented in the form
[X] = [Y] where
X is the imap foldername you have to use in command line options and
Y is the utf8 output just printed for convenience, to recognize it.

Host1: folders list (first the raw imap format then the [X] = [Y]):
* LIST (\HasChildren) "." Archive
* LIST (\HasChildren \UnMarked) "." Archive.2010
* LIST (\HasNoChildren \UnMarked) "." Archive.2010.INBOX
* LIST (\HasChildren) "." init
* LIST (\HasNoChildren) "." init.&ZTZO9nux-
* LIST (\HasNoChildren) "." INBOX
15 OK List completed (0.001 + 0.000 secs).

[Archive]
[Archive.2010]
[Archive.2010.INBOX]
[INBOX]
[init]
[init.&ZTZO9nux-] = [init.收件箱]

Host2: folders list (first the raw imap format then the [X] = [Y]):
* LIST (\HasNoChildren \Trash) "." Trash
* LIST (\HasNoChildren) "." Spam
* LIST (\HasNoChildren) "." "Sent Items"
* LIST (\HasNoChildren) "." Entw&APw-rfe
* LIST (\HasNoChildren \Drafts) "." Drafts
* LIST (\HasChildren \UnMarked) "." Archive
* LIST (\HasChildren) "." Archive.2011
* LIST (\HasNoChildren) "." Archive.2011.INBOX
* LIST (\HasChildren \UnMarked) "." Archive.2010
* LIST (\HasChildren) "." Archive.2010.init
* LIST (\HasNoChildren) "." Archive.2010.init.&ZTZO9nux-
* LIST (\HasNoChildren) "." Archive.2010.Trash
* LIST (\HasNoChildren) "." "Archive.2010.Sent Items"
* LIST (\HasNoChildren) "." Archive.2010.INBOX
* LIST (\HasChildren) "." init
* LIST (\HasNoChildren) "." init.&ZTZO9nux-
* LIST (\HasNoChildren) "." INBOX
9 OK List completed (0.001 + 0.000 secs).

[Archive]
[Archive.2010]
[Archive.2010.INBOX]
[Archive.2010.Sent Items]
[Archive.2010.Trash]
[Archive.2010.init]
[Archive.2010.init.&ZTZO9nux-] = [Archive.2010.init.收件箱]
[Archive.2011]
[Archive.2011.INBOX]
[Drafts]
[Entw&APw-rfe] = [Entwürfe]
[INBOX]
[Sent Items]
[Spam]
[Trash]
[init]
[init.&ZTZO9nux-] = [init.收件箱]

Folders in host2 not in host1:
[Trash]
[Spam]
[Sent Items]
[Entw&APw-rfe] = [Entwürfe]
[Drafts]
[Archive.2011.INBOX]
[Archive.2011]
[Archive.2010.init.&ZTZO9nux-] = [Archive.2010.init.收件箱]
[Archive.2010.init]
[Archive.2010.Trash]
[Archive.2010.Sent Items]

Checking SEARCH ALL works on both accounts. To avoid that check, use --nochecknoabletosearch
Host1: checking if SEARCH ALL works on INBOX
Host1: folder [INBOX] has 52 messages mentioned by SELECT
Host1: folder [INBOX] has 52 messages found by SEARCH ALL
Host1: folder [INBOX] has the same messages count (52) by SELECT and SEARCH ALL
Host2: checking if SEARCH ALL works on INBOX
Host2: folder [INBOX] has 879 messages mentioned by SELECT
Host2: folder [INBOX] has 879 messages found by SEARCH ALL
Host2: folder [INBOX] has the same messages count (879) by SELECT and SEARCH ALL
Good! SEARCH ALL works on both accounts.

Folders sizes before the synchronization. It can take some time. Be patient.
You can remove foldersizes listings by using "--nofoldersizes" and "--nofoldersizesatend"
but then you will also lose the ETA (Estimation Time of Arrival) given after each message copy.
Host1 folder     1/6 [Archive]                           Size:         0 Messages:     0 Biggest:         0
Host2 folder     1/6 [Archive]                           Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     2/6 [Archive.2010]                      Size:         0 Messages:     0 Biggest:         0
Host2 folder     2/6 [Archive.2010]                      Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     3/6 [Archive.2010.INBOX]                Size:       404 Messages:     1 Biggest:       404
Host2 folder     3/6 [Archive.2010.INBOX]                Size:     31512 Messages:    78 Biggest:       404
Host2-Host1                                                        31108              77                  0

Host1 folder     4/6 [INBOX]                             Size:   1150534 Messages:    52 Biggest:    883630
Host2 folder     4/6 [INBOX]                             Size: 141534006 Messages:   879 Biggest:  17809142
Host2-Host1                                                    140383472             827           16925512

Host1 folder     5/6 [init]                              Size:         0 Messages:     0 Biggest:         0
Host2 folder     5/6 [init]                              Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     6/6 [init.&ZTZO9nux-] = [init.收件箱]      Size:      5408 Messages:    13 Biggest:       416
Host2 folder     6/6 [init.&ZTZO9nux-] = [init.收件箱]      Size:     14144 Messages:    34 Biggest:       416
Host2-Host1                                                         8736              21                  0

Host1 Nb folders:                     6 folders
Host2 Nb folders:                     6 folders

Host1 Nb messages:                   66 messages
Host2 Nb messages:                  991 messages

Host1 Total size:               1156346 bytes (1.103 MiB)
Host2 Total size:             141579662 bytes (135.021 MiB)

Host1 Biggest message:           883630 bytes (862.920 KiB)
Host2 Biggest message:         17809142 bytes (16.984 MiB)

Time spent on sizing:         9.2 seconds
++++ Looping on each one of 6 folders to sync
ETA: Monday 12 February 2024-02-12 19:27:55 +0000 UTC  0 s  66/66 msgs left
Folder     1/6 [Archive]                           -> [Archive]
Host1: folder [Archive] has 0 messages in total (mentioned by SELECT)
Host2: folder [Archive] has 0 messages in total (mentioned by SELECT)
Host2: folder [Archive] permanentflags:
Host1: folder [Archive] considering 0 messages
Host2: folder [Archive] considering 0 messages
Host1: folder [Archive] selected 0 messages, duplicates 0
Host2: folder [Archive] selected 0 messages, duplicates 0
ETA: Monday 12 February 2024-02-12 19:28:31 +0000 UTC  36 s  66/66 msgs left
Folder     2/6 [Archive.2010]                      -> [Archive.2010]
Host1: folder [Archive.2010] has 0 messages in total (mentioned by SELECT)
Host2: folder [Archive.2010] has 0 messages in total (mentioned by SELECT)
Host2: folder [Archive.2010] permanentflags:
Host1: folder [Archive.2010] considering 0 messages
Host2: folder [Archive.2010] considering 0 messages
Host1: folder [Archive.2010] selected 0 messages, duplicates 0
Host2: folder [Archive.2010] selected 0 messages, duplicates 0
ETA: Monday 12 February 2024-02-12 19:29:06 +0000 UTC  70 s  66/66 msgs left
Folder     3/6 [Archive.2010.INBOX]                -> [Archive.2010.INBOX]
Host1: folder [Archive.2010.INBOX] has 1 messages in total (mentioned by SELECT)
Host2: folder [Archive.2010.INBOX] has 78 messages in total (mentioned by SELECT)
Host2: folder [Archive.2010.INBOX] permanentflags:
Host1: folder [Archive.2010.INBOX] considering 1 messages
Host2: folder [Archive.2010.INBOX] considering 78 messages
Host1: folder [Archive.2010.INBOX] selected 1 messages, duplicates 0
Host2: folder [Archive.2010.INBOX] selected 78 messages, duplicates 1
ETA: Monday 12 February 2024-02-12 19:30:15 +0000 UTC  138 s  65/66 msgs left
Folder     4/6 [INBOX]                             -> [INBOX]
Host1: folder [INBOX] has 52 messages in total (mentioned by SELECT)
Host2: folder [INBOX] has 879 messages in total (mentioned by SELECT)
Host2: folder [INBOX] permanentflags:
Host1: folder [INBOX] considering 52 messages
Host2: folder [INBOX] considering 879 messages
Host1: folder [INBOX] selected 52 messages, duplicates 0
Host2: folder [INBOX] selected 879 messages, duplicates 466
ETA: Monday 12 February 2024-02-12 19:28:52 +0000 UTC  53 s  13/66 msgs left
Folder     5/6 [init]                              -> [init]
Host1: folder [init] has 0 messages in total (mentioned by SELECT)
Host2: folder [init] has 0 messages in total (mentioned by SELECT)
Host2: folder [init] permanentflags:
Host1: folder [init] considering 0 messages
Host2: folder [init] considering 0 messages
Host1: folder [init] selected 0 messages, duplicates 0
Host2: folder [init] selected 0 messages, duplicates 0
ETA: Monday 12 February 2024-02-12 19:29:00 +0000 UTC  60 s  13/66 msgs left
Folder     6/6 [init.&ZTZO9nux-] = [init.收件箱]      -> [init.&ZTZO9nux-] = [init.收件箱]
Host1: folder [init.&ZTZO9nux-] has 13 messages in total (mentioned by SELECT)
Host2: folder [init.&ZTZO9nux-] has 34 messages in total (mentioned by SELECT)
Host2: folder [init.&ZTZO9nux-] permanentflags:
Host1: folder [init.&ZTZO9nux-] considering 13 messages
Host2: folder [init.&ZTZO9nux-] considering 34 messages
Host1: folder [init.&ZTZO9nux-] selected 13 messages, duplicates 0
Host2: folder [init.&ZTZO9nux-] selected 34 messages, duplicates 13
ETA: Monday 12 February 2024-02-12 19:28:01 +0000 UTC  0 s  0/66 msgs left
++++ End looping on each folder

Folders sizes after the synchronization.
You can remove this foldersizes listing by using  "--nofoldersizesatend"
Host1 folder     1/6 [Archive]                           Size:         0 Messages:     0 Biggest:         0
Host2 folder     1/6 [Archive]                           Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     2/6 [Archive.2010]                      Size:         0 Messages:     0 Biggest:         0
Host2 folder     2/6 [Archive.2010]                      Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     3/6 [Archive.2010.INBOX]                Size:       404 Messages:     1 Biggest:       404
Host2 folder     3/6 [Archive.2010.INBOX]                Size:     31512 Messages:    78 Biggest:       404
Host2-Host1                                                        31108              77                  0

Host1 folder     4/6 [INBOX]                             Size:   1150534 Messages:    52 Biggest:    883630
Host2 folder     4/6 [INBOX]                             Size: 141534006 Messages:   879 Biggest:  17809142
Host2-Host1                                                    140383472             827           16925512

Host1 folder     5/6 [init]                              Size:         0 Messages:     0 Biggest:         0
Host2 folder     5/6 [init]                              Size:         0 Messages:     0 Biggest:         0
Host2-Host1                                                            0               0                  0

Host1 folder     6/6 [init.&ZTZO9nux-] = [init.收件箱]      Size:      5408 Messages:    13 Biggest:       416
Host2 folder     6/6 [init.&ZTZO9nux-] = [init.收件箱]      Size:     14144 Messages:    34 Biggest:       416
Host2-Host1                                                         8736              21                  0

Host1 Nb folders:                     6 folders
Host2 Nb folders:                     6 folders

Host1 Nb messages:                   66 messages
Host2 Nb messages:                  991 messages

Host1 Total size:               1156346 bytes (1.103 MiB)
Host2 Total size:             141579662 bytes (135.021 MiB)

Host1 Biggest message:           883630 bytes (862.920 KiB)
Host2 Biggest message:         17809142 bytes (16.984 MiB)

Time spent on sizing:         3.6 seconds
++++ Statistics
Transfer started on                     : Monday 12 February 2024-02-12 19:27:46 +0000 UTC
Transfer ended on                       : Monday 12 February 2024-02-12 19:28:04 +0000 UTC
Transfer time                           : 18.5 sec
Folders synced                          : 6/6 synced
Folders deleted on host2                : 0
Messages transferred                    : 0
Messages skipped                        : 66
Messages found duplicate on host1       : 0
Messages found duplicate on host2       : 480
Messages found crossduplicate on host2  : 0
Messages void (noheader) on host1       : 0
Messages void (noheader) on host2       : 0
Messages found in host1 not in host2    : 0 messages
Messages found in host2 not in host1    : 368 messages
Messages deleted on host1               : 0
Messages deleted on host2               : 0
Total bytes transferred                 : 0 (0.000 KiB)
Total bytes skipped                     : 1156346 (1.103 MiB)
Message rate                            : 0.0 messages/s
Average bandwidth rate                  : 0.0 KiB/s
Reconnections to host1                  : 0
Reconnections to host2                  : 0
Memory consumption at the end           : 176.3 MiB (*time 0.9 MiB*h) (started with 162.0 MiB)
Load end is                             : 0.35 0.62 0.53 2/1185 on 4 cores
CPU time and %cpu                       : 1.81 sec 9.8 %cpu 2.5 %allcpus
Biggest message transferred             : 0 bytes (0.000 KiB)
Memory/biggest message ratio            : NA
Start difference host2 - host1          : 925 messages, 140423316 bytes (133.918 MiB)
Final difference host2 - host1          : 925 messages, 140423316 bytes (133.918 MiB)
The sync looks good, all 66 identified messages in host1 are on host2.
There is no unidentified message on host1.
The sync is not strict, there are 368 among 434 identified messages in host2 that are not on host1. Use --delete2 and sync again to delete them and have a strict sync.
Detected 0 errors
This imapsync is up to date. ( local 2.279 >= official 2.264 )( Use --noreleasecheck to avoid this release check. )
Homepage: https://imapsync.lamiral.info/
# Entering tests_live_result()
Live tests ended successfully
# Leaving  tests_live_result()
Exiting with return value 0 (EX_OK: successful termination) 0/50 nb_errors/max_errors PID 1
Removing pidfile /var/tmp//tmp/imapsync.pid
Log file is LOG_imapsync/2024_02_12_19_27_46_220_test1_test2.txt ( to change it, use --logfile filepath ; or use --nolog to turn off logging )

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Your imapsync works well.

What imapsync command fails?

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

Your imapsync works well.

What imapsync command fails?

The container which is identical to docker compose, always starts and stops ?

How can I use if the container is always starting and stopping ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

If the container doesn't work, don't start it.

What gives the following command:

docker run --publish 80:8080 gilleslamiral/imapsync /servimapsync

And then what happens when you open a browser on the host address running the previous command?

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

If the container doesn't work, don't start it.

What gives the following command:

docker run --publish 80:8080 gilleslamiral/imapsync /servimapsync

And then what happens when you open a browser on the host address running the previous command?

The command returns nothing but; docker: Error response from daemon: driver failed programming external connectivity on endpoint elated_joliot (8b1dc5350aae78c6153013b185a9f0c0cf49608d85acd64f96eba7657dc83516): Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use.

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use.

Do you have a web server running on port 80?

And this one:

docker run --publish 81:8080 gilleslamiral/imapsync /servimapsync

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use.

Do you have a web server running on port 80?

And this one:

docker run --publish 81:8080 gilleslamiral/imapsync /servimapsync
Net::Server::VERSION 2.013
Current directory is /var/tmp
$self = bless( {
                 'server' => {
                               '_run_args' => [],
                               'access_log_file' => 'STDERR',
                               'access_log_format' => '%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"',
                               'access_log_function' => sub { "DUMMY" },
                               'allow' => [],
                               'allow_body_on_all_statuses' => undef,
                               'background' => undef,
                               'check_for_dead' => 60,
                               'check_for_dequeue' => undef,
                               'chroot' => undef,
                               'cidr_allow' => [],
                               'cidr_deny' => [],
                               'commandline' => [
                                                  '/servimapsync'
                                                ],
                               'conf_file' => undef,
                               'default_content_type' => 'text/html',
                               'deny' => [],
                               'double_reverse_lookups' => undef,
                               'enable_dispatch' => undef,
                               'group' => undef,
                               'host' => [],
                               'ipv' => [],
                               'ipv6_package' => undef,
                               'leave_children_open_on_hup' => undef,
                               'listen' => undef,
                               'log_file' => '',
                               'log_function' => undef,
                               'log_level' => 4,
                               'max_dequeue' => undef,
                               'max_header_size' => 100000,
                               'max_servers' => 256,
                               'multi_port' => 1,
                               'no_client_stdout' => undef,
                               'no_close_by_child' => undef,
                               'pid_file' => undef,
                               'port' => [
                                           {
                                             'ipv' => '4',
                                             'port' => 8080
                                           },
                                           {
                                             'SSL_cert_file' => 'fullchain.pem',
                                             'SSL_key_file' => 'privkey.pem',
                                             'ipv' => '4',
                                             'port' => 8443,
                                             'proto' => 'ssl'
                                           }
                                         ],
                               'ppid' => 1,
                               'proto' => [],
                               'reverse_lookups' => undef,
                               'server_revision' => 'Net::Server::HTTP/2.013',
                               'server_type' => [
                                                  'Fork'
                                                ],
                               'setsid' => undef,
                               'sig_passthrough' => [],
                               'tie_client_stdout' => 1,
                               'tied_stdin_callback' => undef,
                               'tied_stdout_callback' => sub { "DUMMY" },
                               'timeout_header' => 60,
                               'timeout_idle' => 3600,
                               'user' => undef
                             }
               }, 'Imapsync' );
2024/02/14-13:33:09 Imapsync (type Net::Server::HTTP -> MultiType -> Net::Server::Fork) starting! pid(1)
Binding to TCP port 8080 on host * with IPv4
Binding to SSL port 8443 on host * with IPv4
Group Not Defined.  Defaulting to EGID '65534 65534'
User Not Defined.  Defaulting to EUID '65534'

Followed by the command not returning to a prompt, I have to terminate the command to get back to a prompt at the last line posted above.

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

Is it possible that there is an error for the container ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Thanks for the report.
You both have an imapsync working and an online imapsync webserver working.

Followed by the command not returning to a prompt,

It's the normal behavior, it is a command working in the foreground.

I have to terminate the command to get back to a prompt at the last line posted above.

Yes, that's the way to end it.

Is it possible that there is an error for the container ?

I don't know.

What you showed me tells that imapsync and the online service are running well when you run them.

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

Thanks for the report. You both have an imapsync working and an online imapsync webserver working.

Followed by the command not returning to a prompt,

It's the normal behavior, it is a command working in the foreground.

I have to terminate the command to get back to a prompt at the last line posted above.

Yes, that's the way to end it.

Is it possible that there is an error for the container ?

I don't know.

What you showed me tells that imapsync and the online service are running well when you run them.

Why does the container in and equivalent to docker compose consistently start and stop every two minutes; a container is suppose to continuously run ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Why does the container in and equivalent to docker compose consistently start and stop every two minutes

I don't know Container Manager and I don't know Docker Compose but now I know they are equivalent.

Why do you use something not working when there is no problem without it?

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

Alright I figured out what was the problem; I wasn't aware that this container is not a service.

As my second question to this issue; what arguments must I use to direct mail to a specific email client whether on a network or on a drive ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

Alright I figured out what the problem was;

Congratulations!

I wasn't aware that this container is not a service.

I don't know what that means but I let it to you :-)

As my second question to this issue; what arguments must I use to direct mail to a specific email client whether on a network or a drive?

There is no option for that, imapsync can't sync directly on a disk.

Imapsync can't sync either to an email client because imapsync is an email client itself, it talks to email imap servers.

from imapsync.

SheepDomination avatar SheepDomination commented on June 2, 2024

How can I get Imapsync to be incorporated into an email client so that I can download the emails from IMAP to the client ?

from imapsync.

gilleslamiral avatar gilleslamiral commented on June 2, 2024

How can I get Imapsync to be incorporated into an email client so that I can download the emails from IMAP to the client ?

You could ask the email client developer.

from imapsync.

jonalange avatar jonalange commented on June 2, 2024

Alright I figured out what was the problem; I wasn't aware that this container is not a service.

As my second question to this issue; what arguments must I use to direct mail to a specific email client whether on a network or on a drive ?

So what exactly did you change? I was looking for a way to run imapsync on a synology NAS and figured that Docker should be the easiest option. When I just install imapsync via the Synology Docker GUI and start it, it just stops again. The same as you reported. But what does "I wasn't aware that this container is not a service." mean? What did you change to fix it and keep it running?
Thanks!

from imapsync.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.