如果您是一个隐私爱好者,正在寻找一个不错的替代流行网络邮件提供商(如Gmail、Outlook和Yahoo )的替代品,那么您很幸运。您可以学习如何设置您自己的电子邮件服务器,避免这些提供商对数百万用户执行的电子邮件例行扫描,并为您的电子邮件享受一个安全和私密的环境。
与通常的Apple(Apple)、Google和Microsoft服务器群不同,个人或私人电子邮件服务器位于您自己的空间中。这样,您可以设置自己的磁盘驱动器并完全控制您的电子邮件的访问、管理和存储方式。
对于想要削减成本的中小型企业 ( SMB ),管理邮件可能看起来很昂贵。(SMBs)同样,由于不断的垃圾邮件(spamming),运行他们的邮件服务器似乎很困难。他们可能也没有内部技术人员或工具来正确配置和运行,同时管理威胁。
这就是为什么许多中小型企业(SMBs)外包给外部供应商的原因。但是,这会带来一些隐藏的风险,例如失去对邮件安全性的控制、隐私侵犯和机密性风险、共享服务器的传递问题等等。
值得庆幸的是,您可以运行一个安全的、经过垃圾邮件过滤的邮件服务器,供您的个人或小型企业使用。在本指南中,我们将引导您了解如何在您的 PC 上创建和设置您自己的电子邮件服务器。
设置个人电子邮件服务器需要什么(What You’ll Need To Set Up a Personal Email Server)
- 一台具有足够硬盘容量的独立计算机,它将充当电子邮件服务器。
- (Domain)您将用于设置电子邮件地址的电子邮件服务器的域名。
- 可靠的高速互联网连接。
- 运行服务器的操作系统,如Windows或Linux。
- MailEnable等软件程序可以对电子邮件进行分类和路由,防病毒保护和垃圾邮件过滤器,如SpamAssassin(您将使用的软件取决于您选择的操作系统)。
- 简化设置过程的系统。
如何设置电子邮件服务器(How To Set Up The Email Server)
设置电子邮件服务器的更简单快捷方式是聘请 IT 人员为您完成。初始设置准备就绪后,您可以根据自己的喜好更改首选项。
如果你付不起钱请人为你做这件事,你仍然可以自己设置。
出于本指南的目的,我们将引导您完成有关如何设置基于Windows操作系统的电子邮件服务器的教程。我们将使用hMailServer,这是一个免费且灵活的Windows电子邮件服务器,可让您处理所有电子邮件,而无需依赖ISP为您管理它们。
它是最流行的Windows电子邮件服务器之一,易于使用和安装,并提供诸如安全性和(Windows)SpamAssassin的内置垃圾邮件保护等基本功能。
请按照以下步骤完成设置。
- 下载(Download)并运行 hMailServer 安装程序。
- 如果您希望本地计算机充当服务器,请在下一个屏幕中选择服务器,或者选择(Server)管理工具(Administrative tools)来远程管理服务器。
- 接下来,选择您将使用的数据库。(database)默认情况下会检查内置数据库(built-in database),如果您想要快速简单的东西,则非常适合使用。
- 单击下一步(Next)并选择程序快捷方式将保存到的文件夹位置。
- 指定您将用于管理 hMailServer 安装的主密码(将其写在某处,因为您需要经常使用它)。
- 单击下一步(Next),然后单击安装(Install)以在您的计算机上添加 hMailServer。
- 完成后,确保选中Run hMailServer Administrator框并单击Finish。
- hMailServer管理(Admin)窗口将启动。单击(Click) 连接(Connect)。
- 您现在已准备好配置SMTP服务器。在新窗口中,单击添加域。(Add domain.)
- 在常规(General )选项卡下,输入您的域名,然后单击保存。(Save.)
- 在左窗格中,单击Domains>Accounts.
- 单击添加(Add )并在地址字段(address field)中输入名称、密码(password),然后单击保存。(Save.)
- 转到Settings>Protocols并选择SMTP(取消选中 POP 和 IMAP 框)。
- 单击Advanced并在(Advanced)Default domain下键入localhost。单击保存(Save)。
- 单击高级(Advanced)旁边的 +以展开列表,然后单击自动禁止(Auto ban)。此功能会在多次登录尝试失败后阻止 IP 地址。
- 单击IP 范围(IP ranges)并单击TCP/IP ports以查看为SMTP、IMAP和POP配置的端口,例如25和110用于 SMTP 和 POP,143用于IMAP。打开这些端口可确保邮件服务器可以接收和发送邮件。
- 在 hMailServer 中启用不同的选项,如转发、自动回复、DNS黑名单等。
- 最后,单击Utilities(Utilities)旁边的 +以展开列表,然后单击Diagnostics以测试您的配置。
- 在选择(Select)(您要在其上运行测试的域)下,键入您之前输入的域,然后单击开始。(Start.)
您的 hMailServer 配置了基本选项。
- 检查收集(Collect )服务器详细信息以查看您的 hMailServer 版本和数据库类型。
- 测试出站端口——这里的错误意味着您的SMTP服务器将无法通信,在这种情况下,需要进行一些故障排除。
恭喜,您刚刚建立了自己的电子邮件服务器。
为了阅读或编写您的电子邮件,请使用Outlook或Thunderbird等网络邮件客户端。如果您想改用计算机应用程序,请键入您的电子邮件地址作为您的用户名,身份验证类型是密码。
虽然托管您自己的电子邮件服务器需要您付出一些努力和预防措施,但如果您不想要流行的网络邮件提供商的麻烦和不安全感,那么它是值得的。
请记住(Remember)检查您的服务器 IP 和域,始终查看是否存在诸如公共黑名单之类的问题,因为由于DNS设置不正确,某些提供商可以对传入的电子邮件执行此操作。
How To Set Up Your Own Email Server
If уou’re a privaсy lovеr in searсh of a nice alternative to popular web-mail providers like Gmail, Outlook and Yahoo, you’re in luck. You can learn how to set up your own email server and escape the routine scanning of emails these providers perform on millions of users, and enjoy a safe and private environment for your emails.
Personal or private email servers live in your own space, unlike the usual Apple, Google and Microsoft server farms. This way, you can set up your own disk drive and fully control how your emails are accessed, managed and stored.
For small and mid-sized businesses (SMBs) that want to cut costs, administrating mails may seem expensive. Similarly, running their mail servers seems difficult because of the incessant spamming. They probably also don’t have the in-house tech personnel or tools to properly configure and run one, while managing the threats.
This is why many SMBs outsource to external providers. However, this comes with hidden risks like loss of control over your mail security, privacy intrusion and confidentiality risks, delivery problems from sharing a server, and more.
Thankfully, you can run a secure, spam-filtered mail server for your personal or small-business use. In this guide, we’ll walk you through how to create and set up your own email server right on your PC.
What You’ll Need To Set Up a Personal Email Server
- A separate computer with enough hard drive capacity, which will act as the email server.
- Domain name for the email server that you’ll use to set up email addresses.
- Reliable, high-speed internet connection.
- An operating system like Windows or Linux to run the server.
- Software programs like MailEnable that can sort and route emails, antivirus protection and spam filter like SpamAssassin (the software you’ll use depends on the operating system you settle on).
- A system to streamline the setup process.
How To Set Up The Email Server
The easier shortcut to setting up your email server is hiring an IT person to do it for you. Once the initial setup is ready, you can change the preferences to your liking.
If you can’t afford paying someone to do it for you, it’s still possible to set it up yourself.
For the purposes of this guide, we’ll walk you through a tutorial on how to set up your email server based on the Windows operating system. We’ll use hMailServer, a free and flexible email server for Windows that lets you handle all your emails without relying on your ISP to manage them for you.
It’s one of the most popular email servers for Windows that’s easy to use and install, and offers basic features like security and built-in spam protection by SpamAssassin.
Follow the steps below to complete the setup.
- Download and run the hMailServer installer.
- Click Next, and agree to the licensing terms.
- Select Server in the next screen if you want your local computer to act as the server, or Administrative tools to manage the server remotely.
- Next, select the database you’ll use. The built-in database is checked by default and is ideal to use if you want something quick and simple.
- Click Next and choose the folder location where the program’s shortcuts will be saved to.
- Specify the main password that you’ll use to manage your hMailServer installation (write it down somewhere as you’ll need to use it often).
- Click Next and then click Install to add hMailServer on your computer.
- When complete, ensure the Run hMailServer Administrator box is checked and click Finish.
- The hMailServer Admin window will launch. Click Connect.
- Enter the password you created during installation.
- You’re now ready to configure your SMTP server. In the new window, click Add domain.
- Under General tab, type in your domain name and click Save.
- In the left pane, click Domains>Accounts.
- Click Add and type in a name in the address field, a password and then click Save.
- Go to Settings>Protocols and choose SMTP (uncheck the POP and IMAP boxes).
- Click Advanced and type in localhost under Default domain. Click Save.
- Click the + next to Advanced to expand the list and then click Auto ban. This feature blocks IP addresses after several failed login attempts.
- Uncheck the Enabled box and click Save.
- Click IP ranges and click TCP/IP ports to see ports configured for SMTP, IMAP and POP such as 25 and 110 for SMTP and POP, and 143 for IMAP. Opening these ports ensures the mail server can receive and send mail.
- Enable different options like forwarding, auto-reply, DNS blacklists and others in hMailServer.
- Finally, click the + next to Utilities to expand the list and click on Diagnostics to test your configuration.
- Under Select (the domain you want to run tests on), type the domain you entered earlier and click Start.
Your hMailServer is configured with basic options.
- Check for the Collect server details to see your hMailServer version and database type.
- Test the outbound port – an error here means your SMTP server won’t be able to communicate, in which case some troubleshooting needs to be done.
Congratulations, you’ve just set up your own email server.
In order to read or write your emails, get a webmail client like Outlook or Thunderbird. If you want to use a computer application instead, type your email address as your username, and authentication type is the password.
While hosting your own email server requires some effort and precaution from you, it’s worth having if you don’t want the hassles and insecurities of popular web-mail providers.
Remember to keep your server IP and domain in check, always looking to see if there are any issues like public blacklisting as some providers can do this for incoming emails, due to incorrect DNS settings.