[mew-int 02123] bug in mew-smtp-command-auth-plain
Werner LEMBERG
wl at example.com
Tue Feb 28 10:29:31 JST 2006
[CVS 2006-Feb-28]
To make mew work with the SMTP host I use, it was necessary to change
mew-smpt-command-auth-plain as follows.
(defun mew-smtp-command-auth-plain (pro pnm)
(let* ((user (mew-smtp-get-auth-user pnm))
(prompt (format "SMTP PLAIN password (%s): " user))
(passwd (mew-smtp-input-passwd prompt pnm))
(plain (mew-base64-encode-string
(format "%s\0%s\0%s" user user passwd))))
(mew-smtp-process-send-string pro "AUTH PLAIN %s" plain)
(mew-smtp-set-status pnm "auth-plain")))
Note the changed format string. It took me a loooong time to find
this out.
With older mew versions it worked just fine, this is, the mail has
been forwarded to the local sendmail process which in turn used the
/etc/mail/auth-info file to send the mail on demand. I'm no longer
able to get this behaviour back.
Werner
More information about the Mew-int
mailing list