日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

postfix+postfixadmin+extmail邮件服务器架设过程

發布時間:2025/4/16 编程问答 43 豆豆
生活随笔 收集整理的這篇文章主要介紹了 postfix+postfixadmin+extmail邮件服务器架设过程 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

近段時間由于工作原因,沒有完成......

六、SASLAuthlib安裝和配置

先安裝courier-authlib,因為后面配置 SASL驗證smtp時需要authlibsocket路徑。

1、???????? courier-authlib安裝和配置(實現帶驗證的pop3服務器)

[root@localhost courier-authlib-0.63.0]# ./configure --prefix=/usr/local/authlib --without-sthheaderdir --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql --with-redhat --with-mailuser=vmail? --with-mailgroup=vmail? --with-authmysql

如果courier-authlib安裝到非標準位置(例如安裝到/usr/local下),一定記得在./configure時增加--without-stdheaderdir,這樣以后在編譯Courier-IMAPmaildrop的時候,不用特別指定courier-authlib的庫文件位置

configure: error: Cannot find either the gdbm or the db library.

解決方法:安裝安裝rpm -ihv gdbm-devel-1.8.0-25.i386.rpm

[root@localhost courier-authlib-0.63.0]# Make && make install

[root@localhost courier-authlib-0.63.0]#make install-migrate

[root@localhost courier-authlib-0.63.0]#make install-configure

[root@localhost courier-authlib-0.63.0]#vi /usr/local/authlib/etc/authlib/authdaemonrc

authmodulelist="authmysql"

authmodulelistorig="authmysql"

DEBUG_LOGIN=2

[root@localhost courier-authlib-0.63.0]#vi /usr/local/authlib/etc/authlib/authmysqlrc

MYSQL_SERVER? localhost
MYSQL_USERNAME? postfix
MYSQL_PASSWORD? postfix

MYSQL_DATABASE? postfix

MYSQL_SOCKET? ?/tmp/mysql.sock--enable-thread-safe-client
MYSQL_USER_TABLE ?mailbox
MYSQL_CRYPT_PWFIELD? password

DEFAULT_DOMAIN? gcp.com
MYSQL_UID_FIELD? '1001'
MYSQL_GID_FIELD? '1001'

MYSQL_LOGIN_FIELD? username
MYSQL_HOME_FIELD? '/var/mailbox/'

MYSQL_NAME_FIELD? name
MYSQL_MAILDIR_FIELD? maildir
MYSQL_QUOTA_FIELD? concat(q
uota,’S’)
MYSQL_WHERE_CLAUSE? active='1'

?

[root@localhost courier-authlib-0.63.0]# cp courier-authlib.sysvinit /etc/rc.d/init.d/courier-authlib

[root@localhost courier-authlib-0.63.0]# chmod 755 /etc/rc.d/init.d/courier-authlib

[root@localhost courier-authlib-0.63.0]# chkconfig --add courier-authlib

[root@localhost courier-authlib-0.63.0]# chkconfig courier-authlib on

[root@localhost courier-authlib-0.63.0]# service courier-authlib start

[root@localhost courier-authlib-0.63.0]# echo ?"/usr/local/authlib/lib/courier-authlib">>/etc/ld.so.conf

[root@localhost courier-authlib-0.63.0]# ldconfig

[root@localhost courier-authlib-0.63.0]#chmod +x ?/usr/local/authlib/var/spool/authdaemon

[root@localhost courier-authlib-0.63.0]# /usr/local/authlib/sbin/authdaemond? start

[root@localhost courier-authlib-0.63.0]# ln -s /usr/local/authlib/bin/courierauthconfig /usr/bin/courierauthconfig

?

?

2SASL安裝和配置. (用于實現身份驗證的smtp服務器)

1)安裝

[root@localhost ~]# rpm -qa|grep cyrus-sasl

[root@localhost ~]# rpm -qa|grep cyrus-sasl |xargs rpm -e --nodeps

[root@localhost ~]#rm –rf /usr/lib/sasl

[root@localhost ~]#rm –rf /usr/lib/sasl2

