
不废话
使用RainLoop,PHP开源程序。国外虚拟主机便可搭建,没有VPS也无所谓。依赖:
 iconv, imap, mcrypt, bcmath, openssl, 
下载地址:
 http://rainloop.net/downloads/
下载到zip压缩包。在服务器解压。
 例如/data/www/webmail
要注意的是请保证所有目录webserver和php都有可写权限
管理员地址:
 http://domain/?admin
 默认管理员账号密码为admin 12345
免费1年DV SSL证书申请地址:
 https://buy.wosign.com/DVSSL.html
自己搭建的服务
 https://email.cevin.me/
     1   guoruei      2015-01-07 18:58:10 +08:00  收藏、回复、感谢。   |  
     2   dx11sb      2015-01-07 19:32:21 +08:00 via Android  这货放在php空间上可以吗?   |  
     3   NameStuff      2015-01-07 19:32:34 +08:00  antispam and antivirus and secondary MX?   |  
     4   NameStuff      2015-01-07 19:34:35 +08:00  sorry I was wrong.   以为你搭建一个自己的邮局。  |  
     6   lyf362345      2015-01-07 19:59:30 +08:00  很好的东西啊,打算自己 vps 放一个   |  
     7   tayuo      2015-01-07 20:46:52 +08:00    |  
     8   branchzero      2015-01-08 00:02:49 +08:00  尝试搞了一个,感谢LZ分享  https://mail.geekbill.com/  |  
     9   lshero      2015-01-08 00:57:33 +08:00  好东西感谢楼主分享   |  
     10   cevincheung   OP @dx11sb 可以。只要满足依赖扩展即可。   |  
     11   cevincheung   OP @dx11sb imap扩展通常虚拟主机不会安装。   |  
     12   onno      2015-01-08 07:27:10 +08:00 via Android  谢谢 已收藏。   |  
     13   JQ      2015-01-08 09:16:04 +08:00  这个提供pop,smtp访问么?   |  
     14   Tink   PRO 可以smtp和imap吗   |  
     15   yylzcom      2015-01-08 09:26:14 +08:00 via Android    |  
     16   crystone      2015-01-08 10:15:12 +08:00  这个不错   |  
     17   Sukizen      2015-01-08 10:36:23 +08:00  怎么我自己搭建,或在楼主的网址上登陆都显示无法认证?   |  
     19   crystone      2015-01-08 11:32:45 +08:00    |  
     22   logtee      2015-01-08 12:10:33 +08:00    |  
     24   alexyangjie      2015-01-08 12:23:28 +08:00  感谢,已建。   |  
     25   cevincheung   OP  |  
     26   TrustyWolf      2015-01-08 13:49:01 +08:00  咱来写个CentOS系列的搭建教程(强制使用SSL):  首先安装EPEL源或者Nginx官方的源: yum install epel-release 安装nginx: yum install nginx 然后安装php和相关的扩展: yum install php php-fpm php-xml curl 编辑 /etc/php.ini: cgi.fix_pathinfo = 0 date.timezOne= Asia/Shanghai expose_php = Off 编辑 /etc/php-fpm.d/www.conf: listen = /var/run/php-fpm/php-fpm.sock 修改 Unix user/group of processes 下的 apache 为 nginx cd /etc/nginx/conf.d 新建mail.xxx.com.conf: # mail.xxx.com # Redirect HTTP to HTTPS for security server { listen 80; listen [::]:80; server_name mail.xxx.com; # redirect http to https # rewrite ^/(.*)$ https://mail.xxx.com/$1 permanent; } # HTTPS server { listen 443 ssl; listen [::]:443 ssl; server_name mail.xxx.com; ssl on; ssl_certificate /etc/nginx/mail.xxx.com.crt; ssl_certificate_key /etc/nginx/mail.xxx.com.key; root /home/wwwroot/mail.xxx.com; index index.html index.htm index.php; error_page 404 /404.html; location ~ \.php$ { try_files $uri =404; fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } # Mail Security location ^~ /data { deny all; } } 最后: nginx -t 查错 service php-fpm restart service nginx restart  |  
     27   TrustyWolf      2015-01-08 13:50:50 +08:00   补充上楼:其他安装过程请参考19楼   |  
     28   holdjun      2015-01-08 16:10:13 +08:00  @TrustyWolf 不错哟   |  
     29   mjever      2015-01-08 16:14:03 +08:00  好赞,看了下证书免费两年呐!   |  
     30   holdjun      2015-01-08 19:00:49 +08:00  搭好了 准备删除。我意识到我有sssssssss   |  
     31   goodbest      2015-01-08 19:16:45 +08:00  wosign一直提示注册失败,网站做的也很有gov网站的感觉...   |  
     32   holdjun      2015-01-08 22:17:31 +08:00  好吧 我申请的ssl没地方用https://mail.pao.im/ ~   |  
     35   kiritoalex      2015-01-09 06:56:35 +08:00 via iPhone  @alexyangjie 杨哥好:)   |  
     37   alexyangjie      2015-01-09 10:10:33 +08:00  @kiritoalex 你好:)   |  
     38   xierch      2015-01-09 17:53:31 +08:00    |  
     39   aaronvei      2015-01-11 12:03:54 +08:00  感谢分享   |  
     40   geekzu      2015-01-25 13:50:21 +08:00    |  
     41   geekzu      2015-01-25 13:51:41 +08:00  @cevincheung 后台设置中domains里自己添加其他域名   |  
     43   694380889      2015-05-04 14:20:39 +08:00  那gamil邮箱的imap smtp服务器地址写什么。   |