Linux system sends mail using MAIL command 163 mailbox

Source: Internet
Author: User

Simply send mail with 163 mailboxes, log the configuration steps below, and just record the key steps.


    1. Request 163 mailbox, after the client authorization code is opened, the client can use this authorization code to send mail. There is no need for cumbersome validation mechanisms.

      650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/8E/D9/wKiom1jMs7DBXBoSAASDMdAp8tM693.jpg-wh_500x0-wm_ 3-wmp_4-s_2433432810.jpg "title=" 163mail "alt=" Wkiom1jms7dbxbosaasdmdap8tm693.jpg-wh_50 "/>

    2. Add configuration information to the end of the/etc/mail.rc file.

      # send Emailset [email protected] Set Smtp=smtp.163.com:25set smtp-auth=login# authorized user Set [email protected]# authorization Password Set Smtp-aut h-password=123456# Ignore validation set Ssl-verify=ignoreset nss-config-dir=/etc/maildbs/
    3. Use the Mail command to send mail

      # send regular mail: echo "This is a message with attachments" |mail-s "Test mail" [email protected]# send echo with attachments "  This is a message with an attachment" |mail-s "test Message"-a file.txt [Email protected]



This article is from the "-= lake-side Bamboo =-" blog, please be sure to keep this source http://bronte.blog.51cto.com/2418552/1907862

Linux system sends mail using MAIL command 163 mailbox

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.