\e$B=i4|@_Dj$O\e(B \e$B4D6-JQ?t\e(B @env{USER} \e$B$+!"\e(B@env{LOGNAME} \e$B$+!"\e(B
@code{(user-login-name)} \e$B$NJV$jCM!#\e(B
\e$BG'>ZK!\e(B -> \e$BJQ?t\e(B @code{elmo-default-imap4-authenticate-type} \e$B$NCM!#\e(B
- \e$B=i4|@_Dj$O\e(B 'login\e$B!#\e(B
+ \e$B=i4|@_Dj$O\e(B @code{login}\e$B!#\e(B
\e$B%[%9%HL>\e(B -> \e$BJQ?t\e(B @code{elmo-default-imap4-server} \e$B$NCM!#\e(B
- \e$B=i4|@_Dj$O\e(B "localhost"\e$B!#\e(B
+ \e$B=i4|@_Dj$O\e(B @samp{localhost}\e$B!#\e(B
\e$B%]!<%HHV9f\e(B-> \e$BJQ?t\e(B @code{elmo-default-imap4-port} \e$B$NCM!#\e(B
\e$B=i4|@_Dj$O\e(B 143\e$B!#\e(B
@end example
\e$B%$%"%&%)!<%k$r1[$($J$1$l$P$J$i$J$$>l9g$G$b\e(B @samp{foo%imap@@gateway} \e$B$N$h\e(B
\e$B$&$K;XDj$G$-$^$9!#\e(B
+@lisp
+;; \e$BNc\e(B: imap4.exaple.org \e$B$r%a%$%s$G;HMQ$9$k\e(B IMAP \e$B%5!<%P$H$7$F@_Dj\e(B
+(setq elmo-default-imap4-server "imap4.example.org")
+@end lisp
+
\e$B%U%)%k%@L>$N:G8e$K\e(B @samp{!} \e$B$,IU$$$F$$$k$H!"\e(BSSL (Secure Socket Layer)\e$B$r\e(B
\e$BMxMQ$7$F%3%M%/%7%g%s$rD%$j$^$9!#\e(B@samp{!!} \e$B$@$H!"\e(BSTARTTLS \e$B$K$h$j\e(BSSL\e$B%3%M%/\e(B
\e$B%7%g%s$rD%$j$^$9!#JQ?t\e(B @code{elmo-default-imap4-stream-type} \e$B$NCM$,\e(B
-non-nil \e$B$J$i!"\e(B@samp{!} \e$B$rIU$1$J$/$F$b\e(B SSL \e$B$r;H$$$^$9!#\e(B'starttls \e$B$J$i\e(B
-@samp{!!} \e$B$r0UL#$7$^$9!#\e(B
+@code{ssl} \e$B$J$i!"\e(B@samp{!} \e$B$rIU$1$J$/$F$b\e(B SSL \e$B$r;H$$$^$9!#\e(B@code{starttls}
+\e$B$J$i\e(B @samp{!!} \e$B$r0UL#$7$^$9!#\e(B
+
+@lisp
+;; \e$BNc\e(B: SSL \e$B$rMxMQ$7$F%3%M%/%7%g%s$rD%$k\e(B
+(setq elmo-default-imap4-stream-type 'ssl)
+@end lisp
(SSL \e$B$rMxMQ$9$k$K$O\e(B \e$BK\%Q%C%1!<%8$N\e(B @file{utils/ssl.el} \e$B$r%$%s%9%H!<%k$9\e(B
\e$B$kI,MW$,$"$j$^$9!#$J$*$+$D!"\e(BOpenSSL\e$B$K4^$^$l$k\e(B @command{openssl} \e$B$K%Q%9$,\e(B
@code{elmo-imap4-force-login} \e$B$,\e(B non-nil \e$B$J$i$P!"3NG'L5$7$K\e(B @code{clear}
\e$B$K@ZBX$($^$9\e(B(\e$B=i4|@_Dj$O\e(B @code{nil})\e$B!#\e(B
+@lisp
+;; \e$BNc\e(B: \e$B@8%Q%9%o!<%I$GG'>Z\e(B
+(setq elmo-default-imap4-authenticate-type 'clear)
+@end lisp
+
\e$BNc\e(B:
@example
For example, you can specify a folder as @samp{foo%imap@@gateway} even
if you have to go through a firewall.
+@lisp
+;; Example: imap4.exaple.org as main IMAP server
+(setq elmo-default-imap4-server "imap4.example.org")
+@end lisp
+
SSL (Secure Socket Layer) connection will be used if a folder name ends
with @samp{!}. Or, if the value of @code{elmo-default-imap4-stream-type}
-is non-nil, SSL will be the default connection. If a folder name ends
-with @samp{!!}, STARTTLS connection will be established. If the value
-of @code{elmo-default-imap4-stream-type} is @code{starttls}, STARTTLS
-will be the default connection.
+is @code{ssl}, SSL will be the default connection. If a folder name
+ends with @samp{!!}, STARTTLS connection will be established. If the
+value of @code{elmo-default-imap4-stream-type} is @code{starttls},
+STARTTLS will be the default connection.
+
+@lisp
+;; Example: Use SSL connection
+(setq elmo-default-imap4-stream-type 'ssl)
+@end lisp
If you specify @code{login}, @code{cram-md5} or @code{digest-md5} as
authentication method, the password is sent in encoded form. But, if
authentication will fall back to @code{clear} without confirmation
(default value is @code{nil}).
+@lisp
+;; Example: password in raw format
+(setq elmo-default-imap4-authenticate-type 'clear)
+@end lisp
+
Example:
@example