Minasp v0.6.11 released for Mew v6.11

[2026-05-13 Wed] #permalink

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:


© 2006-2026 fixedpoint.jp