Minasp v0.6.11 released for Mew v6.11
We are glad to see the news that Mew v6.11 has been released in this week, and excited to announce Minasp v0.6.11 for installing the latest version of the MUA in a declarative way.
FYI, let us share a setting for Mew with which we can read and write emails via IMAP and SMTP for a Microsoft account1, with or without Minasp.
We use a placeholder name example.com for a domain of Microsoft services in the following example. Please replace it with a real domain name such as outlook.com, live.jp, etc.
(setq mew-config-alist
'(
("example.com"
("name" . "Alice Random")
("user" . "alice.random")
("mail-domain" . "example.com")
;; IMAP
("imap-server" . "outlook.office365.com")
("imap-ssl" . t)
("imap-ssl-port" . "993")
("imap-size" . 0)
("imap-delete" . nil)
("imap-auth" . t)
("imap-user" . "alice.random@example.com")
;; SMTP
("smtp-server" . "smtp-mail.outlook.com")
("smtp-port" . "587")
("smtp-ssl" . t)
("smtp-ssl-port" . "587")
("smtp-auth" . t)
("smtp-user" . "alice.random@example.com")
("proto" . "%")
("ssl-verify-level" . 0)
;; OAuth2
("oauth2-client-id" . "9e5f94bc-e8a4-4e73-b8be-63364c29d753") ; Thunderbird's Client ID
("oauth2-client-secret" . "")
("oauth2-auth-url" . "https://login.microsoftonline.com/common/oauth2/v2.0/authorize")
("oauth2-token-url" . "https://login.microsoftonline.com/common/oauth2/v2.0/token")
("oauth2-resource-url" . "https://outlook.office.com/IMAP.AccessAsUser.All https://outlook.office.com/SMTP.Send offline_access")
)
[...]
))
As the inline comment suggests, the above setting borrows Thunderbird's Client ID for OAuth2. Accordingly you may need grant the following permissions in order to authorize Thunderbird by asking your IT administrator or by Microsoft Entra2.
IMAP.AccessAsUser.All
SMTP.Send
offline_access
Note that, while the official manual of Mew v6.11 provides a similar example for a Microsoft 365 account3, it works only with a Microsoft account of the organizational subscription. We hope you will find the above tip useful.
Footnotes:
https://www.mew.org/en/info/release/mew_9.html#xauth2
Archives
2024-04-11: Running Torch for R with CUDA in a Docker container
2024-03-17: Introducing Minasp, a Nix package of Mew
2024-03-02: How to view a figure plotted by Plotly R from macOS Terminal
2024-02-20: How to cite references in Org Mode with Zotero
2024-02-18: Heads up for endangered "404 Not Found" pages
2024-02-17: Finding another blog about Nix: Nixcademy
2024-02-12: Writing blog articles with Org Mode
2023: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2022: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2021: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2020: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2019: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2018: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2017: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2016: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2015: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2014: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2013: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2012: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2011: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2010: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2009: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2008: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2007: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec
2006: Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec