邮件系统之postfix

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 邮件地址伪装
邮件是需要域的
允许使用$+参数引用其它变量的值
邮件系统之postfix

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

邮件系统之postfix

邮件系统之postfix
smtp :
connection:smtpd_client_restrictions=
helo :smtpd_helo_restrictions=
mail from :smtpd_sender_restrictions=
rcpt to :smtpd_recipient_restrictions=
data :smtpd_data_restrictions=

邮件系统之postfix
邮件系统之postfix
邮件系统之postfix
查找表:
访问控制文件
/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邮件系统之postfix

httpd :虚拟主机,多个站点
中心主机,site
邮件服务器,域名
物理服务器:
一台服务器为多个域收发邮件
mydestination=
mydomain= a.com ,b.net ,c.org ,d.edu
使用查找表
myorigin=
推荐使用mysql
mysql+php 网页在线注册邮箱,数据保存在mysql中

虚拟域
用户别名
用户账号 :虚拟用户

转载于:https://blog.51cto.com/14087650/2404416

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值