Postfix Dovecot Extmail 邮箱系统
早前的内部邮箱系统重新整理下;
现在Extmail官方有集成镜像的EMOS_1.6_x86_64免费版;可直接下载安装;
系统环境:
linux 6.7 x64 4G
hosts:
172.16.2.19
mail.18mail.com

一、准备 环境

简便的可以 yum 进行安装;安装 yum 源;
rpm -ivh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

1、环境的基础依赖包:

yum install gcc gcc-c++ gdbm libtool-ltdl
yum install cyrus-sasl-md5 perl-GD perl-DBD-MySQL perl-GD perl-CPAN perl-CGI perl-CGI-Session cyrus-sasl-lib cyrus-sasl-plain cyrus-sasl cyrus-sasl-devel libtool-ltdl-devel telnet mail libicu-devel 2、lamp 环境:
yum -y install httpd mysql-server mysql mysql-devel php56w php56w-fpm php56w-mysql php56w-common php56w-gd php56w-mbstring php56w-mcrypt php56w-devel php56w-xml php56w-imap php56w-pear php56w-snmp

二、安装 postfix dovecot

  1、安装 postfix 

yum install postfix -y

创建邮箱属于账户组:
groupadd -g 18mail
useradd -g 18mail -u -s /sbin/nologin 18mail

  2、配置 postfix :
  postfix 的 需要更改的文件是 main.cf  和 master.cf  后面第六条会配置;

三、安装 dovecot

# yum install dovecot dovecot-devel dovecot-mysql pam-devel -y

四、安装 courier-authlib

  1、courier-authlib 是需要 courier-unicode 依赖

# wget https://sourceforge.net/projects/courier/files/courier-unicode/1.2/courier-unicode-1.2.tar.bz2
tar -jxvf 解压缩进行编译安装
# cd courier-unicode
# ./configure
# make && make install

  2、先编译安装 courier-authlib:

# wget https://sourceforge.net/projects/courier/files/authlib/0.66.2/courier-authlib-0.66.2.tar.bz2
# tar -jxvf courier-authlib-0.66..tar.bz2
解压之后缩进行编译安装
# cd courier-authlib
# ./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --without-authpam --without-authshadow --without-authvchkpw --without-authpgsql --with-authmysql --with-mysql-libs=/usr/lib64/mysql --with-mysql-includes=/usr/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc --with-mailuser=18mail
# make && make install

  3、配置 courier-authlib:

# chmod  /usr/local/courier-authlib/var/spool/authdaemon
# cd /usr/local/courier-authlib/
拷贝 auth 验证文件:
# cp /etc/authdaemonrc.dist /etc/authdaemonrc
# cp /etc/authmysqlrc.dist /etc/authmysqlrc

  4、配置验证方式:( 这里只使用了 authmysql )

# cat /etc/authdaemonrc |grep -v ^$ |grep -v ^#

authmodulelist="authmysql"
authmodulelistorig="authmysql"
daemons=
authdaemonvar=/usr/local/courier-authlib/var/spool/authdaemon
DEBUG_LOGIN=
DEFAULTOPTIONS=""
LOGGEROPTS=""

  5、配置验证存储信息 (邮箱的目录 数据存放库的名称 密码 以及自己的域名)

# cat /etc/authmysqlrc |grep -v ^$ |grep -v ^#

MYSQL_SERVER localhost
MYSQL_USERNAME extmail
MYSQL_PASSWORD extmail
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_PORT
MYSQL_OPT
MYSQL_DATABASE extmail
MYSQL_USER_TABLE mailbox
MYSQL_CRYPT_PWFIELD password
MYSQL_UID_FIELD uidnumber
MYSQL_GID_FIELD gidnumber
MYSQL_LOGIN_FIELD username
MYSQL_HOME_FIELD homedir
MYSQL_NAME_FIELD name
MYSQL_MAILDIR_FIELD maildir
MYSQL_QUOTA_FIELD quota
MYSQL_SELECT_CLAUSE SELECT username,password,"",uidnumber,gidnumber, \
CONCAT('/home/18mail/',homedir), \
CONCAT('/home/18mail/',maildir), \
quota, \
name, \
CONCAT("disableimap=",disableimap,",disablepop3=", \
disablepop3,",disablewebmail=",disablewebmail, \
",disablesmtpd=",disablesmtpd,",disablesmtp=", \
disablesmtp,",disablenetdisk=",disablenetdisk, \
",netdiskquota=",netdiskquota) \
FROM mailbox \
WHERE username = '$(local_part)@$(domain)'
DEFAULT_DOMAIN 18mail.com

  6、courier-authlib 配置服务启动:

