Re: [質問] IMAP Unknown host imap.gmai.com

KIRIYAMA Kazuhiko <[email protected]> Sat, 01 Jun 2019 11:08:17 +0900
Newsgroups gmane.mail.wanderlust.general.japanese
Message-ID <[email protected]>

On Fri, 31 May 2019 20:22:10 +0900,
Tatsuya Kinoshita wrote:
> 
> On May 31, 2019, [Wanderlust:14745], kiri (at truefc.org) wrote:
> >  %inbox  gmail 
> 
> FreeBSDXEmacsGmailIMAP
> 
> 
> > > 2. openssl  "-crlf" 
> > > 
> > (setq ssl-program-arguments
> >      '("s_client"
> > 	"-connect"
> > 	(format "%s:%s" host service)
> > 	"-crlf"
> >  	))
> > 
> >  .wl 
> 
> "-crlf"ssl-program-arguments
> 
> 
> XEmacs 21.4.24Debian GNU/Linux sid amd64Wanderlust
> GmailIMAPXEmacsmail-lib/tls.el
> open-tls-streamGnuTLSgnutls-cli
> 
> 
> GnuTLSelmo-network-stream-type-alist
> 
> 
> > Debugger entered--Lisp error: (wrong-type-argument characterp nil) 
> >   signal(wrong-type-argument (characterp nil)) 
> >   byte-code("..." [obj demo-buf buffer-live-p kill-buffer signal] 3) 
> >   wl(nil) 
> 
> *.elc
> *.el



--- .wl~	2019-05-31 19:00:02.735560000 +0900
+++ .wl	2019-06-01 10:38:13.864167000 +0900
@@ -32,11 +32,11 @@
 ;(setq wl-nntp-posting-server elmo-nntp-default-server)
 ;;  (SMTP)
 ;; OpenSSL 
-(setq elmo-network-stream-type-alist
-      '(("!" ssl ssl open-ssl-stream)
-	("!!" starttls nil open-network-stream)
-	("!socks" socks socks socks-open-network-stream)
-	("!direct" direct nil open-network-stream)))
+;(setq elmo-network-stream-type-alist
+;      '(("!" ssl ssl open-ssl-stream)
+;	("!!" starttls nil open-network-stream)
+;	("!socks" socks socks socks-open-network-stream)
+;	("!direct" direct nil open-network-stream)))
 ;; SSL/TLS 
 (setq ssl-certificate-directory "/home/kouta/.w3/certs")
 ;; IMAP, gmail:



# cd /usr/local/lib/xemacs/xemacs-packages/lisp/wl/
# foreach f ( `ls *.elc` )
foreach? mv $f $f.org
foreach? end
# ll
total 5996
-rw-r--r--  1 root  wheel     237  2  2 16:34 BUGS
-rw-r--r--  1 root  wheel     238  2  2 16:34 BUGS.ja
-rw-r--r--  1 root  wheel     783  2  2 16:34 COPYING
-rw-r--r--  1 root  wheel     433  2  6 07:31 ChangeLog
-rw-r--r--  1 root  wheel  378247  2  2 16:34 ChangeLog.elmo
-rw-r--r--  1 root  wheel   90716  2  2 16:34 ChangeLog.etc.1.ja
-rw-r--r--  1 root  wheel   46752  2  2 16:34 ChangeLog.etc.2
-rw-r--r--  1 root  wheel   54031  2  2 16:34 ChangeLog.etc.2.ja
-rw-r--r--  1 root  wheel  101642  2  2 16:34 ChangeLog.etc.3
-rw-r--r--  1 root  wheel  127787  2  2 16:34 ChangeLog.etc.3.ja
-rw-r--r--  1 root  wheel   34218  2  2 16:34 ChangeLog.org
-rw-r--r--  1 root  wheel    9569  2  2 16:34 ChangeLog.utils
-rw-r--r--  1 root  wheel  432468  2  2 16:34 ChangeLog.wl
-rw-r--r--  1 root  wheel    5145  2  2 16:34 INSTALL
-rw-r--r--  1 root  wheel    6562  2  2 16:34 INSTALL.ja
-rw-r--r--  1 root  wheel   30002  2  2 16:34 NEWS
-rw-r--r--  1 root  wheel   35596  2  2 16:34 NEWS.ja
-rw-r--r--  1 root  wheel    3708  2  2 16:34 README.ja
-rw-r--r--  1 root  wheel    2982  2  2 16:34 README.md
-rw-r--r--  1 root  wheel     704  2  2 16:34 TODO
-rw-r--r--  1 root  wheel     788  2  2 16:34 TODO.ja
-rw-r--r--  1 root  wheel    2210  2  2 16:34 VERSION
-rw-r--r--  1 root  wheel     107  2 11 16:41 _pkg.el
-rw-r--r--  1 root  wheel   27664  2  2 16:34 acap.el
-rw-r--r--  1 root  wheel   19139  2 11 16:54 acap.elc.org
-rw-r--r--  1 root  wheel    2411  2 11 16:41 auto-autoloads.el
-rw-r--r--  1 root  wheel    2458  2 11 16:54 auto-autoloads.elc.org
-rw-r--r--  1 root  wheel   17600  2  2 16:34 bbdb-wl.el
-rw-r--r--  1 root  wheel   12560  2 11 16:54 bbdb-wl.elc.org
-rw-r--r--  1 root  wheel       0  2 11 16:41 custom-load.el
-rw-r--r--  1 root  wheel     592  2 11 16:54 custom-load.elc.org
-rw-r--r--  1 root  wheel    4459  2  2 16:34 elmo-access.el
-rw-r--r--  1 root  wheel    4171  2 11 16:54 elmo-access.elc.org
-rw-r--r--  1 root  wheel   38327  2  2 16:34 elmo-archive.el
-rw-r--r--  1 root  wheel   34609  2 11 16:54 elmo-archive.elc.org
-rw-r--r--  1 root  wheel    5818  2  2 16:34 elmo-cache.el
-rw-r--r--  1 root  wheel    5746  2 11 16:54 elmo-cache.elc.org
-rw-r--r--  1 root  wheel    2291  2  2 16:34 elmo-database.el
-rw-r--r--  1 root  wheel    1877  2 11 16:54 elmo-database.elc.org
-rw-r--r--  1 root  wheel    9633  2  2 16:34 elmo-date.el
-rw-r--r--  1 root  wheel    6271  2 11 16:54 elmo-date.elc.org
-rw-r--r--  1 root  wheel   14178  2  2 16:34 elmo-dop.el
-rw-r--r--  1 root  wheel   11751  2 11 16:54 elmo-dop.elc.org
-rw-r--r--  1 root  wheel    9028  2  2 16:34 elmo-file.el
-rw-r--r--  1 root  wheel    8068  2 11 16:54 elmo-file.elc.org
-rw-r--r--  1 root  wheel   19679  2  2 16:34 elmo-filter.el
-rw-r--r--  1 root  wheel   18674  2 11 16:54 elmo-filter.elc.org
-rw-r--r--  1 root  wheel   18393  2  2 16:34 elmo-flag.el
-rw-r--r--  1 root  wheel   15684  2 11 16:54 elmo-flag.elc.org
-rw-r--r--  1 root  wheel  127888  2  2 16:34 elmo-imap4.el
-rw-r--r--  1 root  wheel   90557  2 11 16:54 elmo-imap4.elc.org
-rw-r--r--  1 root  wheel    3166  2  2 16:34 elmo-internal.el
-rw-r--r--  1 root  wheel    2658  2 11 16:54 elmo-internal.elc.org
-rw-r--r--  1 root  wheel   12488  2  2 16:34 elmo-localdir.el
-rw-r--r--  1 root  wheel   12635  2 11 16:54 elmo-localdir.elc.org
-rw-r--r--  1 root  wheel    2469  2  2 16:34 elmo-localnews.el
-rw-r--r--  1 root  wheel    2246  2 11 16:54 elmo-localnews.elc.org
-rw-r--r--  1 root  wheel   20844  2  2 16:34 elmo-maildir.el
-rw-r--r--  1 root  wheel   19355  2 11 16:54 elmo-maildir.elc.org
-rw-r--r--  1 root  wheel   10849  2  2 16:34 elmo-map.el
-rw-r--r--  1 root  wheel   12613  2 11 16:54 elmo-map.elc.org
-rw-r--r--  1 root  wheel   17190  2  2 16:34 elmo-mime.el
-rw-r--r--  1 root  wheel   17128  2 11 16:54 elmo-mime.elc.org
-rw-r--r--  1 root  wheel   14967  2  2 16:34 elmo-msgdb.el
-rw-r--r--  1 root  wheel   20249  2 11 16:54 elmo-msgdb.elc.org
-rw-r--r--  1 root  wheel   19500  2  2 16:34 elmo-multi.el
-rw-r--r--  1 root  wheel   18387  2 11 16:54 elmo-multi.elc.org
-rw-r--r--  1 root  wheel   21261  2  2 16:34 elmo-net.el
-rw-r--r--  1 root  wheel   25236  2 11 16:54 elmo-net.elc.org
-rw-r--r--  1 root  wheel   49504  2  2 16:34 elmo-nntp.el
-rw-r--r--  1 root  wheel   38172  2 11 16:54 elmo-nntp.elc.org
-rw-r--r--  1 root  wheel    2665  2  2 16:34 elmo-null.el
-rw-r--r--  1 root  wheel    3436  2 11 16:54 elmo-null.elc.org
-rw-r--r--  1 root  wheel    9980  2  2 16:34 elmo-passwd.el
-rw-r--r--  1 root  wheel   10031  2 11 16:54 elmo-passwd.elc.org
-rw-r--r--  1 root  wheel   16715  2  2 16:34 elmo-pipe.el
-rw-r--r--  1 root  wheel   17017  2 11 16:54 elmo-pipe.elc.org
-rw-r--r--  1 root  wheel   28950  2  2 16:34 elmo-pop3.el
-rw-r--r--  1 root  wheel   23280  2 11 16:54 elmo-pop3.elc.org
-rw-r--r--  1 root  wheel   20505  2  2 16:34 elmo-rss.el
-rw-r--r--  1 root  wheel   12813  2 11 16:54 elmo-rss.elc.org
-rw-r--r--  1 root  wheel   14238  2  2 16:34 elmo-search.el
-rw-r--r--  1 root  wheel   13169  2 11 16:54 elmo-search.elc.org
-rw-r--r--  1 root  wheel    4743  2  2 16:34 elmo-sendlog.el
-rw-r--r--  1 root  wheel    5202  2 11 16:54 elmo-sendlog.elc.org
-rw-r--r--  1 root  wheel   17600  2  2 16:34 elmo-shimbun.el
-rw-r--r--  1 root  wheel   17368  2 11 16:54 elmo-shimbun.elc.org
-rw-r--r--  1 root  wheel    6620  2  2 16:34 elmo-signal.el
-rw-r--r--  1 root  wheel    5596  2 11 16:54 elmo-signal.elc.org
-rw-r--r--  1 root  wheel    9917  2  2 16:34 elmo-spam.el
-rw-r--r--  1 root  wheel   11435  2 11 16:54 elmo-spam.elc.org
-rw-r--r--  1 root  wheel   14261  2  2 16:34 elmo-split.el
-rw-r--r--  1 root  wheel   11199  2 11 16:54 elmo-split.elc.org
-rw-r--r--  1 root  wheel   72481  2  2 16:34 elmo-util.el
-rw-r--r--  1 root  wheel   52541  2 11 16:54 elmo-util.elc.org
-rw-r--r--  1 root  wheel   16610  2  2 16:34 elmo-vars.el
-rw-r--r--  1 root  wheel   15525  2 11 16:54 elmo-vars.elc.org
-rw-r--r--  1 root  wheel    2149  2  2 16:34 elmo-version.el
-rw-r--r--  1 root  wheel    1275  2 11 16:54 elmo-version.elc.org
-rw-r--r--  1 root  wheel   69947  2  2 16:34 elmo.el
-rw-r--r--  1 root  wheel   81263  2 11 16:54 elmo.elc.org
-rw-r--r--  1 root  wheel    5554  2  2 16:34 elsp-bogofilter.el
-rw-r--r--  1 root  wheel    8669  2 11 16:54 elsp-bogofilter.elc.org
-rw-r--r--  1 root  wheel    8256  2  2 16:34 elsp-bsfilter.el
-rw-r--r--  1 root  wheel   12241  2 11 16:54 elsp-bsfilter.elc.org
-rw-r--r--  1 root  wheel    5038  2  2 16:34 elsp-sa.el
-rw-r--r--  1 root  wheel    5830  2 11 16:54 elsp-sa.elc.org
-rw-r--r--  1 root  wheel    4295  2  2 16:34 elsp-spamfilter.el
-rw-r--r--  1 root  wheel    4430  2 11 16:54 elsp-spamfilter.elc.org
-rw-r--r--  1 root  wheel    3903  2  2 16:34 elsp-spamoracle.el
-rw-r--r--  1 root  wheel    4921  2 11 16:54 elsp-spamoracle.elc.org
-rw-r--r--  1 root  wheel    6954  2  2 16:34 im-wl.el
-rw-r--r--  1 root  wheel    3886  2 11 16:54 im-wl.elc.org
-rw-r--r--  1 root  wheel    6017  2  2 16:34 ja.Emacs
-rw-r--r--  1 root  wheel    8796  2  2 16:34 mmimap.el
-rw-r--r--  1 root  wheel    7108  2 11 16:54 mmimap.elc.org
-rw-r--r--  1 root  wheel   32612  2  2 16:34 modb-entity.el
-rw-r--r--  1 root  wheel   34521  2 11 16:54 modb-entity.elc.org
-rw-r--r--  1 root  wheel   19221  2  2 16:34 modb-legacy.el
-rw-r--r--  1 root  wheel   21084  2 11 16:54 modb-legacy.elc.org
-rw-r--r--  1 root  wheel   22386  2  2 16:34 modb-standard.el
-rw-r--r--  1 root  wheel   20441  2 11 16:54 modb-standard.elc.org
-rw-r--r--  1 root  wheel    9998  2  2 16:34 modb.el
-rw-r--r--  1 root  wheel   14089  2 11 16:54 modb.elc.org
-rw-r--r--  1 root  wheel   38324  2  2 16:34 pldap.el
-rw-r--r--  1 root  wheel   25164  2 11 16:54 pldap.elc.org
-rw-r--r--  1 root  wheel   38513  2  2 16:34 ptexinfmt.el
-rw-r--r--  1 root  wheel   19602  2 11 16:54 ptexinfmt.elc.org
-rw-r--r--  1 root  wheel    4879  2  2 16:34 rfc2368.el
-rw-r--r--  1 root  wheel    2648  2 11 16:54 rfc2368.elc.org
-rw-r--r--  1 root  wheel    4504  2  2 16:34 slp.el
-rw-r--r--  1 root  wheel    4830  2 11 16:54 slp.elc.org
-rw-r--r--  1 root  wheel    7529  2  2 16:34 ssl.el
-rw-r--r--  1 root  wheel    5754  2 11 16:54 ssl.elc.org
-rw-r--r--  1 root  wheel    8791  2  2 16:34 utf7.el
-rw-r--r--  1 root  wheel    5388  2 11 16:54 utf7.elc.org
-rw-r--r--  1 root  wheel   11981  2  2 16:34 wl-acap.el
-rw-r--r--  1 root  wheel    7797  2 11 16:54 wl-acap.elc.org
-rw-r--r--  1 root  wheel   33011  2  2 16:34 wl-action.el
-rw-r--r--  1 root  wheel   27565  2 11 16:54 wl-action.elc.org
-rw-r--r--  1 root  wheel   20520  2  2 16:34 wl-addrbook.el
-rw-r--r--  1 root  wheel   13117  2 11 16:54 wl-addrbook.elc.org
-rw-r--r--  1 root  wheel   25860  2  2 16:34 wl-address.el
-rw-r--r--  1 root  wheel   17636  2 11 16:54 wl-address.elc.org
-rw-r--r--  1 root  wheel   21256  2  2 16:34 wl-addrmgr.el
-rw-r--r--  1 root  wheel   15167  2 11 16:54 wl-addrmgr.elc.org
-rw-r--r--  1 root  wheel    2064  2  2 16:34 wl-batch.el
-rw-r--r--  1 root  wheel    1460  2 11 16:54 wl-batch.elc.org
-rw-r--r--  1 root  wheel   12560  2  2 16:34 wl-complete.el
-rw-r--r--  1 root  wheel    7630  2 11 16:54 wl-complete.elc.org
-rw-r--r--  1 root  wheel   14862  2  2 16:34 wl-demo.el
-rw-r--r--  1 root  wheel    7682  2 11 16:54 wl-demo.elc.org
-rw-r--r--  1 root  wheel    3394  2  2 16:34 wl-dnd.el
-rw-r--r--  1 root  wheel    2275  2 11 16:54 wl-dnd.elc.org
-rw-r--r--  1 root  wheel  100579  2  2 16:34 wl-draft.el
-rw-r--r--  1 root  wheel   69728  2 11 16:54 wl-draft.elc.org
-rw-r--r--  1 root  wheel   25654  2  2 16:34 wl-e21.el
-rw-r--r--  1 root  wheel   17631  2 11 16:54 wl-e21.elc.org
-rw-r--r--  1 root  wheel   28546  2  2 16:34 wl-expire.el
-rw-r--r--  1 root  wheel   26764  2 11 16:54 wl-expire.elc.org
-rw-r--r--  1 root  wheel   44066  2  2 16:34 wl-fldmgr.el
-rw-r--r--  1 root  wheel   27528  2 11 16:54 wl-fldmgr.elc.org
-rw-r--r--  1 root  wheel  101492  2  2 16:34 wl-folder.el
-rw-r--r--  1 root  wheel   68892  2 11 16:54 wl-folder.elc.org
-rw-r--r--  1 root  wheel   39356  2  2 16:34 wl-highlight.el
-rw-r--r--  1 root  wheel   29281  2 11 16:54 wl-highlight.elc.org
-rw-r--r--  1 root  wheel    3579  2  2 16:34 wl-mailto.el
-rw-r--r--  1 root  wheel    1765  2 11 16:54 wl-mailto.elc.org
-rw-r--r--  1 root  wheel   34101  2  2 16:34 wl-message.el
-rw-r--r--  1 root  wheel   22612  2 11 16:54 wl-message.elc.org
-rw-r--r--  1 root  wheel   39276  2  2 16:34 wl-mime.el
-rw-r--r--  1 root  wheel   29922  2 11 16:54 wl-mime.elc.org
-rw-r--r--  1 root  wheel   11407  2  2 16:34 wl-mule.el
-rw-r--r--  1 root  wheel    6400  2 11 16:54 wl-mule.elc.org
-rw-r--r--  1 root  wheel   40198  2  5 16:30 wl-news.el
-rw-r--r--  1 root  wheel   39829  2 11 16:54 wl-news.elc.org
-rw-r--r--  1 root  wheel    4893  2  2 16:34 wl-qs.el
-rw-r--r--  1 root  wheel    4506  2 11 16:54 wl-qs.elc.org
-rw-r--r--  1 root  wheel    8877  2  2 16:34 wl-refile.el
-rw-r--r--  1 root  wheel    6802  2 11 16:54 wl-refile.elc.org
-rw-r--r--  1 root  wheel   47333  2  2 16:34 wl-score.el
-rw-r--r--  1 root  wheel   32219  2 11 16:54 wl-score.elc.org
-rw-r--r--  1 root  wheel   17224  2  2 16:34 wl-spam.el
-rw-r--r--  1 root  wheel   17224  2 11 16:54 wl-spam.elc.org
-rw-r--r--  1 root  wheel  184999  2  2 16:34 wl-summary.el
-rw-r--r--  1 root  wheel  144705  2 11 16:54 wl-summary.elc.org
-rw-r--r--  1 root  wheel    7134  2  2 16:34 wl-template.el
-rw-r--r--  1 root  wheel    5627  2 11 16:54 wl-template.elc.org
-rw-r--r--  1 root  wheel   38812  2  2 16:34 wl-thread.el
-rw-r--r--  1 root  wheel   38098  2 11 16:54 wl-thread.elc.org
-rw-r--r--  1 root  wheel   41508  2  2 16:34 wl-util.el
-rw-r--r--  1 root  wheel   25431  2 11 16:54 wl-util.elc.org
-rw-r--r--  1 root  wheel  108124  2  2 16:34 wl-vars.el
-rw-r--r--  1 root  wheel  105049  2 11 16:54 wl-vars.elc.org
-rw-r--r--  1 root  wheel    7266  2  2 16:34 wl-version.el
-rw-r--r--  1 root  wheel    4548  2 11 16:54 wl-version.elc.org
-rw-r--r--  1 root  wheel   21610  2  2 16:34 wl-xmas.el
-rw-r--r--  1 root  wheel   16031  2 11 16:54 wl-xmas.elc.org
-rw-r--r--  1 root  wheel   33741  2  2 16:34 wl.el
-rw-r--r--  1 root  wheel   22968  2 11 16:54 wl.elc.org
# 

