Last active
January 23, 2022 23:37
-
-
Save Raymo111/737cbd1d94312afe690cccae91c40dc9 to your computer and use it in GitHub Desktop.
Revisions
-
Raymo111 revised this gist
Sep 13, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ #### By Raymond Li (Raymo111), July 1<sup>st</sup>, 2020 (Happy Canada Day!) ##### Last updated 12 Sept 2021 ##### Credits to [PixlOne](https://github.com/PixlOne) for O365Interactive mode and headless Davmail @@ -36,6 +36,6 @@ sudo useradd --system davmail ``` - Finally, start and enable the service with: ``` sudo systemctl enable --now davmail@<your-linux-username> ``` That's it! Note: Always test and verify via the webapp before relying on any setup! -
Raymo111 revised this gist
Aug 7, 2021 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -24,7 +24,11 @@ ## Step 4: Run it as a headless service. - Success! Your mail should now work. Davmail basically acts as an interpreter between the O365/Exchange network and IMAP/SMTP. As such, it must be constantly running to receive/send mail. Go ahead and exit Davmail. Copy the properties from your home directory to `/etc` with: ``` sudo cp ~/.davmail.properties /etc/davmail/<your-linux-username>.properties ``` and change `O365Interactive` to `O365Manual` in the config file: ``` sed -i 's/O365Interactive/O365Manual/g' ``` - Add a davmail user: ``` -
Raymo111 revised this gist
Aug 7, 2021 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # How to connect to UWaterloo's new email system via any mail client #### By Raymond Li (Raymo111), July 1<sup>st</sup>, 2020 (Happy Canada Day!) ##### Last updated 7 August 2021 ##### Credits to [PixlOne](https://github.com/PixlOne) for O365Interactive mode and headless Davmail -
Raymo111 renamed this gist
Jul 2, 2020 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Raymo111 revised this gist
Jul 2, 2020 . 1 changed file with 28 additions and 25 deletions.There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,29 +6,32 @@ ##### Credits to [PixlOne](https://github.com/PixlOne) for O365Interactive mode and headless Davmail ## Step 1: Get [Davmail](http://davmail.sourceforge.net/). - I'm on Arch Linux, so I installed it from the AUR. ## Step 2: Launch and configure Davmail. - Use O365Interactive for Protocol, and uncheck `Local POP port`, `Caldav HTTP port`, and `Local LDAP port`. Keep everything else as the default, and hit save. ## Step 3: Setup your mail client. - I'm using Mailspring, which I believe is the best mail client I can get for free. [Not Sponsored] - Use manual config (IMAP/SMTP) to setup the account. - Use `<your WatIAM username>@uwaterloo.ca` as your username and your WatIAM password. - Use `localhost` as the server. - Use the ports set in Davmail (1143 for IMAP and 1025 for SMTP by default). - Set any authentication to None. - The first time you attempt to connect, you'll get a Davmail popup and the UWaterloo adfs page will open. Login with your credentials, and paste the link you reach at the end into the Davmail prompt. ## Step 4: Run it as a headless service. - Success! Your mail should now work. Davmail basically acts as an interpreter between the O365/Exchange network and IMAP/SMTP. As such, it must be constantly running to receive/send mail. Go ahead and exit Davmail. Copy the properties from your home directory to `/etc` with: ``` sudo cp ~/.davmail.properties /etc/davmail/davmail.properties ``` - Add a davmail user: ``` sudo useradd --system davmail ``` - Finally, start and enable the service with: ``` sudo systemctl enable davmail@<your-linux-username> && sudo systemctl start davmail@<your-linux-username> ``` That's it! Note: Always test and verify via the webapp before relying on any setup! -
Raymo111 created this gist
Jul 2, 2020. There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,34 @@ # How to connect to UWaterloo's new email system via any mail client #### By Raymond Li (Raymo111), December 7<sup>th</sup>, 2018 ##### Created on July 1<sup>st</sup>, 2020 (Happy Canada Day!) ##### Credits to [PixlOne](https://github.com/PixlOne) for O365Interactive mode and headless Davmail Step 1: Get [Davmail](http://davmail.sourceforge.net/). I'm on Arch Linux, so I installed it from the AUR. Step 2: Launch and configure Davmail. Use O365Interactive for Protocol, and uncheck `Local POP port`, `Caldav HTTP port`, and `Local LDAP port`. Keep everything else as the default, and hit save. Step 3: Setup your mail client. I'm using Mailspring, which I believe is the best mail client I can get for free. [Not Sponsored] Use manual config (IMAP/SMTP) to setup the account. Use `<your WatIAM username>@uwaterloo.ca` as your username and your WatIAM password. Use `localhost` as the server. Use the ports set in Davmail (1143 for IMAP and 1025 for SMTP by default). Set any authentication to None. The first time you attempt to connect, you'll get a Davmail popup and the UWaterloo adfs page will open. Login with your credentials, and paste the link you reach at the end into the Davmail prompt. Step 4: Run it as a headless service. Success! Your mail should now work. Davmail basically acts as an interpreter between the O365/Exchange network and IMAP/SMTP. As such, it must be constantly running to receive/send mail. Go ahead and exit Davmail. Copy the properties from your home directory to `/etc` with: ``` sudo cp ~/.davmail.properties /etc/davmail/davmail.properties ``` Add a davmail user: ``` sudo useradd --system davmail ``` Finally, start and enable the service with: ``` sudo systemctl enable davmail@<your-linux-username> && sudo systemctl start davmail@<your-linux-username> ``` That's it! Note: Always test and verify via the webapp before relying on any setup!