最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】给crifan.com的邮件服务器安装垃圾过滤系统

网易163 crifan 2651浏览 0评论

【背景】

Linode的VPS主机

上面有我的crifan.com网站

里面之前装了邮件服务器

但是没装垃圾过滤器

经常收到了很多很多的垃圾邮件

受不了了

去装个垃圾过滤系统

【折腾过程】

1.通过SecureCRT去登录自己的服务器:

licrifandeMacBook-Pro:~ crifan$ ping www.crifan.com
PING www.crifan.com (139.162.21.142): 56 data bytes
64 bytes from 139.162.21.142: icmp_seq=0 ttl=45 time=221.306 ms

 

use securtcrt login crifan com linode vps

 

去搜:

postfix dovecot spam

postfix dovecot spamassassin

postfix dovecot spam filter

参考:

How To Configure a Mail Server Using Postfix, Dovecot, MySQL, and SpamAssassin | DigitalOcean

How to install and integrate SpamAssassin with Postfix on a CentOS 6 VPS | RoseHosting.com Linux VPS Hosting Blog

How to set-up server-side email filtering with Dovecot Sieve and Roundcube on a CentOS 6 VPS | RoseHosting.com Linux VPS Hosting Blog

折腾:

screen -U -S sieve-screen

crifan@crifan:~$ yum install dovecot-pigeonhole
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
You need to be root to perform this command.
crifan@crifan:~$ yum update
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
You need to be root to perform this command.
crifan@crifan:~$ sudo yum update
[sudo] password for crifan: 
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

有800多个包要一点点安装。。。。

然后继续安装:

crifan@crifan:~$ sudo yum install dovecot-pigeonhole
[sudo] password for crifan: 
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirrors.hustunique.com
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Resolving Dependencies
--> Running transaction check
---> Package dovecot-pigeonhole.x86_64 1:2.2.10-5.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================
 Package                                  Arch                         Version                               Repository                  Size
==============================================================================================================================================
Installing:
 dovecot-pigeonhole                       x86_64                       1:2.2.10-5.el7                        base                       303 k

Transaction Summary
==============================================================================================================================================
Install  1 Package

Total download size: 303 k
Installed size: 1.1 M
Is this ok [y/d/N]: y
Downloading packages:
dovecot-pigeonhole-2.2.10-5.el7.x86_64.rpm                                                                             | 303 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 1:dovecot-pigeonhole-2.2.10-5.el7.x86_64                                                                                   1/1 
  Verifying  : 1:dovecot-pigeonhole-2.2.10-5.el7.x86_64                                                                                   1/1 

Installed:
  dovecot-pigeonhole.x86_64 1:2.2.10-5.el7                                                                                                    

Complete!

后来觉得好像很麻烦

而且未必能过滤掉中文的垃圾邮件

所以搞得都想:

去注册免费的企业邮箱了:

腾讯的:

腾讯企业邮箱,用心你看得见 – 热线:400-100-3366

或163的:

网易免费企业邮箱 — 自主域名,企业专属

 

所以后来转去用别人的免费的了:

【记录】使用网易免费企业邮实现自己的域名的邮箱

转载请注明:在路上 » 【记录】给crifan.com的邮件服务器安装垃圾过滤系统

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
83 queries in 0.166 seconds, using 22.21MB memory