[root@localhost cyrus-sasl-2.1.23]# ./configure? --disable-anon -enable-plain --enable-login? --enable-sql --with-mysql=/usr/local/mysql? --with-mysql-includes=/usr/local/mysql/include/mysql? --with-mysql-libs=/usr/local/mysql/lib/mysql? --with-authdaemond

[root@localhost cyrus-sasl-2.1.23]#make && make install

[root@localhost cyrus-sasl-2.1.23]# mkdir -pv /var/state/saslauthd?????

[root@localhost cyrus-sasl-2.1.23]# /usr/local/sbin/saslauthd -a shadow pam

[root@localhost cyrus-sasl-2.1.23]# /usr/local/sbin/testsaslauthd -u root -p 用戶密碼 如果提示OK "Success.",則成功

http://blog.csdn.net/longhui2012/archive/2009/08/07/4422709.aspx

[root@localhost cyrus-sasl-2.1.23]# ln -s /usr/local/lib/sasl2 /usr/lib/sasl2

配置庫文件搜索路徑

[root@localhost cyrus-sasl-2.1.23]# echo "/usr/local/lib" >> /etc/ld.so.conf

[root@localhost cyrus-sasl-2.1.23]# ldconfig

[root@localhost cyrus-sasl-2.1.23]# ldconfig –V

[root@localhost cyrus-sasl-2.1.23]# vi /usr/local/lib/sasl2/smtpd.conf

? ?pwcheck_method: authdaemond

?? mech_list: PLAIN LOGIN

?? log_level: 3

?? authdaemond_path: /usr/local/authlib/var/spool/authdaemon/socket

七、postfixadmin安裝和配置

所以用2.1.0是因為有DATABASE_MYSQL.TXT文件,但它卻沒有增加郵件目錄和刪除目錄的腳本,postfixadmin-2.3.2.tar.gz中卻提供腳本

[root@localhost ]#tar zxvf? postfixadmin-2.1.0.tar.gz

[root@localhost ]# cp -r /root/postfixadmin-2.1.0 /var/www/postfixadmin

[root@localhost ~]# vim /usr/local/apache2/conf/httpd.conf

Alias /postfixadmin /var/www/postfixadmin

<Directory /var/www/postfixadmin>

???? Options Indexes FollowSymLinks

???? AllowOverride None

???? Order allow,deny

???? Allow from all

</Directory>

?

[root@localhost ]#mysql -u root 1 < /var/www/postfixadmin/DATABASE_MYSQL.TXT

[root@localhost ]#chown -R vmail:vmail /var/www/postfixadmin

[root@localhost ]#vim /var/www/postfixadmin/config.inc.php

$CONF['default_language'] = 'cn';

[root@localhost ~]# vim? /var/www/postfixadmin/admin/create-mailbox.php

??? $tQuota = $CONF['maxquota'];

233???? system("sudo /usr/local/bin/maildirmake.sh $fDomain ".$_POST['fUsername']);

[root@localhost ~]# vim? /var/www/postfixadmin/admin/delete.php

$result = db_query ("SELECT * FROM mailbox WHERE username='$fDelete' AND domain='$fDomain'");

????? $userarray=explode("@",$fDelete);

???? ?$user=$userarray[0];

????? $domain=$userarray[1];

????? system("sudo /usr/sbin/maildirdel.sh $domain $user");

注意/var/www/postfixadmin目錄下create-mailbox.phpdelete.php作同樣的修改

?

八、Postfix安裝和配置

[root@localhost postfix-2.6.5]# groupadd -g 12345 postfix

[root@localhost postfix-2.6.5]#groupadd -g 54321 postdrop

[root@localhost postfix-2.6.5]# make -f Makefile.init makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH ?-DUSE_CYRUS_SASL ?-I/usr/ \

local/include/sasl' 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2'

[root@localhost postfix-2.6.5]#make -f Makefile.in MAKELEVEL= Makefiles

(echo "# Do not edit -- this file documents how Postfix was built for your machine."; /bin/sh makedefs) >makedefs.tmp

No <db.h> include file found.

Install the appropriate db*-devel package first.

