Installation and use of the Linux command--mutt "Go"

Source: Internet
Author: User

Linux Command--mutt installation and use of "go" first introduce mutt this software, it is a text-based interface of the mail client, very small, but powerful, you can use it to read and write, reply to save and delete your mail, can be in the Linux command line mode to send and receive mail attachments. I only speak a small part of the feature because I am also just beginning to grope for this software. For more information, please check the website: http://www.mutt.orgfirst, the installation of Mutt1Yum-y install SendMail2#需要安装sendmail并开启防火墙的25端口, if you need to receive mail 110 port also to open3Yum-y Install mutt Second, configuration information about the configuration information, there is a little need to explain, many online tutorials are said, editing/ROOT/.MUTTRC to modify the configuration file, I want to say that I after the installation is complete,/The root directory does not have. muttrc This hidden file, you can copy it from somewhere else, or create a new file yourself.  Here I am the copy. You can find muttrc this file by using the Find command, and the command is as follows find/-name muttrc, then copy to/from command CP/ETC/MUTTRC/ROOT/.MUTTRCafter Root is renamed. MUTTRC, then you can edit the configuration file. Copy Code1#如果你收到的邮件乱码, set the following information2 Setcharset="Utf-8"3 Setrfc2047_parameters=Yes4#如果你想自定义发件人信息, the following settings are required5 SetEnvelope_from=Yes6 SetUse_from=Yes7 Set  from=[email protected]8 SetRealname="itdhz"after the copy code finishes installing mutt, the/usr/share/doc/mutt*There is a good manual for you to look at. Third, the Mail send syntax: Mutt [-hnprvxz][-a< files >][-b< addresses >][-c< addresses >][-f< mail files >][-F< profiles >][-H< mail drafts >][-i< files >][-m< type;] [-s< theme >[email address] parameter:-A < files >add additional files to the message. -B < address >specifies the recipient address of the blind copy. -C < address >specifies the recipient address of the copy. -F < mail file >Specifies the message file to load. -F < configuration file >Specifies the settings file for the Mutt program without reading the preset. muttrc file. -h Display Help. -H < mail drafts >sends a draft of the specified message. -I < files >inserts the specified file into the message text. -M < type >Specifies the default mailbox type. -N do not go to read the program cultivation file (/etc/muttrc). -p When you finish editing a message in Mutt and do not want to send the message immediately, you can send the message in a reprieve. -R Opens the mail file in a read-only manner. -S < themes >Specifies the subject of the message. -v Displays the version information of the mutt and the parameters given when the file was compiled. -x simulates the way Mailx is edited. -Z and-f parameter is used together, if there is no mail in the message file will not start mutt. Four, for example, I use my own backup site of a piece of code to illustrate Mutt [email protected]-S"itdhz Data Backup"-a/home/backup/itdhz.sql </root/Readme.txt or Echo"Test"| Mutt [email protected]-s"itdhz Data Backup"-a/home/backup/Itdhz.sql This code means, send mail to [email protected] This mailbox, the subject is "Itdhz data backup", the message content in/root/readme.txt, the message contains the attachment/home/backup/itdhz.sql. If you want to send more than one attachment, you need to add it before each attachment-a parameter. Original: http://www.itdhz.com/post-179.html

Installation and use of the Linux command--mutt "Go"

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.