wl 

Debugger entered--Lisp error: (void-function cl-etypecase)
  signal(void-function (cl-etypecase))
  (condition-case obj (progn (if check ...) (let ... ...) (unless arg ... ... ...)) (error (if ... ...) (signal ... ...)) (quit))
  (let (demo-buf check) (unless wl-init (if wl-demo ...) (setq check t)) (wl-init) (condition-case obj (progn ... ... ...) (error ... ...) (quit)) (when wl-biff-check-folder-list (unless arg ...) (wl-biff-start)) (if (buffer-live-p demo-buf) (kill-buffer demo-buf)))
  wl(nil)
  call-interactively(wl)
  command-execute(wl t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

mail-lib/tls.el  gnutls-cli 
 ()

# ll /usr/local/lib/xemacs/xemacs-packages/lisp/mail-lib | grep tls
-rw-r--r--  1 root  wheel  11214  3  8  2006 starttls.el
-rw-r--r--  1 root  wheel   5655  7 24  2008 starttls.elc
-rw-r--r--  1 root  wheel   5648  3  8  2006 tls.el
-rw-r--r--  1 root  wheel   3880  7 24  2008 tls.elc
# pkg info -aI | grep gnutls
gnutls-3.6.6_2                 GNU Transport Layer Security library
# gnutls-cli -v
gnutls-cli 3.6.6
Copyright (C) 2000-2019 Free Software Foundation, and others, all rights reserved.
This is free software. It is licensed for use, modification and
redistribution under the terms of the GNU General Public License,
version 3 or later <http://gnu.org/licenses/gpl.html>


Please send bug reports to:  <[email protected]>
# 

 "gnutls-cli -p %p %h" 
 gnutls-cli 

> 
> -- 
> 
> 

---
KIRIYAMA Kazuhiko