See the RELEASE_NOTES file for more information.

make: *** [Makefiles] 錯誤 1

make: *** [makefiles] 錯誤 2

下載地址

http://www.oracle.com/technology/global/cn/software/products/berkeley-db/db/index.html

tar –zxvpf db-4.8.26.tar.gz
cd db-4.8.26
cd build_unix
../dist/configure
make &&make install

解決方法(同上實驗一樣):安裝 db*-devel db4-4.3.29-10.el5.i386.rpm

http://rpm.pbone.net/index.php3/stat/4/idpl/13943838/dir/centos_5/com/db4-4.3.29-10.el5.i386.rpm.html

?

重新編譯

[root@localhost postfix-2.6.5]#make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/local/mysql/include/mysql -DUSE_SASL_AUTH ?-DUSE_CYRUS_SASL -I/usr/ \

local/include/sasl -I/usr/local/BerkeleyDB.4.5/include' 'AUXLIBS=-L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lm -L/usr/local/lib -lsasl2 -L/usr/local/BerkeleyDB.4.5/lib'

[root@localhost postfix-2.6.5]# make &&make install

[root@localhost postfix-2.6.5]#vi /etc/postfix/main.cf

#=====================BASE=========================

mydomain = gcp.com

myhostname = mail.gcp.com

mynetworks = 168.168.1.0/24, 127.0.0.0/8

mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain

myorigin = $mydomain

inet_interfaces = all

?

#=====================Vritual Mailbox settings======================

#===========配置參考postfixadmin/DOCUMENTS/POSTFIX_CONF.txt=====

virtual_mailbox_base = /var/mailbox

virtual_mailbox_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_maps.cf

virtual_mailbox_domains = mysql:/etc/postfix/mysql/mysql_virtual_domains_maps.cf

virtual_alias_maps = mysql:/etc/postfix/mysql/mysql_virtual_alias_maps.cf

virtual_uid_maps = static:1001

virtual_gid_maps = static:1001

virtual_transport = maildrop

maildrop_destination_recipient_limit = 1

maildrop_destination_concurrency_limit = 1

?

#====================QUOTA===================================

#===========配置參考postfixadmin/DOCUMENTS/POSTFIX_CONF.txt======

message_size_limit = 14336000

virtual_mailbox_limit = 20971520

virtual_create_maildirsize = yes

virtual_mailbox_extended = yes

virtual_mailbox_limit_maps = mysql:/etc/postfix/mysql/mysql_virtual_mailbox_limit_maps.cf

virtual_mailbox_limit_override = yes

virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn his diskspace quota, please try again later.

virtual_overquota_bounce = yes

?

#====================SASL=========================================

#=====配置參考postfix-2.6.5/html/SASL_README.html中的SASL Authentication====

broken_sasl_auth_clients = yes

smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_invalid_hostname,

reject_non_fqdn_hostname,

reject_unknown_sender_domain,

reject_non_fqdn_sender,reject_non_fqdn_recipient,

reject_unknown_recipient_domain,reject_unauth_pipelining,

reject_unauth_destination,

permit

smtpd_sasl_auth_enable = yes

smtpd_sasl_local_domain =

smtpd_sasl_security_options = noanonymous

smtpd_sasl_application_name = smtpd

smtpd_banner=$myhostname ESMTP "Version not Available"

alias_maps = hash:/etc/aliases

unknown_local_recipient_reject_code = 450

alias_maps = hash:/etc/aliases

unknown_local_recipient_reject_code = 450

[root@localhost postfix-2.6.5]#vi master.cf

flags=DRhu user=vmail:vmail argv=/usr/local/maildrop/bin/maildrop -d ${recipient}

//這個配置文件,"flags=DRhu user=vmail:vmail argv=/usr/local/maildrop/bin/maildrop -d ${recipient}"是修改過的,flags前面必須有2個空格

[root@localhost postfix-2.6.5]# mkdir /var/mailbox

[root@localhost postfix-2.6.5]#chown -R vmail:vmail /var/mailbox

