How to configure Elm and pine after Sendmall is installed

Source: Internet
Author: User
Keywords Pine installation Sendmall
Tags aliyun code configuration configure configured display domain domain name

&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP; Once you have configured your Sendmall messaging system, you can send and receive messages. But just being able to send and receive messages is not enough, you also need to display the mail, manage the mailbox program, so you must also configure the MUA program. There are many such MUA programs in Linux/unix, the most influential and most widely used are elm and 16880.html ">pine." These two mail programs are included in each version of Linux. The following describes how to configure them correctly.

Configure ELM

Elm represents electronic Mail, which is powerful and provides a good help system. In most cases, you can run the Elm program as long as the SendMail mail system works.

The Elm configuration file is/usr/lib/elm/elm, and for the average user, only the option for the machine name and domain name in this file should be modified. The elm.rc file given in the code listing 8.L has been abridged and retains only the part of the user that the general users want to modify.

Code Listing elm.rc configuration file

# local hostname
Hostname=mymailer

# Domain Name_
Hostdomain=. Sw. Edu. cn

# fully qualitifed domain name
hostfullname=mymailer.sw.edu.cn


As you can see from the example above, the format of the configuration statement is: "variable = value", which looks more intuitive. It is noteworthy that the city name must be preceded by a dot, otherwise it will cause the machine name error.

By default, the ELM program uses the Ascⅱ character set, and when it encounters unrecognized characters, it invokes the system process Metamail to display the code. When the process Metamail run, it slows down the elm of the Mail program. In order for the Elm program to handle the standard character set used by the Linux system, add the following statement to the file/usr/lib/elm/elm.rc:

Displaycharset=iso-8859-l

Also, because the Elm program does not properly handle some special characters in the Iso-8859-l character set, add the following two lines to the file elm.rc:

Charset=iso-8859-l
Textencoding=8bit

By default, the system removes the last of a byte to produce 7-bit characters. The second line of command sets the system to handle 8-bit characters.

The configuration information for the Elm program is saved in the file/usr/lib/elm/elm.rc and the user's home directory. Elm/elm.rc file. These two files are generated automatically when the Elm program is run, and users do not have to edit these two files directly.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.