网站运营
位置:首页>> 网站运营>> 用Linux作邮件服务器(5)

用Linux作邮件服务器(5)

 来源:中国站长站 发布时间:2008-07-28 17:30:00 

标签:



    
下面的代码清单8.3是文件. pinerc中关于邮箱的配置部分。如果需要改变邮箱的操作时,可以在这里修改。         

代码清单 8.3 .pinerc 中关于邮箱的配置部分


   # 除INBOX以外,设置其他的用于接收邮件的目录(文件夹)列表。例如,{host2}inbox,
    # {host3}inbox等等。
    # Syntax:optnl-lal,{optnl-imap-host-name}folder-path
    incoming-folders=
    
# 设置用于保存邮件的目录(文件夹)列表。缺省情况下,使用列表中的第一个目录。      
例# 如,Main {host1}mail/[],Desktop mail/[]等等。
    # Syntax:optnl-label{optnl-imap-hostname}optnl-directory-path[]
    folder-collections=
    # List,only needed if nntp-server not set,or news is on a different host
    # than used for NNTP posting.Examples:News * []or News *{host3/nntp}[]
    # Syntax:optnl-lable*{news-host/protoclo}[]
    news-collections=
    
    # List of folder pairs; the first indicates a folder to archive,and the 
    # SeC0nd indicates the folder read mp in the first should
    # be moved to.
    incoming-archive-folders=
    
    # List of context and folder pairs,delimited by a space,to be offered for                                                                                 
    # pruning each month.For example:{host1}mail/[]mumble
    pruned-tolders=
    # 设置保存已发送邮件消息的目录(文件夹)。例如old-mail、{host2}sent-mail或""。
    # Default:sent-mail(Unix)or SENTMAIL.MTX(PC)in default folder collection.
    default-fcc=
    # 设置保存邮件消息的目录(文件夹)。例如,saved-messages或{host2}saved-mail或""。
# Default:saved-messages(Unix) or SAVEMAIL (PC)in default folder collection.
default-saved-msg-folder=
    # 设置保存过期邮件消息的目录(文件夹)。例如pm(使用保存邮件目录(文件夹)列表中
    # 的第一个目录)或{host4}pm(使用host4的主目录)等等。
    #Default:postponed-msgs(Unix)or POSIPOND.MTX(PC)in default folder collection.
    postponed-folder=
    # 指定保存已读邮件的目录(文件夹)。
    read-message-folder =
    # 规定存放信件表格的目录(文件夹)。
    form-letter-folder =
    # 指定签名文件的路径。缺省值是~/.signature。
    signature-file =
    # 设置用户全局/共享邮件地址簿的文件名和路径。
    # Default: none
    # Syntax: optnl -label path-name
    global-address-book =
    # 设置用户私人邮件地址簿的文件名和路径。
    # 缺省值:~/. addressbook(Unix)或/ PINE/ ADDRBOOK(PC)
    # Syntax: optnl-label path-name
address-boo k=
    在配置文件.pinerc的最后部分是关于Pine程序属性的设置。通过阅读代码清单8.4注释,容易明白每个配置项的含义。
                        代码清单8.4 .pinerc中Pine属性的设置部分
    # 设置Pine的特性列表,例如:feature-list=select-without-confirm,
    # signature-at-bottom等等。
    # Default condition for all of the features is no-.
    feature-list =
    # Pine executes these keys upon startup(e.g.to view msg 13:i,j,1,3,CR,v)
    initial-keystroke-list =
    # Only show these headers(by default) when composing messages
    default-composer-hdrs =
    # Add these customized headers(and possible default values)when composing
    customized-hdrs =
    # When viewing messages, include this list of headers
    viewer-hdrs =
    # Determines default folder name for Saves...
    # Choices:default-folder,by-sender,by-from,by-recipient,last-folder-used.
    # Default:"default-folder",i.e."saved-messages"(Unix)or"SAVEMAIL"(PC).
    saved-msg-name-rule=
    # Detemines default name for Fcc...
    # Choices:default-fcc,by-recipient,last-fcc-used.
    # Default:"default-fcc"(see also"default-fcc="variable.)
    fcc-name-rule=
    # Sets presentation order of messages in Index. Choices:
    # subject,from,arrival,date,size.Default:"arrival".
    sort-key=
    # Sets presentation order of address book entries.Choices:dont-sort,
    # fullname-with-lists-last,fullname,nickname-with-lists-last,nickname
&nbs, p;   # Default:"fullname-with-lists-last".
    addrbook-sort-rule=
    # Sets presentation order of folder list entries.Choices:
    #
    # Default:"alpha-with-directories-last".
    folder-sort-rule=
    # Sets the default folder and collection lffered at the Goto Command’s prompt.
    goto-default-rule=
    # Sets message which cursor begins on.Choices:first-unseen,first-recent,
    # first,last.Default:"first-unseen".
    incoming-startup-rule=
    # Reflects capabilities of the display you have.Default:US-ASCII.
    # Typical alternatives include ISO-8859-x(x is a number between 1 and 9).
    character-set=
    # Specifies the program invoked by^_in the Composer,
    # or the"enable-alternate-editor-implicitly"feature.
    editor=
    # Specifies the program invoked by ^T in the Composer.
    speller=
    #  Specifies the column of the screen where the composer should wrap.
    composer-wrap-column=
    #  SPecifies the string to insert when replying to a message.
    reply-indent-string=
    #  Specifies the introduction to insert when replying to message.
    reply-lisdin=
    #  Specifies the string to use when sending a message with no to or cc.
    empty-header-message=
    #  Program to view images(e.g. GIF or TIFF attachments).
    Image-viewer=
    #  If"user-domain"not set,strips hostname in FROM address.(Unix only)
    use-only-domain-name=
    #  Your default printer selection
    printer=
    #  List of special Print commands
    personal-print-command=
    #  Which category default print command is in
    personal-print-category=
    #  Set by Pine;controls beginning-of-month sent-mail pruning.
    last-time-prune-questioned=99.11
    #  Set by Pine;controls display of"new version"message.
    last-version-used=4.10
    #  This names the path to an alternative program,and any necessary arguments,
    #  to be used in posting mail messages.Example:
    #                          /usr.lib/sendmail -oem -t -oi
    #  or,
    #                          /usr/local/bin/sendit.sh
    #  The latter a script found in Pine distribution’s contrib/util directory.
    #  NOTE:The program MUST read the message to be posted on standard input,
    #            AND operate in the style of sendmail’s"-t"option.
sendmail-path=

 

0
投稿

猜你喜欢

手机版 网站运营 asp之家 www.aspxhome.com