【背景】
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
去搜:
postfix dovecot spam
postfix dovecot spamassassin
postfix dovecot spam filter
参考:
How To Configure a Mail Server Using Postfix, Dovecot, MySQL, and SpamAssassin | DigitalOcean
折腾:
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的邮件服务器安装垃圾过滤系统