# cp courier-authlib.sysvinit /etc/init.d/courier-authlib
# chmod +x /etc/init.d/courier-authlib
# chkconfig --add courier-authlib
# chkconfig courier-authlib on
# echo "/usr/local/courier-authlib/lib/courier-authlib" >> /etc/ld.so.conf.d/courier-authlib.conf
# ldconfig
# service courier-authlib start

  7、smtp以及虚拟用户相关的设置:
  手动创建 smtpd.conf 文件

# vi /usr/lib64/sasl2/smtpd.conf

pwcheck_method: authdaemond
log_level:
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket

五、安装 extmail

# wget http://7xivyw.com1.z0.glb.clouddn.com/extmail-1.2.tar.gz
# wget http://7xivyw.com1.z0.glb.clouddn.com/extman-1.1.tar.gz 下载地址失效
链接:https://pan.baidu.com/s/1rAK-g6UdRXNgw4YFGfZGWQ 
提取码:klzr 

  1、创建extmail 临时文件目录与session目录;并设置邮箱账户的用户组的权限;

# mkdir -p /tmp/extmail/upload
# chown -R 18mail:18mail /tmp/extmail/ 同样的为 extman创建临时目录:
# mkdir /tmp/extman
# chown -R 18mail:18mail /tmp/extman/

  2、在 http web创建extsuite 目录 ( 默认/var/www/ )

# mkdir -p /var/www/extsuite 
解压缩 extmail extman 至 /var/www/extsuite 目录
更改 extmail 和 extman 下的 cgi目录的属主属组:
# chown -R 18mail:18mail /var/www/extsuite/

  3、配置 extmail 相关配置;

# cd /var/www/extsuite/extmail
# cp -rp webmail.cf.default webmail.cf

  更改 webmail.cf 配置

# cat /var/www/extsuite/extmail/webmail.cf |grep -v ^$ |grep -v ^#

