linux下×××postfix
Postfix簡介
Postfix是一個由IBM資助下由Wietse Venema負責開發的自由軟件工程的一個產物,其目的是為用戶提供除sendmail之外的郵件服務器選擇。Postfix力圖做到快速、易于管理、提供盡可能的安全性,同時盡量做到和sendmail郵件服務器保持兼容性以滿足用戶的使用習慣。起初,Postfix是以VMailer這個名字發布的,后來由于商標上的原因改名為Postfix。 Postfix設計中采用了web服務器的的設計技巧以減少進程創建開銷,并且采用了其他的一些文件訪問優化技術以提高效率,但同時保證了軟件的可靠性。Postfix的設計目標就是成為Sendmail的替代者。
拓撲圖
一、安裝前的準備工作
1.vim /etc/sysconfig/network //修改主機名字
文件內容修改:
HOSTNAME=mail.a.org
2.vim /etc/resolv.conf //dns指向
文件內容修改:
namedserver 192.168.145.100
3.安裝dns服務
測試:
root@mail ~]# dig -s mx a.org
Invalid option: -s
Usage: dig [@global-server] [domain] [q-type] [q-class] {q-opt}
{global-d-opt} host [@local-server] {local-d-opt}
[ host [@local-server] {local-d-opt} [...]]
Use "dig -h" (or "dig -h | more") for complete list of options
[root@mail ~]# dig -t mx a.org
; <<>> DiG 9.3.4-P1 <<>> -t mx a.org
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 34385
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; QUESTION SECTION:
;a.org. IN MX
;; ANSWER SECTION:
a.org. 86400 IN MX 10 mail.a.org.
;; AUTHORITY SECTION:
a.org. 86400 IN NS ns.a.org.
;; ADDITIONAL SECTION:
mail.a.org. 86400 IN A 192.168.145.100
ns.a.org. 86400 IN A 192.168.145.100
;; Query time: 4 msec
;; SERVER: 192.168.145.100#53(192.168.145.100)
;; WHEN: Tue Aug 21 16:59:45 2012
;; MSG SIZE rcvd: 93
4.安裝所需的rpm包,這包括以下這些:
[root@mail ~]# yum install httpd php php-mysql mysql mysql-server mysql-devel openssl-devel dovecot perl-DBD-MySQL tcl tcl-devel libart_lgpl libart_lgpl-devel libtool-ltdl libtool-ltdl-devel expect
5.關閉sendmail,并將它的隨系統自動啟動功能關閉:
[root@mail ~]# service sendmail stop
[root@mail ~]# chkconfig sendmail off
6.安裝以下源碼開發所用到的rpm包組:
[root@mail ~]# yum grouplist
Development Libraries //管理工具
Development Tools //開發工具
Legacy Software Development //傳統的軟件開發
X Software Development //圖形界面軟件開發
方法:
[root@mail ~]# yum groupinstall "packge_group_name"
7.啟動mysql數據庫,并給mysql的root用戶設置密碼:
[root@mail ~]# service mysqld start
[root@mail ~]# chkconfig mysqld on
授權本地用戶:
[root@mail ~]# mysql
mysql> SET PASSWORD FOR root@'localhost'=PASSWORD('redhat');
mysql> SET PASSWORD FOR root@'127.0.0.1'=PASSWORD('redhat');
mysql> FLUSH PRIVILEGES; //刷新數據庫
授權遠程用戶:
mysql> GRANT ALL PRIVILEGES ON *.* TO root@'%' IDENTIFIED BY 'redhat';
mysql> FLUSH PRIVILEGES;
mysql> \q //退出數據庫
8.啟動saslauthd服務,并將其加入到自動啟動隊列:
[root@mail ~]# service saslauthd start
[root@mail ~]# chkconfig saslauthd on
二、安裝配置postfix
1.安裝過程
[root@mail ~]# tar -zxvf postfix-2.8.2.tar.gz -C /usr/local/src
[root@mail postfix-2.8.2]# groupadd -g 2525 postfix
[root@mail postfix-2.8.2]# useradd -g postfix -u 2525 -s /sbin/nologin -M postfix
[root@mail postfix-2.8.2]# groupadd -g 2526 postdrop
[root@mail postfix-2.8.2]# useradd -g postdrop -u 2526 -s /bin/false -M postdrop
生成makefil文件:
[root@mail postfix-2.8.2]#make makefiles 'CCARGS=-DHAS_MYSQL -I/usr/include/mysql -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl -DUSE_TLS ' 'AUXLIBS=-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib/sasl2 -lsasl2 -lssl -lcrypto'
命令參數說明:
CCARGS:變量
-DHAS_MYSQL:調用mysql
-I:include 頭文件
AUXLIBS:輔助的庫文件
[root@mail postfix-2.8.2]# make //編譯
[root@mail postfix-2.8.2]# make install //放入相應文檔
按照以下的提示輸入相關的路徑([]號中的是缺省值,”]”后的是輸入值,省略的表示采用默認值)
install_root: [/] /
tempdir: [/usr/local/src/ postfix-2.6.5] /tmp //臨時目錄
config_directory: [/etc/postfix] /etc/postfix //配置目錄
daemon_directory: [/usr/libexec/postfix] //守護進程
command_directory: [/usr/sbin] //命令目錄
queue_directory: [/var/spool/postfix]
sendmail_path: [/usr/sbin/sendmail]
newaliases_path: [/usr/bin/newaliases]
mailq_path: [/usr/bin/mailq] //郵件隊列
mail_owner: [postfix]
setgid_group: [postdrop]
html_directory: [no]
manpages: [/usr/local/man] //man手冊
readme_directory: [no]
安裝完畢
生成別名二進制文件,這個步驟如果忽略,會造成postfix效率極低:
[root@mail postfix-2.8.2]# newaliases
[root@mail postfix-2.8.2]# postfix start //啟動postfix
[root@mail postfix-2.8.2]# netstat -tupln |grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 11778/master
[root@mail postfix-2.8.2]# postconf -m //查看模塊
mysql //增加了mysql服務
[root@mail postfix-2.8.2]# postconf -a
cyrus //支持驗證
安裝啟動腳本
[root@mail postfix-2.8.2]# mkdir /tmp/abc
[root@mail postfix-2.8.2]# cd /tmp/abc
[root@mail abc]# cp /mnt/cdrom/Server/postfix-2.3.3-2.1.el5_2.i386.rpm ./ //展開rpm包
[root@mail abc]# rpm2cpio postfix-2.3.3-2.1.el5_2.i386.rpm |cpio -id //-id表示建立相應目錄
[root@mail abc]# cd etc/rc.d/init.d/
[root@mail init.d]# ll
總計 4
-rwxr-xr-x 1 root root 2404 08-21 18:26 postfix
[root@mail init.d]# cp postfix /etc/init.d/ //拷貝控制腳本
[root@mail init.d]# service postfix stop
[root@mail init.d]# service postfix start
[root@mail init.d]# netstat -tupln |grep 25
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 11778/master
[root@mail init.d]# chkconfig --add postfix
[root@mail init.d]# chkconfig --list |grep postfix
[root@mail ~]# useradd user1
[root@mail ~]# passwd user1
2.進行一些基本配置,測試啟動postfix并進行發信
[root@mail ~]#vim /etc/postfix/main.cf
修改以下幾項為您需要的配置
75 myhostname = mail.a.org
83 mydomain = a.org
98 myorigin = $mydomain
112 inet_interfaces = all
160 mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
259 mynetworks = 127.0.0.0/8
說明:
myorigin參數用來指明發件人所在的域名;
mydestination參數指定postfix接收郵件時收件人的域名,即您的postfix系統要接收到哪個域名的郵件;
myhostname 參數指定運行postfix郵件系統的主機的主機名,默認情況下,其值被設定為本地機器名;
mydomain參數指定您的域名,默認情況下,postfix將myhostname的第一部分刪除而作為mydomain的值;
mynetworks 參數指定你所在的網絡的網絡地址,postfix系統根據其值來區別用戶是遠程的還是本地的,如果是本地網絡用戶則允許其訪問;
inet_interfaces 參數指定postfix系統監聽的網絡接口;
注意:
1、在postfix的配置文件中,參數行和注釋行是不能處在同一行中的;
2、任何一個參數的值都不需要加引號,否則,引號將會被當作參數值的一部分來使用;
3、每修改參數及其值后執行 postfix reload 即可令其生效;但若修改了inet_interfaces,則需重新啟動postfix;
4、如果一個參數的值有多個,可以將它們放在不同的行中,只需要在其后的每個行前多置一個空格即可;postfix會把第一個字符為空格或tab的文本行視為上一行的延續;
重新啟動postfix
[root@mail init.d]# service postfix restart
測試:
[root@mail ~]# telnet 127.0.0.1 25
helo mail.a.org
250 mail.a.org
mail from:root@localhost
250 2.1.0 Ok
rcpt to:user1@localhost
250 2.1.5 Ok
data
354 End data with <CR><LF>.<CR><LF>
hello
.
250 2.0.0 Ok: queued as 210ED7804D
quit
三、為postfix開啟基于cyrus-sasl的認證功能
1.使用以下命令驗證postfix是否支持cyrus風格的sasl認證,如果您的輸出為以下結果,則是支持的:
[root@mail init.d]# /usr/local/postfix/sbin/postconf -a
cyrus
dovecot
2.[root@mail init.d]#vim /etc/postfix/main.cf
添加以下內容:
############################CYRUS-SASL############################
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
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_banner = Welcome to our $myhostname ESMTP,Warning: Version not Available!
3.[root@mail ~]# vim /usr/lib/sasl2/smtpd.conf
添加如下內容:
pwcheck_method: saslauthd //借助于sasl實現身份驗證
mech_list: PLAIN LOGIN //驗證機制
4.啟動sasl服務,并讓postfix重新加載配置文件
[root@mail ~]# service saslauthd start
[root@mail ~]# chkconfig saslauthd on
[root@mail ~]# service postfix restart
5.測試
[root@mail ~]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
220 mail.a.org ESMTP Postfix
ehlo mail.a.org
250-mail.a.org
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN (請確保您的輸出以類似兩行,說明驗證功能已經打開)
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
四、安裝Courier authentication library
1.安裝過程
[root@mail ~]# tar -jxvf courier-authlib-0.63.0.tar.bz2 -C /usr/local/src
[root@mail src]# cd courier-authlib-0.63.0/
[root@mail courier-authlib-0.63.0]#./configure --prefix=/usr/local/courier-authlib --sysconfdir=/etc --with-authmysql --with-mysql-libs=/usr/lib/mysql --with-mysql-includes=/usr/include/mysql --with-redhat --with-authmysqlrc=/etc/authmysqlrc --with-authdaemonrc=/etc/authdaemonrc --with-ltdl-lib=/usr/lib --with-ltdl-include=/usr/include
命令參數說明:
--with-redhat:針對rehat操作系統進行優化
[root@mail courier-authlib-0.63.0]# make
[root@mail courier-authlib-0.63.0]# make install
[root@mail courier-authlib-0.63.0]# chmod 755 /usr/local/courier-authlib/var/spool/authdaemon
[root@mail courier-authlib-0.63.0]# cp /etc/authdaemonrc.dist /etc/authdaemonrc //驗證調用模塊
[root@mail courier-authlib-0.63.0]# cp /etc/authmysqlrc.dist /etc/authmysqlrc
2.編輯文件
vim /etc/authdaemonrc
文件內容修改:
27 authmodulelist="authmysql"
34 authmodulelistorig="authmysql"
53 daemons=10 //進程數量
vim /etc/authmysqlrc
26 MYSQL_SERVER localhost
27 MYSQL_USERNAME exmail //這時為后文要用的數據庫的所有者的用戶名
28 MYSQL_PASSWORD exmail //密碼
49 MYSQL_SOCKET /var/lib/mysql/mysql.sock
56 MYSQL_PORT 3306 //指定你的mysql監聽的端口,這里使用默認的3306
68 MYSQL_DATABASE extmail
83 MYSQL_USER_TABLE mailbox
92 MYSQL_CRYPT_PWFIELD password
113 MYSQL_UID_FIELD 2525 // postfix 用戶的UID
119 MYSQL_GID_FIELD 2525 // postfix 用戶的UID
128 MYSQL_LOGIN_FIELD username
133 MYSQL_HOME_FIELD concat('/var/mailbox/',homedir) \\/虛擬帳號主目錄
139 MYSQL_NAME_FIELD name
150 MYSQL_MAILDIR_FIELD concat('/var/mailbox/',maildir)
3.安裝啟動控制腳本
[root@mail courier-authlib-0.63.0]# cp courier-authlib.sysvinit /etc/init.d/courier-authlib
控制腳本要具備可執行權限
[root@mail courier-authlib-0.63.0]# chmod 755 /etc/init.d/courier-authlib
[root@mail courier-authlib-0.63.0]# service courier-authlib start //啟動服務
[root@mail courier-authlib-0.63.0]# chkconfig --add courier-authlib
[root@mail courier-authlib-0.63.0]# chkconfig courier-authlib on
[root@mail courier-authlib-0.63.0]# echo "/usr/local/courier-authlib/lib/courier-authlib" >> /etc/ld.so.conf.d/courier-authlib.conf
[root@mail courier-authlib-0.63.0]# ldconfig -v
[root@mail courier-authlib-0.63.0]# service courier-authlib restart //重新啟動服務
4.新建虛擬用戶郵箱所在的目錄,并將其權限賦予postfix用戶:
[root@mail courier-authlib-0.63.0]#mkdir -pv /var/mailbox
[root@mail courier-authlib-0.63.0]#chown -R postfix /var/mailbox
5.重新配置SMTP 認證
vim /usr/lib/sasl2/smtpd.conf
文件內容:
pwcheck_method: authdaemond //形成的守護進程
mech_list:PLAIN LOGIN
authdaemond_path:/usr/local/courier-authlib/var/spool/authdaemon/socket
[root@mail courier-authlib-0.63.0]# service saslauthd restart
[root@mail courier-authlib-0.63.0]# service courier-authlib restart
五、讓postfix支持虛擬域和虛擬用戶
1. vim /etc/postfix/main.cf
添加如下內容:
########################Virtual Mailbox Settings########################
virtual_mailbox_base = /var/mailbox
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf //虛擬帳號映射
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf //虛擬域映射
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_uid_maps = static:2525 //虛擬帳號映射為真實帳號
virtual_gid_maps = static:2525
virtual_transport = virtual
maildrop_destination_recipient_limit = 1
maildrop_destination_concurrency_limit = 1
##########################QUOTA Settings######################## //配額限定
message_size_limit = 14336000 //信件大小限制
virtual_mailbox_limit = 20971520
virtual_create_maildirsize = yes
virtual_mailbox_extended = yes
virtual_mailbox_limit_maps = mysql:/etc/postfix/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 Tidy your mailbox and try again later.
virtual_overquota_bounce = yes
2.使用extman源碼目錄下docs目錄中的extmail.sql和init.sql建立數據庫:
[root@mail ~]# tar zxvf extman-1.1.tar.gz //不需要安裝
[root@mail ~]# cd extman-1.1/docs
[root@mail docs]# mysql -u root -p <extmail.sql //導入數據庫
[root@mail docs]# mysql -u root -p <init.sql //初始化
[root@mail docs]# mysql -u root -p 進行驗證
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| extmail |
| mysql |
| test |
+--------------------+
[root@mail docs]# cp mysql* /etc/postfix/ //拷貝映射文件
3.授予用戶extmail訪問extmail數據庫的權限
mysql> GRANT all privileges on extmail.* TO extmail@localhost IDENTIFIED BY 'extmail';
mysql> GRANT all privileges on extmail.* TO extmail@127.0.0.1 IDENTIFIED BY 'extmail';
mysql>FLUSH PRIVILEGES; //刷新,讓設置的內容生效
[root@mail docs]#cp mysql_virtual_* /etc/postfix/
[root@mail docs]# service postfix restart
說明:啟用虛擬域以后,需要取消中心域,即注釋掉myhostname, mydestination, mydomain, myorigin幾個指令;當然,你也可以把mydestionation的值改為你自己需要的。
六、配置dovecot
1. vim /etc/dovecot.conf //把userdb的其他相關禁用
文件內容修改:
211 mail_location = mail_location = maildir:/var/mailbox/%d/%n/Maildir
758 auth default { //驗證機制
762 mechanisms = plain
795 # passdb pam { //關閉密碼驗證可查模塊
828 #}
869 passdb sql { //數據庫調用密碼
871 args = /etc/dovecot-mysql.conf
872 }
896 #userdb passwd {
903 #}
930 userdb sql {
932 args = /etc/dovecot-mysql.conf
933 }
2.vim /etc/postfix/main.cf //修改配置文件
414 home_mailbox = Maildir/
3.vim /etc/dovecot-mysql.conf
文件內容加入:
driver = mysql
connect = host=localhost dbname=extmail user=extmail password=extmail
default_pass_scheme = CRYPT
password_query = SELECT username AS user,password AS password FROM mailbox WHERE username = '%u'
user_query = SELECT maildir, uidnumber AS uid, gidnumber AS gid FROM mailbox WHERE username = '%u'
4.接下來啟動dovecot服務:
[root@mail ~]# service dovecot restart
[root@mail ~]# chkconfig dovecot on
七、安裝Extmail-1.2 (先安裝httpd)
1.安裝
[root@mail ~]# tar -zxvf extmail-1.2.tar.gz
[root@mail ~]# mkdir -pv /var/www/extsuite
[root@mail ~]# mv extmail-1.2 /var/www/extsuite/extmail
[root@mail extmail]# cp webmail.cf.default webmail.cf
2.修改主配置文件
vim /var/www/extsuite/extmail/webmail.cf
文件內容修改:
44 SYS_LOG_ON = 1 //驗證碼
77 SYS_USER_LANG = zh_CN //中文
127 SYS_MAILDIR_BASE = /var/mailbox //用戶郵件的存放目錄
139 SYS_MYSQL_USER = extmail
140 SYS_MYSQL_PASS = extmail //設置連接數據庫服務器所使用用戶名、密碼和郵件服務器用到的數據庫
197 SYS_AUTHLIB_SOCKET = /usr/local/courier-authlib/var/spool/authdaemon/socket //指明authdaemo socket文件的位置
3.apache相關配置
由于extmail要進行本地郵件的投遞操作,故必須將運行apache服務器用戶的身份修改為您的郵件投遞代理的用戶;本例中打開了apache服務器的suexec功能,故使用以下方法來實現虛擬主機運行身份的指定。此例中的MDA為postfix自帶,因此將指定為postfix用戶:
在虛擬主機配置加上SuexecUserGroup postfix postfix即可
<VirtualHost>
SuexecUserGroup postfix postfix
</VirtualHost>
如果您沒有打開apache服務器的suexec功能,也可以使用以下方法解決:
vim /etc/httpd/conf/httpd.conf
文件內容修改:
231 User postfix
232 Group postfix
992 <VirtualHost 192.168.145.100:80>
993 ServerName mail.a.org
994 DocumentRoot /var/www/extsuite/extmail/html/
995 ScriptAlias /extmail/cgi /var/www/extsuite/extmail/cgi
996 Alias /extmail /var/www/extsuite/extmail/html
997 </VirtualHost>
修改 cgi執行文件屬組為apache運行身份用戶:
[root@mail extmail]# chown -R postfix.postfix /var/www/extsuite/extmail/cgi/
[root@mail extmail]# service httpd restart
4.依賴關系的解決
[root@mail ~]# tar zxvf Unix-Syslog-1.1.tar.gz
[root@mail ~]# cd Unix-Syslog-1.1
[root@mail Unix-Syslog-1.1]# perl Makefile.PL
[root@mail Unix-Syslog-1.1]# make
[root@mail Unix-Syslog-1.1]# make install
5.啟動apache服務
[root@mail Unix-Syslog-1.1]# service httpd start
[root@mail Unix-Syslog-1.1]# chkconfig httpd on
訪問站點:http://mail.a.org
八、安裝Extman-1.1
1.安裝及基本配置
[root@mail ~]# tar zxvf extman-1.1.tar.gz
[root@mail ~]# mv extman-1.1 /var/www/extsuite/extman
2.修改配置文件以符合本例的需要:
[root@mail extmail]# cd /var/www/extsuite/extman
[root@mail extman]# cp webman.cf.default webman.cf
[root@mail extman]# vim webman.cf
文件內容修改:
12 SYS_MAILDIR_BASE = /var/mailbox //設置的用戶郵件的存放目錄
21 SYS_CAPTCHA_ON = 0 //驗證碼
3.修改cgi目錄的屬主:
[root@mail extman]# chown -R postfix.postfix /var/www/extsuite/extman/cgi/
4.vim /etc/httpd/conf/httpd.conf
在apache的主配置文件中Extmail的虛擬主機部分,添加如下兩行:
997 ScriptAlias /extman/cgi /var/www/extsuite/extman/cgi
998 Alias /extman /var/www/extsuite/extman/html
文件內容變為:
992 <VirtualHost 192.168.145.100:80>
993 ServerName mail.a.org
994 DocumentRoot /var/www/extsuite/extmail/html/
995 ScriptAlias /extmail/cgi /var/www/extsuite/extmail/cgi
996 Alias /extmail /var/www/extsuite/extmail/html
997 ScriptAlias /extman/cgi /var/www/extsuite/extman/cgi
998 Alias /extman /var/www/extsuite/extman/html
999 </VirtualHost>
5.創建其運行時所需的臨時目錄,并修改其相應的權限:
[root@mail extman]# mkdir -pv /tmp/extman
[root@mail extman]# chown postfix.postfix /tmp/extman
6.注意:vim /etc/postfix/main.cf
文件內容修改:
160 #mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain //要禁用
[root@mail Unix-Syslog-0.100]# service postfix restart
九、訪問站點:http://mail.a.org
選擇管理即可登入extman進行后臺管理了。默認管理帳號為:root@extmail.org 密碼為:extmail*123*
我們進去后選擇添加管理員就行了,這里添加的是賬戶名:test 密碼:123
我們可以選擇添加域,這里添加的是bj.zz.com與sh.zzcom
進入到添加的域。點擊允許自由注冊。
我們就可以進行注冊了
注冊賬戶user2@bj.zz.com 與 user3@sh.zz.com
密碼均設為123 ,注冊用戶的時候先選擇域。
進行郵件發送傳輸測試
user2登錄向user3發送郵件
?
查看郵件服務器的日志
[root@mail ~]# tail -f /var/log/maillog
Aug 11 20:35:04 localhost postfix/qmgr[19733]: 48A00EDC5C: from=<user2@bj.zz.com>, size=589, nrcpt=1 (queue active)
Aug 11 20:35:04 localhost postfix/smtpd[19742]: disconnect from localhost.localdomain[127.0.0.1]
Aug 11 20:35:04 localhost postfix/virtual[19750]: 48A00EDC5C: to=<user3@sh.zz.com>, relay=virtual, delay=0.09, delays=0.07/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to maildir)
Aug 11 20:35:04 localhost postfix/qmgr[19733]: 48A00EDC5C: removed
user3登錄查看是否收到郵件
?
?
?
轉載于:https://blog.51cto.com/uodekoaix/992774
總結
以上是生活随笔為你收集整理的linux下×××postfix的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 事务日志
- 下一篇: 关掉linux下的讨厌的beep声