Force outlook automatic email forwarding outside your organization
272
For when your IT admin is blocking automatic email forwarding outside your organization, but you want to do it anyway.
git clone https://github.com/Alyetama/Force-Forward-Outlook.git
cd Force-Forward-Outlook
pip install -r requirements.txt
Rclone if you haven't already. Then, create a new remote if you don't have one.rclone config create mydrive drive
emails/sent:# Replace `mydrive` with your actual remote name if different
rclone mkdir mydrive:emails/sent
+ Create -> Automated cloud flow -> pick a name -> under Choose your flow's trigger search When a new email arrives (make sure to select the correct service! If you have a school/work email, it's probably Office 365 Outlook, otherwise, Outlook).Create, then sign in to your Outlook email account and select Inbox under Folder.Create File.Folder path type: emails. Under File name click on Add dynamic content, then search and select Message Id. Under File content, click on Add dynamic content, then search and select Body (the one that starts with a capital letter)..env.example to .env:mv .env.example .env
FROM_EMAIL: The email you want to send from (Not your outlook email! Can be any email address you own).FROM_EMAIL_PASSWORD: The password of the email you want to send from.TO_EMAIL: Your outlook email address where automatic forwarding is disabled.REMOTE_NAME: The name of the rclone remote you used in Step 2 (e.g., mydrive).python forwardgod.py
# or in the background:
nohup python forwardgod.py &
docker run --env-file .env \
-v "$(dirname $(rclone config file | tail -1))":/root/.config/rclone \
alyetama/force-forward-outlook:latest
Content type
Image
Digest
sha256:918a5f576…
Size
70.5 MB
Last updated
about 4 years ago
docker pull alyetama/force-forward-outlook