postfix :
MUA:mutt mail (Linux)
Mail Relay :邮件中继
MTA :sendmail ,qmail ,postfix ,exim
postfix :模块化设计
postconf
-a :服务器端支持的SASL插件类型
-e :PARA=VALUEbr/>root@mail.tom.com
->root@tom.com 邮件地址伪装
邮件是需要域的
允许使用$+参数引用其它变量的值
MRA :cyrus-imap , dovecot
dovecot依赖mysql客户端
pop3 :110/tcp
imap4 :143/tcp
以明文方式工作
dove支持四种协议:pop3, imap4 ,pops,imaps
配置文件 : /etc/dovrcot.conf
有SASL认证能力
邮箱格式 :
mbox :一个文件存储所有邮件;
maildir:一个文件存储一封邮件,所有邮件存储在一个目录中;
/etc/rc.d/init.d/dovecot
postfix+SASL 用户认证
1、启动sasl,启动sasl服务
/etc/rc.d/init.d/saslauthd
/etc/sysconfig/saslauthd
saslauthd -v :显示当前主机saslauthd服务所支持的认证机制,默认为pam
smtp :
connection:smtpd_client_restrictions=
helo :smtpd_helo_restrictions=
mail from :smtpd_sender_restrictions=
rcpt to :smtpd_recipient_restrictions=
data :smtpd_data_restrictions=
查找表:
访问控制文件
/etc/postfix/access -->hash格式-->/etc/postfix/access.db
postfix
Aliases, newaliases
/etc/aliases-->/etc/aliases.db
/etc/postfix/main.cf /etc/postfix/master.cf
postconf
-e
-a
-n
-d
-m
myhostname
mydomain
mynetworks
mydestination
myorigin :发件人地址伪装
inetinterfaces :定义postfix进程监听的IP地址
smtpd【client】_restrictions
check_client_access hash:
helo
sender
recipient
data
httpd :虚拟主机,多个站点
中心主机,site
邮件服务器,域名
物理服务器:
一台服务器为多个域收发邮件
mydestination=
mydomain= a.com ,b.net ,c.org ,d.edu
使用查找表
myorigin=
推荐使用mysql
mysql+php 网页在线注册邮箱,数据保存在mysql中
虚拟域
用户别名
用户账号 :虚拟用户
转载于:https://blog.51cto.com/14087650/2404416