Introduction to the Mail service under Linux

Source: Internet
Author: User
1. Mail Service

Service side: QMail sendmail postfix (CentOS 6 comes with)

Protocol: SMTP

Port: 25

Client: Mail,mutt

2. Service files

1./etc/init.d/postfix Status

2. lsof-i:25

3. Send an email command

1.mail

Mail-s "title" E-mail address < files to send

Mail-s "Hello world" [email protected] </etc/hosts

echo "Body |mail-s" Hello world "[email protected]

MAILQ viewing the queue for outgoing messages

2.mutt--With mail

Mutt-s ""

4.2 Ways of enterprise mail start service

1. Direct Start postfix Service

2. With third-party SMTP services

1.vi/etc/mail.rc

Send mail from qq.com
Set [email protected] smtp=smtp.163.com
Set smtp-auth-user=62379 [email protected] Smtp-auth=login

Introduction to the Mail service under Linux

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.