Simply send mail with 163 mailboxes, log the configuration steps below, and just record the key steps.
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 "/>
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/
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