⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imaprc.txt

📁 Vovida 社区开源的 SIP 协议源码
💻 TXT
📖 第 1 页 / 共 2 页
字号:
		       .imaprc secrets revealed!		    Mark Crispin, December 31, 1997The following information describes the format of the /etc/c-client.cfand ~/.imaprc file.  The Columbia MM ~/.mminit file is also read byc-client; however, the only command that ~/.mminit has in common isset keywords.***********************************************************************		     DANGER!  BEWARE!  TAKE CARE!		     ************************************************************************								     **  These files, and this documentation, are for internal UW usage    ** only.  This capability is for UW experimental tinkering, and most  ** emphatically *not* for sorcerer's apprentices at other sites who   ** feel that if a config file capability exists, they must write a    ** config file whether or not there is any need for one.		     **								     **  This information is subject to change without notice.  Commands   ** may be added, removed, or altered.  The behavior of comamnds may   ** change.  Do not use any of this information without consulting me  ** first.  c-client's defaults have been carefully chosen to be right ** for general-purpose and most special-purpose configurations.  If   ** you tinker with these defaults, all hell may break loose.	     **								     **  This is not an idle threat.  There have been several instances of ** people who ignored these warnings and have gotten burned.	     **								     **  Don't even trust this file to work.  Many of the things which can ** be changed by this file can also be changed by the application,    ** and it is totally unpredictable which will take precedence.  It    ** all depends upon how the application is coded.  Not only that, you ** may cause the application to crash.                                **								     **  In other words, keep your cotton-pickin' hands off my defaults.   ** If it crashes and erases your mail, I don't want to hear about it. ** Consider 'em ``mandatory defaults''.  Got a nice ring, eh?  :-) If ** you must tinker with defaults, play with the .pinerc and pine.conf ** files in Pine.  It's got options galore, all supported for you to  ** have fun.  They're also documented; so well documented, it takes   ** two strong men to carry around all the documentation.	 ;-) ;-)     **								     **  Joking aside, you really shouldn't be fooling around with this    ** capability.  It's dangerous, and you can shoot yourself in the     ** foot easily.  If you need custom changes, you are better off with  ** local source code modifications.  Seriously.			     **								     **  One last warning: don't believe anything that you read in this    ** document.  Every effort has been made to ensure that this document ** is incomplete and inaccurate, and I take no responsibility for any ** glimmers of correct information that may, by some fluke, be here.  **								     ***********************************************************************The files are read in order: /etc/c-client.cf, ~/.mminit, ~/.imaprc,and an entry in a later file overrides the setting of an earlier fileexcept as noted below.  This ordering and overriding behavior maychange without notice.Almost all of these facilities can also be set via the mail_parameters()call in the program.  Whether the file overrides mail_parameters(), ormail_parameters() overrides the file, is indeterminate.  It will varyfrom program to program, and it may be one way in one version and theother way in the next version.  It's completely unpredictable, and soanything you do with these files has to be in complete knowledge of whatthe version of each program you're running is going to do.  This isbecause the files do something for testing, but the real capability forconfigurability is put in the program instead.  Are you getting thefeeling that you shouldn't be messing with these files yet?The very first line of the file MUST be the exact string "I accept therisk for IMAP toolkit 4.1."  This ensures that you have checked thefile for correctness against this version of the IMAP toolkit.  Thisenable string will change without notice in future versions, and thenew string may or may not be accurately described in an updatedversion of this file.  So any time you install software that uses theIMAP toolkit, you need to check the new version against these files(if you have insisted upon creating them in spite of all warnings).If two pieces of software use different versions of the IMAP toolkitwith incompatible requirements, one of them won't work.  Re-read thewarning above about why you should not use these files.Subsequent lines are read from the file one at a time.  Case does notmatter.  Unrecognized commands are ignored.1) set new-folder-format   sets what format new mailboxes are created in.  This also controls   default delivery via tmail and dmail.   a) set new-folder-format same-as-inbox      Folder is created using the same mailbox format as INBOX.  If      INBOX is empty, it defaults to system standard.   b) set new-folder-format system-standard      This is the default.  Folder is created using the wired-in system      standard format, which on most UNIX systems is ordinary UNIX      /bin/mail format.  On SCO systems, this is MMDF.   c) set new-folder-format <driver name>      Folder is created using the given driver name, e.g. mbx, unix,      mmdf, etc.   There is no protection against setting this to a silly value (e.g.   news, nntp, dummy) and doing so is a great way to screw things up.   Setting this to mh does not do what you think it does.  Setting this   to tenex or mtx isn't particularly useful.2) set empty-folder-format   sets what format data is written into an empty mailbox file using   mail_copy() or mail_append().  This also controls default delivery   via tmail.   a) set empty-folder-format same-as-inbox      Data is written using the same mailbox format as INBOX.  If      INBOX is empty, it defaults to system standard.   b) set empty-folder-format system-standard      This is the default.  Data is written using the wired-in system      standard format, which on most UNIX systems is ordinary UNIX      /bin/mail format.  On SCO systems, this is MMDF.   c) set-empty-folder-format <driver name>      Data is written using the given driver name, e.g. tenex, unix,      mmdf, etc.   There is no protection against setting this to a silly value (e.g.   news, nntp, dummy) and doing so is a great way to screw things up.   Setting this to mh, mbx, or mx does not work.3) set keywords <word1>, <word2>, ... <wordn>   Sets the list of keyword flags (supported by tenex and mtx) to the   given list.  Up to 30 flags may be given.  Since these names   correspond to numeric bits, the order of the keywords can not be   changed, nor can keywords be removed or inserted (you can append   new keywords, up to the limit of 30).   Set keywords is a deprecated command.  It may not appear in   future versions, or it may appear in a changed form.  It exists   only for compatibility with MM, and should only appear in ~/.mminit   and not in the other files.  It is likely to disappear entirely in   IMAP4.   There is no protection against setting these to silly values, and   doing so is a great way to cause a crash.4) set from-widget header-only   Sets smart insertion of the > character in front of lines that   begin with ``From ''.  Only such lines that are also in UNIX mbox   header file format will have a > character inserted.  The default   is to insert the > character in front of all lines which begin with   ``From '', for the benefit of legacy tools that get confused   otherwise.5) set black-box-directory <directory name>   Sets the directory in which the user's data can be found.  A user's   folders can be found in a subdirectory of the black box directory   named with the user's username.  For example, if the blackbox   directory is /usr/spool/folders/, user jones' data can be found   in /usr/spool/folders/jones/.  The user's black-box directory is   the location of folders, .mminit, .imaprc, .newsrc, and all other   files used by c-client; internally, it sets c-client's idea of the   user's ``home directory'', overriding /etc/passwd.   This command may not appear in ~/.mminit or ~/.imaprc   In black-box mode, it is not permitted to access any folders   outside of the user's personal blackbox directory.  The breakouts   ``/'', ``~'', and ``..'' are not permitted.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.6) set local-host <host name>   Sets c-client's idea of the local host name.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.7) set news-active-file <file name>   Sets the location of the news active file, if it is not in the   standard place.   It is recommended to use a courtesy symbolic link instead.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.8) set news-spool-directory <directory name>   Sets the location of the news spool, if it is not in the standard   place.   It is recommended to use a courtesy symbolic link instead.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.9) set news-state-file <file name>   Sets the location of the news state file (normally $(USER)/.newsrc).   This is not very useful in /etc/c-client.cf because it is a file name.   Setting this in /etc/c-client.cf would set all users to the same file   as their newsrc, which is probably not what you want.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.10) set system-inbox <file name>   Sets the location of the "system inbox", if it is not in the standard   place.  This is the default location of INBOX, or the mail drop point   from which mail is snarfed (e.g. in tenex, mtx, mbox, mh formats).   This is not very useful in /etc/c-client.cf because it is a file name.   Setting this in /etc/c-client.cf would set all users to the same file   as their system inbox, which is probably not what you want.   There is no protection against setting this to a silly value, and   doing so is a great way to cause a crash.11) set tcp-open-timeout <number>    Sets the number of seconds that the TCP routines will block on opening

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -