这个有两个现象:
1.是单独搭建域及邮件服务器.
2.是搭建域控,并且邮件服务器做同步. 但是首先得搭建域了,
这个可以按下面的步骤进行操作.
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) //stmp banned(用于telnet操作修改)biff = no
append_dot_mydomain = no
#delay_warning_time = 4h
readme_directory = no
mail_spool_directory = /var/mail
home_mailbox = .Mail///本机每登录linux用户邮件文件夹位置
virtual_alias_maps = hash:/etc/postfix/virtual
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
#两项自启用tls发邮件选项(要邮箱支持)
smtpd_tls_security_level = may
smtp_tls_security_level = may
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
myhostname = (邮件服务器主机名需要/etc/hostname修改应服务域名再填写)
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = (填写应服务器域名)
#mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 //允许连接主机设置
mailbox_size_limit = 0 //限制邮件附件设置
recipient_delimiter = +
inet_interfaces = all
inet_protocols = all
欢迎分享,转载请注明来源:夏雨云
评论列表(0条)