- 论坛徽章:
- 0
|
不好意思,刚才那个字体太差了
myhostname = ldap.hw01.com
mydomain = hw01.com
myorigin = $mydomain
inet_interfaces = all
mydestination = localhost.$mydomain
mynetworks = 10.0.0.0/8
relay_domains = $mydestination
mail_spool_directory = /var/spool/mail
alias_maps = hash:/etc/aliases
smtpd_banner = $myhostname ESMTP
unknown_local_recipient_reject_code = 550
virtual_transport = virtual
virtual_mailbox_base = /postfix/mail
virtual_alias_maps = ldap:/etc/postfix/ldap_virtual_alias_maps.cf
virtual_mailbox_maps = ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
#virtual_mailbox_maps = hash:/etc/postfix/mailbox_maps
virtual_mailbox_domains = ldap:/etc/postfix/ldap_virtual_domains_maps.cf
virtual_minimum_uid = 1000
virtual_uid_maps = static:1000
virtual_gid_maps = static:1000
#########
broken_sasl_auth_clients = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
# smtpd related config
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname, |
|