SYS_CONFIG = /var/www/extsuite/extmail/
SYS_LANGDIR = /var/www/extsuite/extmail/lang
SYS_TEMPLDIR = /var/www/extsuite/extmail/html
SYS_HTTP_CACHE =
SYS_SMTP_HOST = localhost
SYS_SMTP_PORT =
SYS_SMTP_TIMEOUT =
SYS_SPAM_REPORT_ON =
SYS_SPAM_REPORT_TYPE = dspam
SYS_SHOW_WARN =
SYS_IP_SECURITY_ON =
SYS_PERMIT_NOQUOTA =
SYS_SESS_DIR = /tmp/extmail
SYS_UPLOAD_TMPDIR = /tmp/extmail/upload
SYS_LOG_ON =
SYS_LOG_TYPE = syslog
SYS_LOG_FILE = /var/log/extmail.log
SYS_SESS_TIMEOUT =
SYS_SESS_COOKIE_ONLY =
SYS_USER_PSIZE =
SYS_USER_SCREEN = auto
SYS_USER_LANG = zh_CN
SYS_APP_TYPE = WebMail
SYS_USER_TEMPLATE = default
SYS_USER_CHARSET = utf-
SYS_USER_TRYLOCAL =
SYS_USER_TIMEZONE = +
SYS_USER_CCSENT =
SYS_USER_SHOW_HTML =
SYS_USER_COMPOSE_HTML =
SYS_USER_CONV_LINK =
SYS_USER_ADDR2ABOOK =
SYS_MESSAGE_SIZE_LIMIT =
SYS_MIN_PASS_LEN =
SYS_MFILTER_ON =
SYS_NETDISK_ON =
SYS_SHOW_SIGNUP =
SYS_DEBUG_ON =
SYS_AUTH_TYPE = mysql
SYS_MAILDIR_BASE = /home/18mail
SYS_AUTH_SCHEMA = virtual
SYS_CRYPT_TYPE = md5crypt
SYS_MYSQL_USER = extmail
SYS_MYSQL_PASS = extmail
SYS_MYSQL_DB = extmail
SYS_MYSQL_HOST = localhost
SYS_MYSQL_SOCKET = /var/lib/mysql/mysql.sock
SYS_MYSQL_TABLE = mailbox
SYS_MYSQL_ATTR_USERNAME = username
SYS_MYSQL_ATTR_DOMAIN = domain
SYS_MYSQL_ATTR_PASSWD = password
SYS_MYSQL_ATTR_CLEARPW = clearpwd
SYS_MYSQL_ATTR_QUOTA = quota
SYS_MYSQL_ATTR_NDQUOTA = netdiskquota
SYS_MYSQL_ATTR_HOME = homedir
SYS_MYSQL_ATTR_MAILDIR = maildir
SYS_MYSQL_ATTR_DISABLEWEBMAIL = disablewebmail
SYS_MYSQL_ATTR_DISABLENETDISK = disablenetdisk
SYS_MYSQL_ATTR_DISABLEPWDCHANGE = disablepwdchange
SYS_MYSQL_ATTR_ACTIVE = active
SYS_MYSQL_ATTR_PWD_QUESTION = question
SYS_MYSQL_ATTR_PWD_ANSWER = answer
SYS_LDAP_BASE = o=extmailAccount,dc=example.com
SYS_LDAP_RDN = cn=Manager,dc=example.com
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = localhost
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_DOMAIN = virtualDomain
SYS_LDAP_ATTR_PASSWD = userPassword
SYS_LDAP_ATTR_CLEARPW = clearPassword
SYS_LDAP_ATTR_QUOTA = mailQuota
SYS_LDAP_ATTR_NDQUOTA = netdiskQuota
SYS_LDAP_ATTR_HOME = homeDirectory
SYS_LDAP_ATTR_MAILDIR = mailMessageStore
SYS_LDAP_ATTR_DISABLEWEBMAIL = disablewebmail
SYS_LDAP_ATTR_DISABLENETDISK = disablenetdisk
SYS_LDAP_ATTR_DISABLEPWDCHANGE = disablePasswdChange
SYS_LDAP_ATTR_ACTIVE = active
SYS_LDAP_ATTR_PWD_QUESTION = question
SYS_LDAP_ATTR_PWD_ANSWER = answer
SYS_AUTHLIB_SOCKET = /usr/local/courier-authlib/var/spool/authdaemon/socket
SYS_G_ABOOK_TYPE = file
SYS_G_ABOOK_LDAP_HOST = localhost
SYS_G_ABOOK_LDAP_BASE = ou=AddressBook,dc=example.com
SYS_G_ABOOK_LDAP_ROOTDN = cn=Manager,dc=example.com
SYS_G_ABOOK_LDAP_ROOTPW = secret
SYS_G_ABOOK_LDAP_FILTER = objectClass=OfficePerson
SYS_G_ABOOK_FILE_PATH = /var/www/extsuite/extmail/globabook.cf
SYS_G_ABOOK_FILE_LOCK =
SYS_G_ABOOK_FILE_CONVERT =
SYS_G_ABOOK_FILE_CHARSET = utf-

  4、配置 extman 文件

# cd /var/www/extsuite/extmail
# cp -rp webman.cf.default webman.cf

   更改 extman.cf 配置

# cat /var/www/extsuite/extman/webman.cf |grep -v ^$ |grep -v ^#