[root@localhost postfix-2.6.5]#chmod -R ug+rwx,o-rwx /var/mailbox

[root@localhost postfix-2.6.5]# mkdir -p /etc/postfix/mysql

//創建目錄/etc/postfix/mysql,然后手動創建如下四個配置文件

[root@localhost mysql]# ls -l

總計 60

-rw------- 1 root root 125 09-30 18:21 mysql_virtual_alias_maps.cf

-rw------- 1 root root 134 10-23 20:46 mysql_virtual_domains_maps.cf

-rw------- 1 root root 129 09-30 18:23 mysql_virtual_mailbox_limit_maps.cf

-rw------- 1 root root 172 10-05 13:39 mysql_virtual_mailbox_maps.cf

[root@localhost mysql]# more mysql_virtual_alias_maps.cf?

user = postfix

password = postfix

hosts = localhost

dbname = postfix

table = alias

select_field = goto

where_field = address

[root@localhost mysql]# more mysql_virtual_domains_maps.cf

user = postfix

password = postfix

hosts = localhost

dbname = postfix

table = domain

select_field = description

where_field = domain

[root@localhost mysql]# more mysql_virtual_mailbox_maps.cf

user = postfix

password = postfix

hosts = localhost

dbname = postfix

table = mailbox

select_field = maildir

where_field = username

additional_conditions = AND active = '1'

[root@localhost mysql]# more? mysql_virtual_mailbox_limit_maps.cf

user = postfix

password = postfix

hosts = localhost

dbname = postfix

table = mailbox

select_field = quota

where_field = username

?

#===========配置參考postfixadmin/DOCUMENTS/POSTFIX_CONF.txt=====

?

[root@localhost postfix-2.6.5]# tail /var/log/maillog ?????

[root@localhost maildrop-2.5.0.20100815]# postfix

postfix: fatal: /etc/postfix/main.cf, line 674: missing '=' after attribute name: "reject_non_fqdn_hostname,"

解決方法:將”=”后改為一行

?

//main.cf是一個 key = value 格式的配置文件,如果value部分一行寫不完,要分多行來寫,必須以空格開頭,否則postfix將認為它是一個key,而一個key 之后必須跟著一個=號,啟動的時候會造成錯誤。

[root@localhost ~]#vim /etc/postfix/master.cf

maildrop? unix? -?????? n?????? n?????? -?????? -?????? pipe

??flags=DRhu user=vmail argv=/usr/local/maildrop/bin/maildrop -d ${recipient}

注意:? flags=DRhu user=vmail:vmail argv=/usr/local/maildrop/bin/maildrop -d ${recipient}"是修改過的,flags前面必須有2個空格

[root@localhost postfix-2.2.11]# telnet 192.168.1.108 25

Trying 192.168.1.108...

Connected to 192.168.1.108 (192.168.1.108).

Escape character is '^]'.

220 Welcome to our mail.gcp.com ESMTP,Warning: Version not Available!

ehlo localhost

250-mail.gcp.com

250-PIPELINING

250-SIZE 10240000

250-VRFY

250-ETRN

250-AUTH PLAIN LOGIN

250-AUTH=PLAIN LOGIN(請確保您的輸出以類似兩行)

250 8BITMIME

[root@localhost postfix-2.6.5]# echo "/usr/sbin/postfix start" >>/etc/rc.d/rc.local ?//開機啟動

九、Corurier-imap安裝和配置

編譯出錯??? configure: error: courierauthconfig not found

解決方法:設置變量COURIERAUTHCONFI

[root@localhost courier-imap-4.5.0]# export COURIERAUTHCONFIG=/usr/local/authlib/bin/courierauthconfig

然后重新執行編譯,還是不行出現configure: error: This option is no longer supported

版本問題:courier-imap-4.8.0.20100628.tar.bz2不行,換成如下版本則可以courier-imap-4.5.0.tar.bz2

[root@localhost courier-imap-4.5.0]# ./configure --prefix=/usr/local/imap --with-redhat --disable-root-check? --enable-unicode=utf-8,gb2312,gbk --with-trashquota? --with-dirsync --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql/ --with-authmysql --with-authmysql=yes

