Linux5 call the remote email server to send emails

Source: Internet
Author: User
Linux5 call the remote email server to send emails 1. uninstall sendmail and postfixyumerasesendmailyumerasepostfix2. download mailx software: mailx-12.4.tar.bz23.install the software #tarjxvfmailx-12.4.tar.bz2 # cdmailx -...
Linux5 call the remote email server to send an email 1. uninstall sendmail and postfixyum erase sendmailyum erase postfix 2. download mailx software: mailx-12.4.tar.bz2 3. installation software # tar jxvf mailx-12.4.tar.bz2 # cd mailx-12.4 # make install UCBINSTALL =/usr/bin/install www.2cto.com 4. email sending command: [root @ node2 ~] # Echo "test" | mailx-v-s "tes88t" 704405748@qq.com 5. edit the mailx configuration file: [root @ node2 mailx-12.4] # vim/etc/nail. rcset from = dahailinux@163.com smtp = smtp.163.comset smtp-auth-user = dahailinux@163.com smtp-auth-password = wfff000000008.cff0fm smtp-auth = login6. then you can send the mail.
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.