Disable sendmail port 587

Source: Internet
Author: User
Sendmail closes port 587-Linux Release Technology-Debian information. For more information, see. I bought a VPS in Germany, with no traffic restrictions, and it is updated again.

There is nothing on debian of this vps, And you can install it yourself.

Apt-get install sendmail.

Debian is apt, which is much better than rpm and yum.

When sendmail is installed, port 587 of the verified user is enabled. It seems useless. disable it.

Edit/etc/mail/sendmail. mc

Comment out DAEMON_OPTIONS ('family = inet, Name = MSP-v4, Port = submission, Addr = 127.0.0.1 ') dnl

M4/etc/mail/sendmail. mc>/etc/mail/sendmail. cf

There is another Dongdong, which was not found at the beginning. It took only half a day to find it.

Edit/etc/mail/submit. mc

FEATURE ('msps ',' [127.0.0.1] ', 'ms') dnl

Remove the 'ms' or change it to 'mta'

FEATURE ('msps ',' [127.0.0.1] ') dnl

Then m4/etc/mail/submit. mc>/etc/mail/submit. cf

/Etc/init. d/sendmail restart

Or sendmailconfig will automatically Help You With m4 and restart.

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.