不废话
使用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 Jan 7, 2015
收藏、回复、感谢。
|
2
dx11sb Jan 7, 2015 via Android
这货放在php空间上可以吗?
|
3
NameStuff Jan 7, 2015
antispam and antivirus and secondary MX?
|
4
NameStuff Jan 7, 2015
sorry I was wrong.
以为你搭建一个自己的邮局。 |
6
lyf362345 Jan 7, 2015
很好的东西啊,打算自己 vps 放一个
|
7
tayuo Jan 7, 2015
|
8
branchzero Jan 8, 2015
尝试搞了一个,感谢LZ分享
https://mail.geekbill.com/ |
9
lshero Jan 8, 2015
好东西感谢楼主分享
|
10
cevincheung OP @dx11sb 可以。只要满足依赖扩展即可。
|
11
cevincheung OP @dx11sb imap扩展通常虚拟主机不会安装。
|
12
onno Jan 8, 2015 via Android
谢谢 已收藏。
|
13
JQ Jan 8, 2015
这个提供pop,smtp访问么?
|
14
Tink PRO 可以smtp和imap吗
|
16
crystone Jan 8, 2015
这个不错
|
17
Sukizen Jan 8, 2015
怎么我自己搭建,或在楼主的网址上登陆都显示无法认证?
|
19
crystone Jan 8, 2015
|
22
logtee Jan 8, 2015
|
24
alexyangjie Jan 8, 2015
感谢,已建。
|
25
cevincheung OP |
26
TrustyWolf Jan 8, 2015
咱来写个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 Jan 8, 2015 补充上楼:其他安装过程请参考19楼
|
28
holdjun Jan 8, 2015
@TrustyWolf 不错哟
|
29
mjever Jan 8, 2015
好赞,看了下证书免费两年呐!
|
30
holdjun Jan 8, 2015
搭好了 准备删除。我意识到我有sssssssss
|
31
goodbest Jan 8, 2015
wosign一直提示注册失败,网站做的也很有gov网站的感觉...
|
32
holdjun Jan 8, 2015
好吧 我申请的ssl没地方用https://mail.pao.im/ ~
|
35
kiritoalex Jan 9, 2015 via iPhone
@alexyangjie 杨哥好:)
|
37
alexyangjie Jan 9, 2015
@kiritoalex 你好:)
|
38
xierch Jan 9, 2015
|
39
aaronvei Jan 11, 2015
感谢分享
|
40
geekzu Jan 25, 2015
|
41
geekzu Jan 25, 2015
@cevincheung 后台设置中domains里自己添加其他域名
|
43
694380889 May 4, 2015
那gamil邮箱的imap smtp服务器地址写什么。
|