Linux configuration 163 mailbox Send mail

Source: Internet
Author: User
Tags auth
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.

Add configuration information to the end of the/etc/mail.rc file.
Send email
Set [email protected]
Set smtp=smtp.163.com:25
Set Smtp-auth=login
Authorized users
Set [email protected]
Authorization password
Set SMTP-AUTH-PASSWORD=123456ZRJ
Ignore validation
Set Ssl-verify=ignore
Set 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" 1821980****@163.com
Send a message with an attachment
? echo "This is a message with attachments" |mail-s "Test Mail"-a file.txt [email protected]
?

Linux configuration 163 mailbox Send mail

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.