{"id":24060742,"url":"https://github.com/josephgodwinkimani/imapsync","last_synced_at":"2026-04-17T01:32:16.633Z","repository":{"id":258552408,"uuid":"870575986","full_name":"josephgodwinkimani/imapsync","owner":"josephgodwinkimani","description":"IMAPSync Installation Guide for Windows ","archived":false,"fork":false,"pushed_at":"2025-01-27T17:57:04.000Z","size":8,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-01T22:07:38.190Z","etag":null,"topics":["cygwin","docker","go","imapsync","python3"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josephgodwinkimani.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-10-10T09:40:43.000Z","updated_at":"2025-01-02T15:27:22.000Z","dependencies_parsed_at":"2025-06-01T14:04:21.087Z","dependency_job_id":"0aef2457-8442-439d-84d8-56f115157404","html_url":"https://github.com/josephgodwinkimani/imapsync","commit_stats":null,"previous_names":["josephgodwinkimani/impasync","josephgodwinkimani/imapsync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/josephgodwinkimani/imapsync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephgodwinkimani%2Fimapsync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephgodwinkimani%2Fimapsync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephgodwinkimani%2Fimapsync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephgodwinkimani%2Fimapsync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josephgodwinkimani","download_url":"https://codeload.github.com/josephgodwinkimani/imapsync/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josephgodwinkimani%2Fimapsync/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911478,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cygwin","docker","go","imapsync","python3"],"created_at":"2025-01-09T07:14:36.404Z","updated_at":"2026-04-17T01:32:16.614Z","avatar_url":"https://github.com/josephgodwinkimani.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IMAPSync Installation Guide for Windows (local)\n\nRun `install.ps1` in powershell with administrative rights OR:\n\n## Step 1: Download Cygwin Installer\n\n1. Visit the [Cygwin website](https://www.cygwin.com).\n2. Click on **Install Cygwin** to download the setup executable:\n   - For 64-bit Windows, download `setup-x86_64.exe`.\n   - For 32-bit Windows, download `setup-x86.exe`.\n\n## Step 2: Run the Cygwin Installer\n\n1. **Run the downloaded setup executable**.\n2. Click **Next** to proceed.\n3. On the **Choose Installation Type** screen, select **Install from Internet** and click **Next**.\n4. On the **Choose Installation Directory** screen, enter `C:\\cygwin` as the Root Directory (or choose another directory) and click **Next**.\n5. On the **Select Local Package Directory** screen, choose a directory to store downloaded installation files and click **Next**.\n6. On the **Select Connection Type** screen, choose your internet connection type (usually **Direct Connection**) and click **Next**.\n7. On the **Choose Download Site(s)** screen, select a mirror site from the list and click **Next**.\n\n## Step 2: Using Command-line to install Cygwin with required packages\n\n1. Open command-prompt and run:\n\n```bash\n$ setup-x86_64.exe -q -P gcc-core,g++,make,perl,perl-Digest-HMAC,perl-IO-Socket-SSL,perl-Socket6,libcrypt-devel\n```\n\n## Step 3: Select Cygwin Packages (skip if using Command-line to install Cygwin)\n\n1. On the **Select Packages** screen:\n\n   - Select all these essential packages:\n\n     - `gcc-core` (GNU Compiler Collection): A compiler system supporting various programming languages, primarily C and C++.\n\n     - `g++` (GNU C++ Compiler): The GNU C++ compiler, used for compiling C++ programs.\n\n     - `make` (Build automation tool): A tool that automatically builds executable programs and libraries from source code.\n\n     - `perl` (Practical Extraction and Report Language): A high-level programming language known for its text processing capabilities.\n\n     - `perl-Digest-HMAC` (Keyed-Hashing for Message Authentication): A Perl module that implements HMAC (Hash-based Message Authentication Code) for message integrity checks between two parties sharing a secret key. [More Info](https://metacpan.org/pod/Digest::HMAC)\n\n     - `perl-IO-Socket-SSL` (SSL support for IO::Socket): A Perl module that provides SSL support to IO::Socket, enabling secure communications over the network.\n\n     - `perl-Socket6` (IPv6 support for IO::Socket): A Perl module that provides support for IPv6 networking in Perl scripts.\n\n     - `libcrypt-devel` (Development files for cryptography): A package that includes development files necessary for building applications that use cryptographic functions.\n\n2. Click **Next** to proceed with downloading and installing selected packages.\n\n## Setp 4: Install Required Perl Modules using Cygwin\n\n1. Install CPAN Minus (cpanm)\n\n```bash\n$ perl -MCPAN -e 'install App::cpanminus'\n```\n\n2. Install required Perl modules\n\n```bash\n$ cpanm Encode::IMAPUTF7 File::Copy::Recursive IO::Socket::INET6 Term::ReadKey Readonly Sys::MemInfo Regexp::Common File::Tail Digest::HMAC\n```\n\n## Step 4: Download and Prepare IMAPSync using Cygwin\n\n1. Download the latest version of IMAPSync from its official site [IMAPSync](https://imapsync.lamiral.info/X/)\n2. Alternatively, you can clone the repository from GitHub: `git clone https://github.com/imapsync/imapsync.git` (recommended)\n3. Change to the directory where IMAPSync is located\n\n```bash\n$ cd imapsync\n```\n\n4. Run the following command to make the script executable (make sure to run Cygwin as Administrator)\n\n```bash\n$ chmod +x imapsync\n```\n\n## Step 5: Verify Installation\n\n1. Open the Cygwin terminal by running `C:\\cygwin\\Cygwin.bat`.\n2. To verify that IMAPSync is working correctly, run:\n\n```bash\n$ ./imapsync -help\n$ ./imapsync --testslive # OR\n# change values accordingly - you only need to define host1 to verify\n$ ./imapsync --host1 source.imap.server --user1 user1@example.com --password1 'password1'             --host2 destination.imap.server --user2 user2@example.com --password2 'password2' --justlogin\n# check output or the relevant log file under ./imapsync/LOG_imapsync/\n```\n\n## Issues\n\n1. If you encounter any issues related to missing Perl modules, you can update them using cpanm. For example, if you need to update IO::Socket::SSL, run:\n\n```bash\n$ cpanm IO::Socket::SSL\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephgodwinkimani%2Fimapsync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosephgodwinkimani%2Fimapsync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosephgodwinkimani%2Fimapsync/lists"}