aboutsummaryrefslogtreecommitdiff
path: root/config/emailproxy.config
diff options
context:
space:
mode:
Diffstat (limited to 'config/emailproxy.config')
-rw-r--r--config/emailproxy.config22
1 files changed, 22 insertions, 0 deletions
diff --git a/config/emailproxy.config b/config/emailproxy.config
new file mode 100644
index 0000000..b464145
--- /dev/null
+++ b/config/emailproxy.config
@@ -0,0 +1,22 @@
+[IMAP-1993]
+server_address = outlook.office365.com
+server_port = 993
+local_address = 0.0.0.0
+
+[SMTP-1465]
+server_address = smtp.office365.com
+server_port = 465
+local_address = 0.0.0.0
+
+[@example.com]
+permission_url = https://login.microsoftonline.com/common/oauth2/v2.0/authorize
+token_url = https://login.microsoftonline.com/common/oauth2/v2.0/token
+oauth2_scope = https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/POP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access
+redirect_uri = https://login.microsoftonline.com/common/oauth2/nativeclient
+client_id = 9e5f94bc-e8a4-4e73-b8be-63364c29d753
+client_secret =
+
+[emailproxy]
+delete_account_token_on_password_error = False
+use_login_password_as_client_credentials_secret = True
+allow_catch_all_accounts = True