MAIL Service 协议: SMTP:Simple Mail Transmission Protocol 25 ESMTP:Extended POP3:POST
.
MAIL Service
.协议:
SMTP:Simple Mail Transmission Protocol 25
ESMTP:Extended
POP3:POST Office Protocl 3
TCP 110
IMAP4:Internet Mail Access Protocol
TCP 143
Smtps (465/tcp),pop3s(995/tcp),imap(993/tcp)
UUCP:Unix to Unix Copy Protocol SMTP的前身/
.mbox mdir
./var/mail ---> /var/spool/mail
.MUA: Mail User Agent 用户邮件代理
.Outlook
Outlook
Foxmail
Thunderbird
mutt
.MTA:Mail Transfer Agent 通常是服务器(smtp)
.Sendmail
qmail 轻量级的,但生命很短
postfix(IBM)
Exim
courier
Exchange Server
Lotus Note Domino 异步消息同步
.MDA:Mail Deliver Agent 邮件投递代理
.Procmail
maildrop
.MRA:Mail Retrival Agent 用户取邮件 (pop3,imap4)
.dovecot
courier-imap
cyrus-imap
.MSA:Mail Submission Agent
SASL(v2):Simple Authentication Secure Layer (框架)
.Login
plain
.软件:cyrus-sasl
.进程:saslauthd
Courier-authlib(支持将用户账号存放ldap服务或Mysql中)
.Webmail:
.OpenWebMail (paul)
SqWebMail (php)
Extmail (国人开发,漂亮)EMOS 发行版
.反垃圾:
.基于内容过滤
Apache spamassassin
spamlocke
.病毒附件扫描:
.clamav
.Caller:调用工具
.MIME Defang
Mailscanner
amavsd-new
.Postfix+sasl+dovecot+courier-authlib+Extmail+Extman
postfix:
.命令:
. .postfix –n 查看默认配置
postalias 设定别名数据库
postmap 转换access档案
mailq
postqueue 查看队列
. .
/etc/postfix/master.cf 程序动作参数
/etc/postfix/main.cf 主要设置文件
等号两边要给予空格,参数过多需要换行逗号结尾,第二行空格开头
/etc/postfix/access (需要postmap处理) 设定开放relay
/etc/aliases (postalias处理)邮件别名
如果是本域的则负责接收并中继
myhostname =
myorigin = 发件人域名改写的
inet_interfaces = 工作在哪个网卡,监听的端口
mydestination = 到哪些域的邮件是本机负责接收的
mynetworks = 用来定义给来自哪些主机邮件中继的
smtpd_client_restrictions = 限制telnet的主机
smtpd_data_restrictions = 限制data
smtpd_end_of_data_restrictions = 那个点
smtpd_etrn_restrictions = 限制ehlo
smtpd_helo_restrictions = 限制helo
smtpd_recipient_restrictions = permit_mynetworks, 限制中继的
smtpd_sender_restrictions = 限制mail from:
check_helo_access hash:/etc/postfix/clientes
邮件别名:邮件转发
postalias 别名转换为db
postmap 访问控制转换为db
.pop3,ssl ---pop3s
imap,ssl ---imaps
smtp,ssl ---smtps (不好用)
S/MINE ,GPG 加密
mutt –f pop[s]://用户@主机
postfix:支持虚拟用户 虚拟域
.