imaplogin.c:35:25: 錯誤:courierauth.h:沒有那個文件或目錄

imaplogin.c:36:30: 錯誤:courierauthdebug.h:沒有那個文件或目錄

imaplogin.c:144: 警告:‘struct authinfo’ 在形參表內部聲明

imaplogin.c:144: 警告:它的作用域僅限于此定義或聲明,這可能并不是您想要的

imaplogin.c: 在函數 ‘login_callback’ 中:

imaplogin.c:154: 錯誤:提領指向不完全類型的指針

imaplogin.c:155: 警告:隱式聲明函數 ‘auth_getoption

imaplogin.c:155: 錯誤:提領指向不完全類型的指針

imaplogin.c:156: 警告:賦值時將整數賦給指針,未作類型轉換

[root@localhost courier-imap-4.5.0]# ./configure --prefix=/usr/local/imap --with-redhat --disable-root-check? --enable-unicode=utf-8,gb2312,gbk --with-trashquota? --with-dirsync --with-mysql-libs=/usr/local/mysql/lib/mysql --with-mysql-includes=/usr/local/mysql/include/mysql/ --with-authmysql --with-authmysql=yes ?CPPFLAGS='-I/usr/local/authlib/include'?

[root@localhost courier-imap-4.5.0]# make && make install

[root@localhost courier-imap-4.5.0]#make install-configure

[root@localhost courier-imap-4.5.0]# make install-configure

[root@localhost courier-imap-4.5.0]# cp courier-imap.sysvinit ?/usr/local/imap/sbin/imapd

[root@localhost courier-imap-4.5.0]# chmod 755 /usr/local/imap/sbin/imapd

[root@localhost courier-imap-4.5.0]#vim /usr/local/imap/etc/pop3d

POP3DSTART=YES

[root@localhost courier-imap-4.5.0]#vim /usr/local/imap/etc/pop3d/imapd

IMAPDSTART=YES

[root@localhost courier-imap-4.5.0]# /usr/local/imap/sbin/imapd? start

[root@localhost ~]# echo " /usr/local/imap/sbin/imapd? start">> /etc/rc.d/rc.local

?

十、courier-maildrop 安裝和配置

Maiidrop的作用是本地投遞,即把收到的郵件移動到相應的用戶目錄。它是安裝maildrop所必須的,所以需要先安裝這個軟件(如果系統不存在這個軟件的話)。

安裝 Unzip pcre-8.10.zip

[root@localhost pcre-8.10]# ./configure

[root@localhost pcre-8.10]# Make&& make istall

安裝maildrop

[root@localhost maildrop-2.5.0.20100815]# ./configure? --prefix=/usr/local/maildrop --enable-sendmail=/usr/sbin/sendmail --enable-trusted-users='root vmail'? --enable-syslog=1? --enable-maildirquota? --enable-maildrop-uid=1001? --enable-maildrop-gid=1001? --with-trashquota --with-dirsync

courierauthdebug.h: 沒有那個文件或目錄

解決方法:編譯時加CPPFLAGS='-I/usr/local/courier-authlib/include'

[root@localhost maildrop-2.5.0.20100815]# Make&& make istall

[root@localhost maildrop-2.5.0.20100815]# cp /usr/local/maildrop/bin/maildrop /usr/bin

[root@localhost maildrop-2.5.0.20100815]# maildrop –v

maildrop 2.5.0 Copyright 1998-2005 Double Precision, Inc.

GDBM extensions enabled.

Courier Authentication Library extension enabled. ?/*保證有這一行輸出,表明maildrop? */

Maildir quota extension enabled. ??????????????/* SASLcourier-authlib緊密結合在一起*/

This program is distributed under the terms of the GNU General Public

License. See COPYING for additional information.

[root@localhost ~]# more /etc/maildroprc

logfile "/var/mailbox/maildrop.log"?

to "$HOME/$DEFAULT

[root@localhost maildrop-2.5.0.20100815]# /usr/local/imap/sbin/imapd start

[root@localhost postfix-2.6.5]# telnet 192.168.1.1.117 25

192.168.1.1.117/25: Temporary failure in name resolution

解決方法:修改/etc/resolv.conf文件

maidrop沒有創建和刪除郵件用戶目錄的能力,在配置postfixadmin時,我們提到需要使用2shell腳本 /usr/sbin/maildirdel.sh/usr/local/bin/maildirmake.sh,2個腳本的作用就是用來彌補maildrop不能創建/刪除目錄這個缺陷的。

[root@localhost extmail]# more /usr/local/bin/maildirmake.sh

#!/bin/sh

# Auto create maildir under FreeBSD

# Author: He zhiqiang <hzqbbc@hzqbbc.com>

# copyright (c) 1998-2005

BASE="/var/mailbox"

umask 077

# mkdir -p to omit error

mkdir -p "$BASE/$1"

# step into the new dir and call maildirmake

/usr/local/bin/maildirmake "$BASE/$1/$2"

?

[root@localhost extmail]# more /usr/sbin/maildirdel.sh

#!/bin/bash

rm -rf /var/mailbox/$1/$2

?

[root@localhost extmail]#chmod +x /usr/local/bin/maildirmake.sh

[root@localhost extmail]#chmod +x /usr/sbin/maildirdel.sh

2個腳本由web調用,而webapache)的執行用戶為vmail,出于安全考慮,我們給vmail用戶的權限非常有限,為了保證這2 shell腳本能正常執行使用vi這樣的編輯器來修改/etc/sudoers這個配置文件,把行"vmail ALL = NOPASSWD: /usr/local/bin/maildirmake.sh, /usr/sbin/maildirdel.sh"追加到文件末尾即可!

##/etc/sudoers里需要把 "Defaults??? requiretty"這行注釋掉式//

# Example script for removing a Maildir from a Courier-IMAP virtual mail

# hierarchy.

?

# The script looks at arguments 1 and 2, assuming that they

# indicate username and domain, respectively.

?

# The script will not actually delete the maildir. I moves it

# to a special directory which may once in a while be cleaned up

# by the system administrator.

?

# This script should be run as the user which owns the maildirs. If

# the script is actually run by the apache user (e.g. through PHP),

# then you could use "sudo" to grant apache the rights to run

# this script as the relevant user.

# Assume this script has been saved as

# /usr/local/bin/postfixadmin-mailbox-postdeletion.sh and has been

# made executable. Now, an example /etc/sudoers line:

# apache ALL=(courier) NOPASSWD: /usr/local/bin/postfixadmin-mailbox-postdeletion.sh

# The line states that the apache user may run the script as the

# user "courier" without providing a password.

十一、Extmail安裝和配置

[root@localhost ~]# tar zxvf extmail-1[1][1].1.1.tar.gz -C /var/www

[root@localhost ~]# mv /var/www/extmail-1.1.1 /var/www/extsuite/extmail

[root@localhost ~]#cd /var/www/extsuite/extmail

[root@localhost ~]# chown -R postfix:postfix? /var/www/extsuite/extmail/cgi/

[root@localhost extmail]# cp webmail.cf.default webmail.cf

[root@localhost extmail]#vim webmail.cf

SYS_MAILDIR_BASE =/var/mailbox?? //虛擬用戶mail存放的根目錄

SYS_MYSQL_HOST = localhost

SYS_MYSQL_USER = postfix

SYS_MYSQL_PASS = postfix

SYS_MYSQL_DB = postfix

SYS_MYSQL_SOCKET =/tmp/mysql.sock--enable-thread-safe-client

SYS_AUTHLIB_SOCKET = /usr/local/authlib/var/spool/authdaemon/socket

[root@localhost ~]# vim /usr/local/apache2/conf/httpd.conf

ScriptAlias /extmail/cgi/?? /var/www/extsuite/extmail/cgi/

<Directory "/var/www/extsuite/extmail/cgi">

??? AllowOverride None

??? Options None

??? Order allow,deny

??? Allow from all

</Directory>

Alias /extmail /var/www/extsuite/extmail/html

<Directory "/var/www/extsuite/extmail/cgi/html">

??? AllowOverride None

??? Options None

??? Order allow,deny

?? ?Allow from all

</Directory>

在文件/var/www/extsuite/extmail/html/default/index.html 加入下面的標識,可以得到不同郵件域的下拉列表????? ??????

<TD><%domain%></TD>

??? <TD>

???????? <select name="domain" size="1" class="input_select"></option>

??????????? <option value="gcp.com">gcp.com</option>

??????????? <option value="mail.gcp.com">mail.gcp.com</option>

???????? </select>

??? </TD>

?

十二、測試圖片

postfixadmin創建郵箱

Webmail,outlook發送,接收

mail2接收

?

?

參考文章

http://sery.blog.51cto.com/10037/45500

http://coolerfeng.blog.51cto.com/133059/58075

?

轉載于:https://blog.51cto.com/angf2/401442

總結

以上是生活随笔為你收集整理的postfix+postfixadmin+extmail邮件服务器架设过程的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 浮力影院国产第一页 | 亲子乱一区二区三区 | 中文字幕3区| 国产床上视频 | 亚洲天堂网在线观看视频 | 国产日本欧美在线观看 | 日本一区二区在线免费观看 | 色婷婷婷 | 能直接看的av | 亚洲美女自拍偷拍 | www.久久99| 亚洲午夜久久久久久久久红桃 | 夜噜噜| 美女视频黄频视频大全 | 婷婷色综合 | 又黄又爽的免费视频 | 日韩精品在线电影 | 午夜精品久久久久久久久 | 精品人妻无码一区二区 | 波多野结衣电车 | avtt男人天堂 | www.av在线播放 | 1024手机看片国产 | 国产aaa视频 | 日韩欧美在线一区二区三区 | 国产成人精品免费视频 | 噜噜色成人 | 一级艳片新婚之夜 | 亚洲一级片免费看 | 91口爆一区二区三区在线 | 国产激情av | 久草香蕉视频 | 亚色视频在线观看 | 天天干夜夜嗨 | 午夜电影一区二区 | 国产美女裸体无遮挡免费视频 | a天堂视频在线观看 | 亚洲国产av一区二区 | 久久久精品免费观看 | 99啪啪| 日韩美女在线 | 亚洲逼| 欧美天堂在线观看 | 香蕉视频最新网址 | 九九热这里有精品 | 麻豆精品久久久久久久99蜜桃 | 少妇高潮惨叫久久久久久 | 国产精品成人av性教育 | 亚洲国产精品一区二区尤物区 | 91娇羞白丝网站 | 国产精品高潮呻吟久久aⅴ码 | 毛茸茸亚洲孕妇孕交片 | 18+视频在线观看 | 国产又粗又猛又大爽 | 动漫美女被艹 | 91嫩草精品 | 日韩va视频 | www视频在线观看免费 | 久久影院视频 | 麻豆精品国产精华精华液好用吗 | 日产精品久久久一区二区 | 做暧暧视频在线观看 | 亚洲精品五月 | av手机在线观看 | 久久精品在线免费观看 | 亚洲爆爽 | 关之琳三级全黄做爰在线观看 | 1级片在线观看 | 亚洲666| 熟妇高潮喷沈阳45熟妇高潮喷 | 少女与动物高清版在线观看 | 性五月天 | 3d动漫精品啪啪一区二区三区免费 | 欧美日日操 | 992tv在线影院 | 超碰超碰超碰超碰 | 殴美毛片| 尤物精品 | 日韩精品影视 | 97人妻精品一区二区三区免 | 黄色录像一级大片 | 欧美成本人视频 | 国产高清视频 | 国产一极片 | 中国一极毛片 | 在线免费观看视频你懂的 | 久久av喷吹av高潮av萌白 | 国产激情四射 | 丰满大乳露双乳呻吟 | 麻豆精品在线观看 | 五月天综合激情网 | 淫人网| 日本在线不卡一区二区 | 麻豆日产六区 | 久久久久亚洲av无码专区体验 | 天堂在线| 奇米四色7777 | 色综合亚洲 | av色吧 |