SYS_CONFIG = /var/www/extsuite/extman/
SYS_LANGDIR = /var/www/extsuite/extman/lang
SYS_TEMPLDIR = /var/www/extsuite/extman/html
SYS_MAILDIR_BASE = /home/18mail
SYS_SHOW_WARN =
SYS_SESS_DIR = /tmp/extman/
SYS_CAPTCHA_ON =
SYS_CAPTCHA_KEY = r3s9b6a7
SYS_CAPTCHA_LEN =
SYS_PURGE_DATA =
SYS_PSIZE =
SYS_APP_TYPE = ExtMan
SYS_TEMPLATE_NAME = default
SYS_DEFAULT_EXPIRE = 1y
SYS_GROUPMAIL_SENDER = postmaster@extmail.org
SYS_DEFAULT_SERVICES = webmail,smtpd,smtp,pop3,netdisk
SYS_ISP_MODE = no
SYS_DOMAIN_HASHDIR = yes
SYS_DOMAIN_HASHDIR_DEPTH = 2x2
SYS_USER_HASHDIR = yes
SYS_USER_HASHDIR_DEPTH = 2x2 SYS_MIN_UID =
SYS_MIN_GID =
SYS_DEFAULT_UID =
SYS_DEFAULT_GID =
SYS_QUOTA_MULTIPLIER =
SYS_QUOTA_TYPE = courier
SYS_DEFAULT_MAXQUOTA =
SYS_DEFAULT_MAXALIAS =
SYS_DEFAULT_MAXUSERS =
SYS_DEFAULT_MAXNDQUOTA =
SYS_USER_DEFAULT_QUOTA =
SYS_USER_DEFAULT_NDQUOTA =
SYS_USER_DEFAULT_EXPIRE = 1y
SYS_BACKEND_TYPE = mysql
SYS_CRYPT_TYPE = md5crypt
SYS_MYSQL_USER = extman
SYS_MYSQL_PASS = extmail
SYS_MYSQL_DB = extmail
SYS_MYSQL_HOST = localhost
SYS_MYSQL_SOCKET = /var/lib/mysql/mysql.sock
SYS_MYSQL_TABLE = manager
SYS_MYSQL_ATTR_USERNAME = username
SYS_MYSQL_ATTR_PASSWD = password
SYS_LDAP_BASE = dc=extmail.org
SYS_LDAP_RDN = cn=Manager,dc=extmail.org
SYS_LDAP_PASS = secret
SYS_LDAP_HOST = localhost
SYS_LDAP_ATTR_USERNAME = mail
SYS_LDAP_ATTR_PASSWD = userPassword
SYS_RRD_DATADIR = /var/lib
SYS_RRD_TMPDIR = /tmp/viewlog
SYS_RRD_QUEUE_ON = yes
SYS_CMDSERVER_SOCK = /tmp/cmdserver.sock
SYS_CMDSERVER_MAXCONN =
SYS_CMDSERVER_PID = /var/run/cmdserver.pid
SYS_CMDSERVER_LOG = /var/log/cmdserver.log
SYS_CMDSERVER_AUTHCODE = your_auth_code_here
SYS_IGNORE_SERVER_LIST = web

  5、extmail 数据库导入;
    5.1  导入前需要更改两项配置;
    my.cnf 取消 SSL 验证 ;不然会报 'ssl_cipher' 错?

# vi /etc/my.cnf
注释这一行;待数据导入之后再取消注释;
# sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

    5.2 编辑 extmail.sql 数据库文件

    msyql 数据库不能识别 TYPE=MyISAM,需要把 TYPE=MyISAM 更改为 ENGINE=MyISAM

# sed -i 's/TYPE/ENGINE/g' /var/www/extsuite/extman/docs/extmail.sql

    5.3 编辑 init.sql
    可以把默认的域更改成自己域 (我自己的是 18mail.com)

# sed -i 's/extmail.org/18mail.com/g' /var/www/extsuite/extman/docs/init.sql

    5.4 开始导入数据库;

mysql -u root -p < /var/www/extsuite/extman/docs/extmail.sql
mysql -u root -p < /var/www/extsuite/extman/docs/init.sql

  5.5 数据导入成功后 设置两个 extmail 远程账户;

