blob: 05f2ba5bae861a28fc371a508b1b71ff436f0679 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# UTHSC E-mail
Similar to many organizations UT uses outlook and exchange for their E-mail. Thanks to mobile support it is possible to work with email using other tools outside the UT network.
## Prospect E-mail client
People have success using Prospect as an E-mail client. You can follow the instructions on the UT website that are similar to Android support.
## Davmail IMAP bridge
An interesting solution is to create an IMAP bridge. It is a little slower, but can be set up! That way you can use your favorite E-mail tool (and filters!).
I have had success setting up davmail with the following settings and testing with thunderbird first:
```
apt install davmail openjfx thunderbird
```
Start davmail with
```
davmail -d
```
Stop davmail and edit the ~/.davmail.properties file with the following.
```
davmail.mode=O365Interactive
davmail.url=https://outlook.office365.com/EWS/Exchange.asmx
davmail.oauth.clientId=d3590ed6-52b3-4102-aeff-aad2292ab01c
davmail.enableOauth2=true
davmail.oauth.deviceCode=true
davmail.oauth.enableOauth2=true
davmail.oauth.redirectUri=urn:ietf:wg:oauth:2.0:oob
davmail.oauth.tenantId=common
davmail.imapPort=1143
davmail.smtpPort=1025
davmail.logFilePath=/home/yours/.davmail/davmail.log
log4j.logger.httpclient.wire=DEBUG
log4j.rootLogger=DEBUG
log4j.logger.org.apache.http.wire=DEBUG
```
Restart davmail and point thunderbird to
```
IMAP Server: localhost:1143
SMTP Server: localhost:1025
Username: your-email@uthsc.edu
```
Note that you should set the UT password in the 2FA browser when it pops up. Do *not* set it in Thunderbird, also when it asks for it to send out SMTP.
When something fails make sure to track the log in ~/.davmail/davmail.log
# Using Mutt
Some useful links:
=> https://jonathanh.co.uk/blog/exchange-mutt/
=> https://movementarian.org/blog/posts/mutt-and-office365/
=> https://www.vanormondt.net/~peter/blog/2021-03-16-mutt-office365-mfa.html
If someone can get the last one to work we won't even need davmail any more!
|