Skip to content

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. We need to create a self-signed certificate for connecting to Apple Mail:

    1.1 Create a self-signed certificate with SAN san.cnf by running: openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -config san.cnf

    1.2 Mark it as trusted by the system: sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain cert.pem

  2. Run npm install to install the dependencies of crypto-bridge.mjs

  3. Install all required modules for Python. Better in a separate environment:

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install cryptography requests
  1. Run as administrator (because we need system ports) sudo python3 mail_bridge.py
  2. Add a new account to Apple Mail: Mail -> Add account -> Add Other Account... -> sign in -> Fails with unable to verify account name or password & shows more config fields -> Set Incoming Mail Server and Outgoing Mail Server to localhost Sign in -> should login in sucessfully

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages