Debian Patches

Status for mew-beta/7.0.50~6.9+0.20230214-1

Patch Description Author Forwarded Bugs Origin Last update
010_contrib.patch contribution files to Mew Forked to <https://github.com/tats/mew-contrib> to maintain patches.
Added mew-nmz.el from <http://www.meadowy.org/~shirai/elips/mew-nmz.el.gz>.
Added mew-absfilter.el from <https://github.com/tabmore/mew>.

diff -urN mew.orig/contrib/mew-absfilter.el mew/contrib/mew-absfilter.el
no upstream, https://github.com/kazu-yamamoto/mew-contrib
020_locale-utf8.patch Use the C.UTF-8 locale instead of the C locale for GnuPG programs Tatsuya Kinoshita <tats@debian.org> no
500_gnutls.patch Add GnuTLS support for SMTP, IMAP, POP, and NNTP
Mew now supports GnuTLS library for TLS connections when the Emacs
is built with it. To enable it, set mew-ssl-default to 'native.

mew-{imap,nntp,pop,smtp}-ssl now accept the following symbols:

native - Use GnuTLS (this requires Emacs compiled with GnuTLS
library). When mew-smtp-ssl-port is equal to
mew-smtp-port, a plain connection will be opened and
upgraded by STARTTLS.
tunnel - Use an external program to establish a TLS tunnel.
stunnel(1) utility is used by default.

The value of mew-ssl-default is used when mew-{imap,nntp,pop,smtp}-ssl
is 't'.

cf. https://groups.google.com/g/mew-ja/c/sSfEPKD_CSM


diff --git a/elisp/mew-config.el b/elisp/mew-config.el
index 4ef9ea6..4d02cfe 100644
Hiroki Sato <hrs@allbsd.org> no https://github.com/tats/Mew/tree/feature/gnutls 2020-02-12
510_xoauth2.patch Experimental support for IMAP/SMTP/POP with XOAUTH2
This patch is just tested with:
+ Gmail SMTP/IMAP XOAUTH2, Ubuntu Linux
and requires oauth2.el from ELPA.

Get your own OAuth cliend-id and client-secret and
setup these variables in your init.el:

(setq mew-auth-oauth-client-id "xxxxxxxxxapps.googleusercontent.com"
mew-auth-oauth-client-secret "xxxxxxxxxxxxxxxxxxxxxxxxxx"
plstore-cache-passphrase-for-symmetric-encryption t
epg-pinentry-mode 'loopback)

You may want to give priority to XOAUTH2:

(setq mew-config-alist
'(
("default"
; ...
(smtp-auth-list '("XOAUTH2"))
(pop-auth-list '("XOAUTH2"))
(imap-auth-list '("XOAUTH2")))
; ...
))

If you want to another email service instead of Gmail, you will
have to change these variables:

(defvar mew-auth-oauth2-auth-url
"https://accounts.google.com/o/oauth2/auth"
"OAuth2 auth server URL.")

(defvar mew-auth-oauth2-token-url
"https://accounts.google.com/o/oauth2/token"
"OAuth2 token server URL.")

(defvar mew-auth-oauth2-resource-url
"https://mail.google.com/"
"URL used to request access to Mail Resources.")

(defvar mew-auth-oauth2-redirect-url nil
"URL used to OAuth redirect url.")

cf. https://groups.google.com/g/mew-ja/c/Hn9L27ll-eY


diff --git a/elisp/mew-auth.el b/elisp/mew-auth.el
index 943ed92..bef4706 100644
Yoshinari Nomura <nom@quickhack.net> no https://github.com/tats/Mew/tree/feature/xoauth2 2021-03-31

All known versions for source package 'mew-beta'

Links