Linux下mail服务器应用之邮件系统
SMTP,:(Simple Mail Transmission Protocol)简单邮件传输协议,TCP 25端口,smtps
POP3,(Post Office Protocol)第3版邮局协议,TCP 110端口,pops
IMAP4,(Internet Mail Access Protocol)因特网消息访问协议,TCP 143端口,imaps
Mine ,MIME:(Multipurpose Internet Mail Extensions)多用途、多功能互联网邮件扩展:以文本的方式对二进制数据做重新编码,并能够实现以文本协议发送二进制数据。常用编码编码方式:base64.。
v 商业邮件系统
ü Exchange:微软公司的重量级产品,与Windows系列软件产品相集成,协作性较好
ü Notes/Domino:IBM公司的商业电子邮件和办公协作软件产品,功能丰富、强大,提供跨平台支持
v 开源邮件系统
ü Sendmail:资格最古老,运行稳定,但安全性欠佳
ü Qmail:有更好的执行效率,配置、管理也很方便
ü Postfix:兼容Sendmail,采用模块化设计,在投递效率、稳定性、服务性能及安全性方面表现优秀
v Sendmail:提供邮件发送服务(SMTP)
v Dovecot:提供邮件收取服务(POP3)
v Outlook Express:用于收发信的客户端工具
邮件系统角色
MUA(邮件用户代理)、MTA(邮件传输代理)、MDA(邮件分发代理)、MAA(邮件访问代理)
MUA: (Mail User Agent): 邮件用户代理:就是用户与电子邮件系统的接口,在大多数情况下就是在邮件客户端上运行的程序。
Windows:outlook express foxmail
Lnux:Thunderbird(雷鸟) evolution
MTA (Mail Transfer Agent):邮件传输代理:主要功能发送和接收邮件,同时向发件人报告邮件的传送情况。根据用途可将邮件服务器分为邮件服务器(SMTP 服务器)和接受邮件服务器(POP3/IMAP4 服务器)。
windows:电子邮件服务 ,exchange server,mdaemon,lotus notes Linux:sendmail(50%),postfix,qmail
MDA (Mail Delivery Agent):邮件投递代理:到本地邮局之后,将邮件放在用户的邮箱中。可以是MTA 下面的一个小程序,也可以单独是一个软件例如procmail,maildrop。
MAA:(Mail Access Agent)(接受服务器)邮件访问代理:代为MUA 提供访问message store 并接收邮件功能的一台IMAP/POP3 服务器,常用courrier-imap ,dovecot。
邮件安全:
1.垃圾邮件 反垃圾邮件 SpamAssassin,认证(地址,账号),正向解析和反向
2.病毒 clamav(查毒)特征代码库
3.sendmail 邮件呼叫器 mailscanner
SASL:(Simple Authorization Secure Layer)简单认证安全层协议,用于为没有提供认证功能的协议提供认证功能。软件包:cyus-sasl,进程:saslauthd。
整合STMP,clainav(扫描病毒),SpamAssassin(apache 提供,扫描垃圾邮件)的工具成称之为caller(调用器)。常见调用器Caller:mimedefang Mailscanner amavisd-new。
邮箱类型:
mbox 所有邮件放在同一个文件中,新邮件直接追加在文件后面。
maildir 建一个目录,每一封邮件被当成一个单独文件存放在目录里
redhat 默认使用mbox 方式,sendmail 默认使用mbox,postfix 默认两种都支持。
SMIME:提供端到端的邮件加密解密协议。
sendmail邮件系统
sendmail所需软件包:
sendmail-8.13.8-2.el5.i386.rpm #必选,主程序包
sendmail-cf-8.13.8-2.el5.i386.rpm #必选,配置文件包
sendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-doc-8.13.8-2.el5.i386.rpm
m4-1.4.5-3.el5.1.i386.rpm #m4工具包
Sendmail服务软件包
sendmail-8.13.8-2.el5.i386.rpm:sendmail服务的主程序包,服务器端必须安装该软件包。
sendmail-cf-8.13.8-2.el5.i386.rpm:sendmail宏文件包
sendmail-devel-8.13.8-2.el5.i386.rpm:sendmail服务器开发工具软件包
sendmail-doc-8.13.8-2.el5.i386.rpm:sendmail服务器的说明文档
m4-1.4.5-3.el5.1.i386.rpm:宏处理过虑软件包
dovecot-1.0-1.2.rc15.el5.i386.rpm:接收邮件软件包,安装时需要注意安装顺序
Sendmail相关配置文档
sendmail.cf:sendmail核心配置文件,位于/etc/mail/sendmail/sendmail.cf
sendmail.mc:sendmail提供sendmail文件模板,通过编辑此文件后再使用m4工具将结果导入sendmail.cf完成配置sendmail核心配置文件,降低配置复杂度,位于/etc/mail/sendmail.mc
local-host-name:定义收发邮件服务器的域名和主机别名,位于/etc/mail/local-host-name
access.db:用来设置sendmail服务器为哪些主机进行转发邮件,位于/etc/mail/access.db
aliases.db:用来定义邮箱别名,位于/etc/mail/aliases.db
virtusertable.db:用来设置虚拟账户,位于/etc/mail/virtusertable.db
图形化webmin管理sendmail服务器:
使用webmin管理linux的sendmail服务
到webmin的官方网站下载webmin软件:
Webmin官网:http://www.webmin.com/
配置步骤:
我下载的是webmin-1.580-1.noarch.rpm我把它放到/root目录下了。
[[email protected] ~]# rpm -ivh webmin-1.580-1.noarch.rpm
[[email protected] ~]# service webmin start
[[email protected] ~]# service webmin status
Webmin (pid 5388) is running
注:webmin默认端口为10000.
其它资料:
①.linux中启动sendmail很慢的解决方法
linux 系统启动时,发现sendmail启动很慢,发现是/etc/hosts文件没有添另hostname名称.
1、修改之前
127.0.0.1 localhost
2、修改之后
127.0.0.1 localhost mailserver
重启系统,发现sendmail启动的进候变快了.
②.sendmail错误cannot open `/usr/share/sendmail-cf/m4/cf.m4
配置sendmail,生成配置文件时,出现以下错误:
[[email protected] mail]# m4 sendmail.mc >sendmail.cf
sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
通过安装sendmail-cf解决
[[email protected] mail]# yum -y install sendmail-cf
③.问题:使用 命令 mail -s "sdf" [email protected] </root/install.log 发不了邮件。
查看日志报错:/var/log/maillog
My unqualified host name (localhost) unknown; sleeping for retry
问题原因:sendmail配置文件有问题。
修改sendmail配置文件
#Dj$w.Foo.COM
Djlocalhost.localdomain ------------>添加
重启sendmail
sendmail邮件系统的一个案例
实验拓扑
① :在mail.bj.com安装sendmail并进行简单配置
[[email protected] ~]# mkdir /mnt/cdrom
[[email protected] ~]# mount /dev/cdrom /mnt/cdrom/
mount: block device /dev/cdrom is write-protected, mounting read-only
[[email protected] ~]# cd /mnt/cdrom/Server/
[[email protected] Server]# rpm -qa |grep -E "sendmail|m4"
m4-1.4.5-3.el5.1
sendmail-8.13.8-2.el5
[[email protected] Server]# rpm -ivh sendmail-
sendmail-8.13.8-2.el5.i386.rpm #主程序包
sendmail-cf-8.13.8-2.el5.i386.rpm #配置工具包
sendmail-devel-8.13.8-2.el5.i386.rpm
sendmail-doc-8.13.8-2.el5.i386.rpm
[[email protected] Server]# rpm -ivh sendmail-cf-8.13.8-2.el5.i386.rpm
[[email protected] Server]# cd /etc/mail/
[[email protected] mail]# ls
Makefile domaintable.db mailertable.db submit.mc
access helpfile sendmail.cf trusted-users
access.db local-host-names sendmail.mc virtusertable
domaintable mailertable submit.cf virtusertable.db
编辑主要配置文件:
[[email protected] mail]# vim sendmail.mc
116 DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
[[email protected] ~]# netstat -tupln |grep sendmail
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3407/sendmail: acce
[[email protected] ~]# service sendmail restart
[[email protected] ~]# netstat -tupln |grep sendmail
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 4440/sendmail: acce
中继文件:
[[email protected] mail]# vim access #增加10,11,12行
9 Connect:127.0.0.1 RELAY
10 Connect:10.106.6 RELAY
11 bj.com OK
12 sh.com RELAY
表明邮件服务器的域名:
[[email protected] mail]# vim local-host-names
增加:bj.com
重新启动sendmail服务器:
[[email protected] mail]# chkconfig sendmail on
[[email protected] mail]# service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
新建账户:
[[email protected] ~]# useradd user1
[[email protected] ~]# useradd user2
[[email protected] ~]# echo "123" |passwd --stdin user1
[[email protected] ~]# echo "123" |passwd --stdin user2
② :搭建dns服务器,并作相关配置:
[[email protected] ~]# cd /mnt/cdrom/Server/
[[email protected] Server]# rpm -ivh bind-9.3.4-10.P1.el5.i386.rpm
[[email protected] Server]# rpm -ivh bind-chroot-9.3.4-10.P1.el5.i386.rpm
[[email protected]]# rpm -ivh caching-nameserver-9.3.4-10.P1.el5.i386.rpm
[[email protected] Server]# cd /var/named/chroot/etc/
[[email protected] etc]# ll
[[email protected] etc]# cp -p named.caching-nameserver.conf named.conf
[[email protected] etc]# vim named.conf
15 listen-on port 53 { any; };
27 allow-query { any; };
36 match-clients { any; };
37 match-destinations { any; };
[[email protected] etc]# vim named.rfc1912.zones
增加以下几行:
20 zone "bj.com" IN {
21 type master;
22 file "bj.com.db";
23 allow-update { none; };
24 };
[[email protected] etc]# cd ../var/named/
[[email protected] named]# ll
[[email protected] named]# cp -p localhost.zone bj.com.db
[[email protected] named]# vim bj.com.db
2 @ IN SOA ns.bj.com. root (
9 @ IN NS ns.bj.com.
10 ns IN A 10.106.6.254
11 mail IN A 10.106.6.254
12 pop3 IN CNAME mail
13 smtp IN CNAME mail
14 @ IN MX 10 mail
[[email protected] named]# chkconfig named on
[[email protected] named]# service named start
Starting named: [ OK ]
③ :客户端测试dns解析,进行简单配置:
④ :进行配置,并安装接收dovecot服务器:
进行系统配置:
[[email protected] named]# vim /etc/resolv.conf
1 nameserver 10.106.6.254
[[email protected] named]# vim /etc/sysconfig/network
3 HOSTNAME=mail.bj.com
[[email protected] named]# vim /etc/hosts
127.0.0.1 mail.bj.com localhost.localdomain localh ost
[[email protected] named]#init 6
[[email protected] ~]# yum install -y dovecot
[[email protected] ~]# chkconfig dovecot on
[[email protected] ~]# service dovecot start
Starting Dovecot Imap: [ OK ] [[email protected] ~]# netstat -tupln |grep dovecot
(110,143,993(imaps),995(pop3s))
⑤ :bj.com客户端发送信息测试:(使用foxmail)
user1给user1发送信息:
user1给user2发送信息:
日志分析:
Mar 23 10:45:50 mail sendmail[3938]: q2N2jovd003938: from=<[email protected]>, size=1430, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.190]
Mar 23 10:45:50 mail sendmail[3939]: q2N2jovd003938: to=<[email protected]>, ctladdr=<[email protected]> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31594, dsn=2.0.0, stat=Sent
Mar 23 10:46:08 mail dovecot: pop3-login: Login: user=<user1>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 10:46:09 mail dovecot: POP3(user1): Disconnected: Logged out top=0/0, retr=1/1696, del=0/1, size=1679
Mar 23 10:58:20 mail sendmail[4012]: q2N2wKKs004012: from=<[email protected]>, size=1481, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.190]
Mar 23 10:58:20 mail sendmail[4013]: q2N2wKKs004012: to=<[email protected]>, ctladdr=<[email protected]> (501/501), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31645, dsn=2.0.0, stat=Sent
Mar 23 10:59:09 mail dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 10:59:09 mail dovecot: pop3-login: Login: user=<user2>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 10:59:09 mail dovecot: POP3(user2): Disconnected: Logged out top=0/0, retr=1/1748, del=0/2, size=3448
⑥ :配置mail.sh.com上海服务器:
安装sendmail
[[email protected] ~]# mkdir /mnt/cdrom
[[email protected] ~]# mount /dev/cdrom /mnt/cdrom/
[[email protected] ~]# cd /mnt/cdrom/Server/
[[email protected] Server]# rpm -qa |grep -E "sendmail|m4"
[[email protected] Server]# rpm -ivh sendmail-cf-8.13.8-2.el5.i386.rpm
[[email protected] Server]# cd /etc/mail/
[[email protected] mail]# ls
编辑主要配置文件:
[[email protected] mail]# vim sendmail.mc
116 DAEMON_OPTIONS(`Port=smtp,Addr=0.0.0.0, Name=MTA')dnl
[[email protected] ~]# netstat -tupln |grep sendmail
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3607/sendmail: acce
[[email protected] ~]# service sendmail restart
[[email protected] ~]# netstat -tupln |grep sendmail
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3528/sendmail: acce
中继文件:
[[email protected] mail]# vim access #增加10,11,12行
9 Connect:127.0.0.1 RELAY
10 Connect:10.106.6 RELAY
11 sh.com OK
12 bj.com RELAY
表明邮件服务器的域名:
[[email protected] mail]# vim local-host-names
增加:sh.com
重新启动sendmail服务器:
[[email protected] mail]#chkconfig sendmail on
[[email protected] mail]# service sendmail restart
Shutting down sm-client: [ OK ]
Shutting down sendmail: [ OK ]
Starting sendmail: [ OK ]
Starting sm-client: [ OK ]
新建账户:
[[email protected] ~]# useradd user3
[[email protected] ~]# useradd user4
[[email protected] ~]# echo "123" |passwd --stdin user3
[[email protected] ~]# echo "123" |passwd --stdin user4
⑦ :搭建mail.sh.com的dns服务器,并作相关配置:
[[email protected] ~]# cd /mnt/cdrom/Server/
[[email protected] Server]# rpm -ivh bind-9.3.4-10.P1.el5.i386.rpm
[[email protected] Server]# rpm -ivh bind-chroot-9.3.4-10.P1.el5.i386.rpm
[[email protected]]# rpm -ivh caching-nameserver-9.3.4-10.P1.el5.i386.rpm
[[email protected] Server]# cd /var/named/chroot/etc/
[[email protected] etc]# ll
[[email protected] etc]# cp -p named.caching-nameserver.conf named.conf
[[email protected] etc]# vim named.conf
15 listen-on port 53 { any; };
27 allow-query { any; };
36 match-clients { any; };
37 match-destinations { any; };
[[email protected] etc]# vim named.rfc1912.zones
增加以下几行:
20 zone "sh.com" IN {
21 type master;
22 file "sh.com.db";
23 allow-update { none; };
24 };
[[email protected] etc]# cd ../var/named/
[[email protected] named]# ll
[[email protected] named]# cp -p localhost.zone sh.com.db
[[email protected] named]# vim sh.com.db
2 @ IN SOA ns.sh.com. root (
9 @ IN NS ns.sh.com.
10 ns IN A 10.106.6.253
11 @ IN MX 10 mail
12 mail IN A 10.106.6.253
13 pop3 IN CNAME mail
14 smtp IN CNAME mail
[[email protected] named]# chkconfig named on
[[email protected] named]# service named start
Starting named: [ OK ]
客户端测试dns解析:
⑧ :在sh.com进行系统配置,并安装接收服务器:
[[email protected] named]# vim /etc/resolv.conf
1 nameserver 10.106.6.253
[[email protected] named]# vim /etc/sysconfig/network
3 HOSTNAME=mail.sh.com
[[email protected] named]# vim /etc/hosts
127.0.0.1 mail.sh.com localhost.localdomain localh ost
[[email protected] named]#init 6
安装接受服务器:
[[email protected] ~]# yum install -y dovecot
[[email protected] ~]# chkconfig dovecot on
[[email protected] ~]# service dovecot start
Starting Dovecot Imap: [ OK ] [[email protected] ~]# netstat -tupln |grep dovecot
(110,143,993(imaps),995(pop3s))
⑨ :sh.com的客户端测试,user3给user4发信息:
⑩ :做dns转发和配置反向解析
在mail.bj.com上做dns转发和反向解析:
[[email protected] ~]# cd /var/named/chroot/etc/
[[email protected] etc]# vim named.conf
28 forwarders { 10.106.6.253; };
[[email protected] etc]# rndc reload
server reload successful
[[email protected] etc]# vim named.rfc1912.zones
55 zone "6.106.10.in-addr.arpa" IN {
56 type master;
57 file "10.106.6.db";
58 allow-update { none; };
59 };
[[email protected] etc]# cd ../var/named/
[[email protected] named]# ll
[[email protected] named]# cp -p named.local 10.106.6.db
[[email protected] named]# vim 10.106.6.db
254 IN PTR mail.bj.com.
153 IN PTR mail.sh.com.
[[email protected] named]# rndc reload
server reload successful
在mail.sh.com上做dns转发和反向解析:
[[email protected] ~]# cd /var/named/chroot/etc/
[[email protected] etc]# vim named.conf
28 forwarders { 10.106.6.254; };
[[email protected] etc]# rndc reload
server reload successful
[[email protected] etc]# vim named.rfc1912.zones
55 zone "6.106.10.in-addr.arpa" IN {
56 type master;
57 file "10.106.6.db";
58 allow-update { none; };
59 };
[[email protected] etc]# cd ../var/named/
[[email protected] named]# ll
[[email protected] named]# cp -p named.local 10.106.6.db
[[email protected] named]# vim 10.106.6.db
254 IN PTR mail.bj.com.
153 IN PTR mail.sh.com.
[[email protected] named]# rndc reload
server reload successful
? :测试通信情况
(bj.com的客户[email protected]与sh.com的客户[email protected]通信)
? :监控的日志信息:
mail.bj.com的日志信息:
[[email protected] ~]# tail -f /var/log/maillog
Mar 23 15:46:07 mail dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:46:07 mail dovecot: pop3-login: Login: user=<user2>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:46:07 mail dovecot: POP3(user2): Disconnected: Logged out top=0/0, retr=0/0, del=0/3, size=5025
Mar 23 15:46:13 mail sendmail[2298]: q2N7kCbh002298: from=<[email protected]>, size=1458, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.190]
Mar 23 15:46:16 mail sendmail[2300]: q2N7kCbh002298: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:03, xdelay=00:00:03, mailer=esmtp, pri=121458, relay=mail.sh.com. [10.106.6.253], dsn=2.0.0, stat=Sent (q2N8W6jM003583 Message accepted for delivery)
Mar 23 15:48:38 mail sendmail[2307]: q2N7mc6a002307: from=<[email protected]>, size=3353, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.253]
Mar 23 15:48:38 mail sendmail[2308]: q2N7mc6a002307: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33514, dsn=2.0.0, stat=Sent
Mar 23 15:48:54 mail dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:48:54 mail dovecot: pop3-login: Login: user=<user1>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:48:54 mail dovecot: POP3(user1): Disconnected: Logged out top=0/0, retr=1/3623, del=0/1, size=3606
Mar 23 15:51:04 mail sendmail[2320]: q2N7p4Pg002320: from=<[email protected]>, size=1470, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.190]
Mar 23 15:51:04 mail sendmail[2322]: q2N7p4Pg002320: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=121470, relay=mail.sh.com. [10.106.6.253], dsn=2.0.0, stat=Sent (q2N8aucK003603 Message accepted for delivery)
Mar 23 15:52:25 mail sendmail[2325]: q2N7qPlW002325: from=<[email protected]>, size=3514, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=[10.106.6.253]
Mar 23 15:52:25 mail sendmail[2326]: q2N7qPlW002325: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=33675, dsn=2.0.0, stat=Sent
Mar 23 15:52:34 mail dovecot: pop3-login: Aborted login: user=<[email protected]>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:52:34 mail dovecot: pop3-login: Login: user=<user1>, method=PLAIN, rip=::ffff:10.106.6.190, lip=::ffff:10.106.6.254
Mar 23 15:52:34 mail dovecot: POP3(user1): Disconnected: Logged out top=0/0, retr=1/3786, del=0/2, size=7375
mail.sh.com的日志信息:
[[email protected] ~]# tail -f /var/log/maillog
Mar 23 16:24:06 mail dovecot: pop3-login: Login: user=<user3>, method=PLAIN, rip=::ffff:10.106.6.200, lip=::ffff:10.106.6.253
Mar 23 16:24:06 mail dovecot: POP3(user3): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 23 16:24:07 mail dovecot: pop3-login: Login: user=<user4>, method=PLAIN, rip=::ffff:10.106.6.200, lip=::ffff:10.106.6.253
Mar 23 16:24:07 mail dovecot: POP3(user4): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
Mar 23 16:32:07 mail sendmail[3583]: q2N8W6jM003583: from=<[email protected]>, size=1617, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=mail.bj.com [10.106.6.254]
Mar 23 16:32:08 mail sendmail[3584]: q2N8W6jM003583: to=<[email protected]>, delay=00:00:01, xdelay=00:00:01, mailer=local, pri=31791, dsn=2.0.0, stat=Sent
Mar 23 16:32:51 mail dovecot: pop3-login: Login: user=<user3>, method=PLAIN, rip=::ffff:10.106.6.200, lip=::ffff:10.106.6.253
Mar 23 16:32:51 mail dovecot: POP3(user3): Disconnected: Logged out top=0/0, retr=1/1898, del=1/1, size=1881
Mar 23 16:34:29 mail sendmail[3595]: q2N8YTvQ003595: from=<[email protected]>, size=3193, class=0, nrcpts=1, msgid=<[email protected]>, proto=SMTP, daemon=MTA, relay=[10.106.6.200]
Mar 23 16:34:29 mail sendmail[3597]: q2N8YTvQ003595: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=123193, relay=mail.bj.com. [10.106.6.254], dsn=2.0.0, stat=Sent (q2N7mc6a002307 Message accepted for delivery)
Mar 23 16:36:56 mail sendmail[3603]: q2N8aucK003603: from=<[email protected]>, size=1629, class=0, nrcpts=1, msgid=<[email protected]>, proto=ESMTP, daemon=MTA, relay=mail.bj.com [10.106.6.254]
Mar 23 16:36:56 mail sendmail[3604]: q2N8aucK003603: to=<[email protected]>, delay=00:00:00, xdelay=00:00:00, mailer=local, pri=31803, dsn=2.0.0, stat=Sent
Mar 23 16:37:04 mail dovecot: pop3-login: Login: user=<user3>, method=PLAIN, rip=::ffff:10.106.6.200, lip=::ffff:10.106.6.253
Mar 23 16:37:04 mail dovecot: POP3(user3): Disconnected: Logged out top=0/0, retr=1/1909, del=1/1, size=1892
Mar 23 16:38:16 mail sendmail[3611]: q2N8cGVM003611: from=<[email protected]>, size=3354, class=0, nrcpts=1, msgid=<[email protected]>, proto=SMTP, daemon=MTA, relay=[10.106.6.200]
Mar 23 16:38:16 mail sendmail[3613]: q2N8cGVM003611: to=<[email protected]>, ctladdr=<[email protected]> (500/500), delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=123354, relay=mail.bj.com. [10.106.6.254], dsn=2.0.0, stat=Sent (q2N7qPlW002325 Message accepted for delivery)
转载于:https://blog.51cto.com/jinjianping/996904