Configure the SMTP server in IIS

Source: Internet
Author: User

Even though Serv-U was used as an FTP server, it seems that no one was passing files at the time, so I didn't care about it. Later, I accidentally opened the "System Log" and found many error logs that could not be sent by emails. Open the mailroot directory and find that nearly 10000 emails are accumulated under the queue, and the number of emails increases and decreases. So I realized that some outsiders sent spam on the SMTP server under my IIS, immediately stopped the SMTP service, deleted the emails in the queue, left one or two emails, and then studied them slowly.
Because some WebProgramTo use the mail function, you have configured the SMTP server over there. In fact, it is mainly to set "relay restriction" (relay restriction) to allow all, while other configurations are basically not modified. Then it is sent to"Connection Control"(Connection Control)By default, all machines are allowed to use the SMTP server., Set it to"Only the list below"(Only the following lists are allowed) and add the local IP address. In this way, only the local machine can be used!
A computer exposed to the Internet must be installed with a firewall (or patch) and configured with various services to prevent attacks or exploitation.

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.