默认情况下用 https://[IP地址]/mail (或 /iredadmin)是可以访问的,这样可以避免因为 DNS 域名没有生效或没有正确配置导致的问题。
无法访问 /iredadmin,在 /var/log/apache2/error_log 里有什么错误信息?
谢谢张工回答,明天到看看日志,我在家里安装的ubuntu桌面版没有问题,还想问下张工如果没有公网的域名是不是发信和收信都不能成功,只能在内部邮件收发
支持 Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, FreeBSD, OpenBSD
您尚未登陆。 请选择登陆或是注册一个新账号。
iRedMail 开源邮件服务解决方案 » 由 xingxbox360 发表的文章
页次 1
默认情况下用 https://[IP地址]/mail (或 /iredadmin)是可以访问的,这样可以避免因为 DNS 域名没有生效或没有正确配置导致的问题。
无法访问 /iredadmin,在 /var/log/apache2/error_log 里有什么错误信息?
谢谢张工回答,明天到看看日志,我在家里安装的ubuntu桌面版没有问题,还想问下张工如果没有公网的域名是不是发信和收信都不能成功,只能在内部邮件收发
==== 必填信息。没有填写将不予回复 ====
- iRedMail 版本号:
- 使用哪个数据库存储用户帐号(OpenLDAP,MySQL,PostgreSQL):
- 使用的 Linux/BSD 发行版名称及版本号:
- 与您的问题相关的日志信息:
====
我用的是iRedmail 0.9.2
数据库是mysql 5.6
操作系统ubuntu server 14.10
现在搭建完iRedMail后在服务器自己的浏览器都无法通过https://mail.cqgxgs.net/mail https://mail.cqgxgs.net/iredadmin访问到
,用https://192.168.118.15/mail也访问不到,但通过192.168.118.15/phpmyadmin可以访问到数据库,里面也有iRedMail建立的vmail库,服务器也安装dns bind9添加的MX记录,是不是要在apache配置virtualhost?接触linux没有好久很多不是很懂希望各位朋友能解答一下
zone "cqgxgs.net" {
type master;
file "/etc/bind/zones/cqgxgs.net.db";
};
# This is the zone definition for reverse DNS. replace 118.168.192 with your network address in reverse notation - e.g my network address is 192.168.0
zone "118.168.192.in-addr.arpa" {
type master;
file "/etc/bind/zones/rev.118.168.192.in-addr.arpa";
};
cqgxgs.net. IN SOA ns1.cqgxgs.net. admin.cqgxgs.net. (
2006081401
28800
3600
604800
38400
)
cqgxgs.net. IN NS ns1.cqgxgs.net.
cqgxgs.net. IN MX 10 mail.cqgxgs.net.
IN A 192.168.118.15
www IN A 192.168.118.15
mta IN A 192.168.118.15
ns1 IN A 192.168.118.15
mail IN A 192.168.118.15
xing@mail:~$ sudo systemctl status iredapd
● iredapd.service - LSB: Control iredapd daemon.
Loaded: loaded (/etc/init.d/iredapd)
Active: active (running) since 三 2015-11-25 16:04:20 CST; 30min ago
Docs: man:systemd-sysv-generator(8)
Process: 973 ExecStart=/etc/init.d/iredapd start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/iredapd.service
└─1711 python /opt/iredapd/iredapd.py
11月 25 16:04:02 mail.cqgxgs.net systemd[1]: Starting LSB: Control iredapd daemon....
11月 25 16:04:02 mail.cqgxgs.net iredapd[973]: Starting iredapd ...
11月 25 16:04:20 mail.cqgxgs.net systemd[1]: Started LSB: Control iredapd daemon..
xing@mail:~$ sudo systemctl status apache2
● apache2.service - LSB: Apache2 web server
Loaded: loaded (/etc/init.d/apache2)
Active: active (running) since 三 2015-11-25 16:17:43 CST; 16min ago
Docs: man:systemd-sysv-generator(8)
Process: 2427 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS)
Process: 2451 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCCESS)
CGroup: /system.slice/apache2.service
├─2465 /usr/sbin/apache2 -k start
├─2468 /usr/sbin/apache2 -k start
├─2469 /usr/sbin/apache2 -k start
├─2470 /usr/sbin/apache2 -k start
├─2471 /usr/sbin/apache2 -k start
└─2472 /usr/sbin/apache2 -k start
11月 25 16:17:42 mail.cqgxgs.net systemd[1]: Starting LSB: Apache2 web server...
11月 25 16:17:42 mail.cqgxgs.net apache2[2451]: * Starting web server apache2
11月 25 16:17:43 mail.cqgxgs.net apache2[2451]: *
11月 25 16:17:43 mail.cqgxgs.net systemd[1]: Started LSB: Apache2 web server.
xing@mail:~$ sudo systemctl status mysql
● mysql.service - MySQL Community Server
Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
Active: active (running) since 三 2015-11-25 16:04:20 CST; 30min ago
Process: 955 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS)
Process: 942 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS)
Main PID: 953 (mysqld_safe)
CGroup: /system.slice/mysql.service
├─ 953 /bin/sh /usr/bin/mysqld_safe
└─1393 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/u...
11月 25 16:04:01 mail.cqgxgs.net systemd[1]: Starting MySQL Community Server...
11月 25 16:04:04 mail.cqgxgs.net mysqld_safe[953]: 151125 16:04:04 mysqld_safe Can't lo...t.
11月 25 16:04:04 mail.cqgxgs.net mysqld_safe[953]: 151125 16:04:04 mysqld_safe Logging ...'.
11月 25 16:04:04 mail.cqgxgs.net mysqld_safe[953]: 151125 16:04:04 mysqld_safe Starting...ql
11月 25 16:04:20 mail.cqgxgs.net systemd[1]: Started MySQL Community Server.
Hint: Some lines were ellipsized, use -l to show in full.
xing@mail:~$ sudo systemctl status bind9
● bind9.service - BIND Domain Name Server
Loaded: loaded (/lib/systemd/system/bind9.service; enabled; vendor preset: enabled)
Drop-In: /run/systemd/generator/bind9.service.d
└─50-insserv.conf-$named.conf
Active: active (running) since 三 2015-11-25 16:04:01 CST; 30min ago
Docs: man:named(8)
Main PID: 938 (named)
CGroup: /system.slice/bind9.service
└─938 /usr/sbin/named -f -u bind
11月 25 16:19:03 mail.cqgxgs.net named[938]: success resolving 'clients2.google.com/A' ...ts
11月 25 16:19:11 mail.cqgxgs.net named[938]: success resolving 'clients2.google.com/A' ...ts
11月 25 16:21:27 mail.cqgxgs.net named[938]: success resolving 'safebrowsing.google.com...ts
11月 25 16:21:37 mail.cqgxgs.net named[938]: success resolving 'clients2.google.com/A' ...ts
11月 25 16:21:40 mail.cqgxgs.net named[938]: error (network unreachable) resolving 'ns4...53
11月 25 16:21:40 mail.cqgxgs.net named[938]: error (network unreachable) resolving 'ns1...53
11月 25 16:21:42 mail.cqgxgs.net named[938]: success resolving 'clients-china.l.google....ts
11月 25 16:21:43 mail.cqgxgs.net named[938]: success resolving 'ns4.google.com/AAAA' (i...ts
11月 25 16:21:45 mail.cqgxgs.net named[938]: success resolving 'ns1.google.com/AAAA' (i...NS
11月 25 16:22:41 mail.cqgxgs.net named[938]: success resolving 'clients2.google.com/A' ...ts
Hint: Some lines were ellipsized, use -l to show in full.
页次 1
iRedMail 开源邮件服务解决方案 » 由 xingxbox360 发表的文章
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2010 PunBB.
页面生成时间 0.012 秒, 共执行查询 66 条