Linux Extranet Email configuration

Source: Internet
Author: User

Linux third-party email configuration  

In many cases we need Linux to send a log of scheduled tasks, or to back up the failed message log to our designated mailbox, we need to configure the Linux mail service postfix or use third-party mail, which describes the third-party mail Linux configuration method,

In my email [email protected] for example:

Configuration file/etc/mail.rc

Append the following content:

Cat>>/etc/mail.rc<<eof

Set [email protected]

Set smtp=smtp.qq.com

Set Smtp-auth-user=dragonfly

Set smtp-auth-password=----

Set Smtp-auth=login

Eof

Note: If the 550 error, stating that your QQ mailbox does not open a third-party SMTP service, you need to login QQ set up SMTP service, should be set up a separate authorization password, 163 mailbox Similarly, the default is to close the third-party mail service.

We're teaching you to use the Mail command.

For example, I want to send the contents of the hosts file to the designated [email protected] email address

mail-s "title" [email protected] </etc/hosts

Linux Extranet Email configuration

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.