SMTP service under UbuntuHardyHeron8.04

Source: Internet
Author: User
After upgrading our server to UbuntuHardyHeron8.04, we found that the email service had risen sharply. Finally, we checked that the SMTP service was not secure: It was fully open, which is a big problem. After a series of tests, we found that the/etc/postfix/master. cf was modified, and the two annotations were removed: smtpinetn ---- smtpd # submissioninetn ---- smtpd #-osmtpd_etrn _

After upgrading our server to Ubuntu Haron 8.04, we found that the mail service had risen sharply. Finally, we checked that the SMTP service was insecure: It was fully open, which was a big problem.

After a series of tests, we found that the/etc/postfix/master. cf was modified and the two annotations were removed:

Smtp inet n--smtpd
# Submission inet n--smtpd
#-O smtpd_etrn_restrictions = reject
-O smtpd_client_restrictions = permit_sasl_authenticated, reject
# Smtps inet n--smtpd
#-O smtpd_tls_wrappermode = yes-o smtpd_sasl_auth_enable = yes
# Submission inet n--smtpd
-O smtpd_etrn_restrictions = reject
-O smtpd_enforce_tls = yes-o smtpd_sasl_auth_enable = yes

In this way, the client must use TLS for connection and pass verification.

It is not clear whether other Web mail services on this machine have any impact.

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.