# mysql -uroot -p 进入数据库 设置extmail库 localhost远程账户
# /etc/init.d/msyqld start

> use extmail;
> grant all on extmail.* to 'extmail'@'%' identified by 'extmail';
> flush privilege;
> use extmail;
> grant all on extmail.* to 'extman'@'%' identified by 'extmail';
> flush privileges;

# chkconfig mysqld on

六、配置 postfix 结合 extmail; 

  1、拷贝 extmail 下的数据链接文件到 postfix 下

拷贝数据连接文件:

# mkdir /etc/postfix/sql
# cp -rp /var/www/extsuite/extman/docs/mysql_virtual_* /etc/postfix/sql

   2、设置 postfix SMTP认证 和 虚拟账户;

    2.1 配置 main.cf 

# vi /etc/postfix/main.cf
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
inet_protocols = all myhostname = mail.18mail.com
mydomain = 18mail.com
myorigin = $mydomain
# mydestination = $myhostname, localhost.$mydomain, localhost
mydestination =
mynetworks = 0.0.0.0/
# 可以设置允许的网段访问 local_recipient_maps = unknown_local_recipient_reject_code =
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases debug_peer_level =
debugger_command =
PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
ddd $daemon_directory/$process_name $process_id & sleep
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6./samples
readme_directory = /usr/share/doc/postfix-2.6./README_FILES #启用SMTP认证
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_type = dovecot
smtpd_sasl_security_options = noanonymous
smtpd_sasl_path = /var/spool/postfix/private/auth
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_sender_restrictions =
permit_mynetworks,
reject_sender_login_mismatch,
reject_authenticated_sender_login_mismatch,
reject_unauthenticated_sender_login_mismatch smtpd_sasl_application_name = smtpd
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_sasl_security_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination
smtpd_client_restrictions = permit_mynetworks,permit_sasl_authenticated smtpd_sender_login_maps =
mysql:/etc/postfix/sql/mysql_virtual_sender_maps.cf,
mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf #启用虚拟用户
virtual_mailbox_base = /home/18mail/
# 前面创建的邮件18mail账户 配置链接前面从extman拷贝的 mysql_virtual* 文件
virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps virtual_alias_maps = mysql:/etc/postfix/sql/mysql_virtual_alias_maps.cf
virtual_mailbox_domains = mysql:/etc/postfix/sql/mysql_virtual_domains_maps.cf
virtual_mailbox_maps = mysql:/etc/postfix/sql/mysql_virtual_mailbox_maps.cf
virtual_transport = maildrop: virtual_uid_maps = static:
virtual_gid_maps = static:
virtual_transport = dovecot
dovecot_destination_recipient_limit =

  2.2配置 master.cf

添加以下两行;flaage 前需要有空格
# vi /etc/postfix/master.cf dovecot unix - n n - - pipe
  flags=DRhu user=18mail:18mail argv=/usr/libexec/dovecot/dovecot-lda -f ${sender} -d ${recipient}

  3、配置 dovecot

    3.1 dovecot.conf 文件

