[mew-int 02072] Re: TLS stopped working

Tatsuya Kinoshita tats at example.com
Fri Oct 14 22:04:21 JST 2005


On October 14, 2005, [mew-int 02071],
marsimon (at gmail.com) wrote:

> since i updated my ubuntu 5.04 install, and now since a clean install of
> ubuntu 5.10 i cannot send mail via gmail. i can receive mails but sending
> gives the following message:
> Flushing +queue...
> Creating an SSL/TLS connection...FAILED (cert verify failure)
> Cannot create to the SSL/TLS connection
> 
> the SSL communication is fine for pop.

> ("smtp-ssl-port" . "587")

Remove the above line.  Use the default value "465" ("ssmtp") instead.

> ("mail-domain" . "gmail.com <http://gmail.com>")
> ("smtp-server" . "smtp.gmail.com <http://smtp.gmail.com>")
> ("pop-server" . "pop.gmail.com <http://pop.gmail.com>")

Remove " <...>".

> ("smtp-user" . "xxxxxxxx")
> ("pop-user" . "xxxxxxxxx")

Add "@gmail.com". (ref. Gmail: Help Center)

> ("pop-ssl-port" . "995") ;

The default value is "pop3s" ("995"), so you can remove the above
line.

> ("mew-ssl-cert-directory" . "/etc/ssl/certs/")
> ("mew-ssl-verify-level" . 0)
> ("mew-prog-ssl" . "/usr/sbin/stunnel"))

You can remove the above lines, because those variables are set to
proper values in the startup file `/etc/emacs/site-start.d/*mew*.el'
by Debian (Ubuntu) package mew or mew-beta.  See also
`/usr/share/doc/mew*/README.Debian'.

Also, please note that:

  * Don't use the prefix "mew-" for config keys.
  * Setting mew-ssl-verify-level to 0 is not recommended.
  * The config key "prog-ssl" is not supported.
  * The config keys "ssl-cert-directory" and "ssl-verify-level" are
    not supported by Mew 3.x (supported by Mew 4.x).

I sorted out your config values:

(setq mew-config-alist
      '(
	("gmail"
	 ("name" . "Martin Simon")
	 ("user" . "xxxxx")
	 ("mail-domain" . "gmail.com")
	 ("smtp-ssl" . t)
	 ("smtp-user" . "xxxxx at example.com")
	 ("smtp-server" . "smtp.gmail.com")
	 ("pop-ssl" . t)
	 ("pop-server" . "pop.gmail.com")
	 ("pop-user" . "xxxxx at example.com")
	 ("pop-auth" . pass) ;; pass needed for gmail
	 ("pop-delete" . nil)
	 ("proto" . "+")
	 ("mailbox-type" . pop)
	 ;;
	 )
	;;
	))

-- 
Tatsuya Kinoshita



More information about the Mew-int mailing list