[root@18mail dovecot]# vi dovecot.conf 
protocols = imap pop3
listen = *
# 日志目录 文件需要设置为 dovecot 权限;
info_log_path = /var/log/dovecot-info.log
debug_log_path = /var/log/dovecot-debug.log
dict {
#quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
}
!include conf.d/*.conf
!include_try /etc/dovecot/local.conf # dovecot-sql.conf.ext 下面自己创建编辑
passdb {
driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext
# 这个可以在当前目录手动创建
} # 18mail 为前面创建的邮箱专用账户
userdb {
driver = static
args = uid=5000 gid=5000 home=/home/18mail/%d/%n } ####调试日志
auth_debug_passwords=yes
mail_debug=yes
auth_verbose=yes
auth_verbose_passwords=plain

  3.2 手动创建  dovecot-sql.conf.ext 认证文件

需要设置 extmail 账户密码
# vi dovecot-sql.conf.ext
driver = mysql
connect = host=localhost dbname=extmail user=extmail password=extmail
default_pass_scheme = MD5-CRYPT
password_query = SELECT username AS user,password FROM mailbox WHERE username = '%u' AND active=''
user_query = SELECT maildir, AS uid, AS gid, CONCAT('dict:storage=',floor(quota/),' proxy::quota') as quota FROM mailbox WHERE username = '%u' AND active=''

  4、配置之后 进行重启

# service postfix restart
# chkconfig postfix on
# service dovecot restart
# chkconfig dovecot on

七、配置 httpd

  1、unix-syslog 安装

  配置httpd后启动时会有unix-syslog 报错;需要安装 UNIX-syslog 模块;

# wget http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-1.1.tar.gz
解压缩进行编译安装
# cd Unix-Syslog
# perl Makefile.PL
# make && make install

  2、配置 extmail 虚拟主机;

    2.1 配置httpd.conf

    最后添加两行指定一个extmail虚拟主机;

# vi /etc/httpd/conf/httpd.conf
# 指定extmail虚拟主机 NameVirtualHost *:
Include conf/vhost_extmail.conf

    2.2 配置虚拟  vhost_extmail.conf 主机:

# vi /var/www/conf/vhost_extmail.conf 
<VirtualHost *:>
ServerName mail.18mail.com
DocumentRoot /var/www/extsuite/extmail/html/ ScriptAlias /extmail/cgi/ /var/www/extsuite/extmail/cgi/
Alias /extmail /var/www/extsuite/extmail/html/
ScriptAlias /extman/cgi/ /var/www/extsuite/extman/cgi/
Alias /extman /var/www/extsuite/extman/html/
SuexecUserGroup 18mail 18mail </VirtualHost>

   3、启动 web 

# /etc/init.d/httpd restart
# chkconfig httpd on

八、防火墙配置 

  1、配置 iptables 开放相关端口 25 110 143 80 3306 (由于没有开启SSL 验证 都是非加密协议端口 )

# vi /etc/sysconfig/iptables

-A INPUT -m state --state NEW -m tcp -p tcp --dport  -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport -j ACCEPT 重新启动iptables
# /ect/init.d/iptables restart

九、收发测试 
  http://mail.18mail.com

extman 默认的登录账户密码root@extmail.org 和 extmail*123*;
前面在 init.sql 更改为自己的域 18mail.com;;我可以用自己的进行登陆;

  1、如果登陆进入邮箱管理后台 不显示目录菜单 提示 "No such file or directory" ?

在extman 绝对目录下执行加载 cmdserver 即可;

# cmdserver --daemon

  2、web 管理端 登陆测试:

  3、web 客户端 收发测试:

  4、 Foxmail 客户端 收发测试

  5、外网邮箱发送测试

Postfix - Extmail 邮箱系统的更多相关文章

  1. 最具体的历史centos下一个 postfix + extmail + dovecot + maildrop 安装注意事项2014更新

    这篇文章原本是2008年发表的,近期几天照此笔记又安装了一遍系统.这里更新一下记录. 作者:wangdy 本文发表于  http://blog.csdn.net/aryang/article/deta ...

  2. Linux下开源邮件系统Postfix+Extmail+Extman环境部署记录

    一.基础知识梳理MUA (Mail User Agent) MUA 既是"邮件使用者代理人",因为除非你可以直接利用类似 telnet 之类的软件登入邮件主机来主动发出信件,否则您 ...

  3. centos 邮件服务 腾讯企业邮箱(免费) 使用iRedmail 需要有公网的centos主机 发邮件协议:smtp 端口25 收邮件协议:pop3 端口110 iredmail安装配置 使用邮箱系统 第三十一节课

    centos   邮件服务  腾讯企业邮箱(免费) 使用iRedmail 需要有公网的centos主机 发邮件协议:smtp 端口25  收邮件协议:pop3 端口110  iredmail安装配置 ...

  4. exchange邮箱系统增加验证码机制

    首先背景是exchange的邮箱系统没有后台源代码.因为这个原因,生成验证码的机制放在aspx的runat="sever"后台代码里面. 首先需要找到iis中logon.aspx文 ...

  5. Forsaken Mail创建临时邮箱系统| 手把手教程

    场景需求 不需要长时间使用的邮箱 需要大量创建临时邮箱 使用匿名邮箱 环境说明 **` Forsaken Mail是一个临时邮箱系统,可以供任何人接受邮件,即收即毁,支持自定义邮箱地址前缀,这里就说下 ...

  6. Linux+postfix+extmail+dovecot打造基于web页面的邮件系统

    原文地址:http://blog.csdn.net/deansrk/article/details/6717720 最终效果图: 准备阶段:需要手动下载的软件包: postfix-2.6.5.tar. ...

  7. Centos 搭建邮箱系统

    总结 我实操的过程,2个邮箱都没有界面,都只是邮件系统.可能还需要再部署其他东西,暂止. sendmail 比较简单,主要是发邮件,使用 stmp.还需要解决收邮件的问题和管理界面的问题. postf ...

  8. CentOS6.5_64位系统下安装配置postfix邮件系统 启用并配置SMTP在第三方上边使用发送邮件

    一前言 本来使用qq邮箱发送邮件,然后借助sendEmail来发送邮件告警,但是有每天的200封限制,很是不爽,于是想到来自己搭建邮件服务器来解决这个问题,关于使用sendEmail来借助qq邮箱来发 ...

  9. linux入门系列17--邮件系统之Postfix和Dovecot

    前文演示了通过Samba和NFS实现文件共享,本篇演示使用Postfix和Dovecot在局域网实现电子邮件收发系统. 电子邮件系统是我们日常生活和工作中非常重要的一个网络服务,在windows下收发 ...

随机推荐

  1. 关于MySQL中添加数据的两种方法

    下面介绍两种执行SQL命令的方法,并作出相应地总结,第一种介绍一种常规用法,下面进行做简要地分析,首先我们需要执行打开数据库操作首先创建一个MySqlConnection对象,在其构造函数中传入一个连 ...

  2. Bootstrap自动定位浮标

    前面的话 Affix 插件主要功能就是通过插件给某个元素(需要固定的元素)添加或删除position:fixed,实现元素在浏览器窗口的粘性固定效果.本文将详细介绍Bootstrap自动定位浮标 基本 ...

  3. codeforces742B

    Arpa’s obvious problem and Mehrdad’s terrible solution CodeForces - 742B There are some beautiful gi ...

  4. BZOJ3282Tree——LCT

    题目描述 给定N个点以及每个点的权值,要你处理接下来的M个操作. 操作有4种.操作从0到3编号.点从1到N编号. 0:后接两个整数(x,y),代表询问从x到y的路径上的点的权值的xor和. 保证x到y ...

  5. Docker报错总结

    [Docker push镜像报错] The push refers to a repository [192.168.200.103:5000/rancher/server]Get https://1 ...

  6. Spring StringRedisTemplate 配置

    1 先看pom.xml <dependency> <groupId>org.apache.commons</groupId> <artifactId>c ...

  7. HDU1069 最长上升子序列

    emm....矩形嵌套 还记得吗....就是它... 直接贴代码了.... import java.util.ArrayList; import java.util.Arrays; import ja ...

  8. JavaScript 隐式类型转换

    JavaScript 隐式类型转换 原文:https://blog.csdn.net/itcast_cn/article/details/82887895 · 1.1 隐式转换介绍 · 1.2 隐式转 ...

  9. Web Performance and Load Test Project错误集

    当我们创建Web Performance and Load Test Project时,经常会遇到下面这些问题: 1. 当点击Add Recording时, 左边的record tree没有出现: 解 ...

  10. Java -- JDBC 学习--使用 DBUtils

    Apache—DBUtils简介 commons-dbutils 是 Apache 组织提供的一个开源 JDBC工具类库,它是对JDBC的简单封装,学习成本极低,并且使用dbutils能极大简化jdb ...