主题: Backup MX 问题

我设置了两台邮件服务器,一台是主MX,一台是备份MX。
backup mx 这台机器的root 邮件安装iRedMail后发送到www邮箱,我想象,因为是backup mx ,所以应该会将此邮箱的邮件自动发送到主mx服务器。但是,并没有。登陆backup mx 的www用户可以看到邮件。
因为我已经将backup上面的域设备 backup mx 且Transport 设定为 relay了。
我想请问,为什么backup mx 上的邮件未能够自动发送到 master mx上去?

回复: Backup MX 问题

不妨将你的相关设置贴出来,包括 postconf -n 命令的输出,以及这个用户在 MYSQL/LDAP 里的属性。

回复: Backup MX 问题

alias_database = hash:/usr/local/etc/postfix/aliases
alias_maps = hash:/usr/local/etc/postfix/aliases
allow_min_user = no
biff = no
bounce_queue_lifetime = 1d
broken_sasl_auth_clients = yes
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
delay_warning_time = 0h
disable_vrfy_command = yes
enable_original_recipient = no
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
inet_protocols = ipv4
mail_name = iRedMail
mail_owner = postfix
mail_version = 0.6.0
mailbox_command = /usr/local/libexec/dovecot/deliver
mailbox_size_limit = 15728640
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
maximal_backoff_time = 4000s
maximal_queue_lifetime = 1d
minimal_backoff_time = 300s
mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
mydomain = hokkaisoft.net
myhostname = sv-010.hokkaisoft.net
mynetworks = 127.0.0.0/8
mynetworks_style = subnet
myorigin = sv-010.hokkaisoft.net
newaliases_path = /usr/local/bin/newaliases
proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps
queue_directory = /var/spool/postfix
queue_run_delay = 300s
readme_directory = no
recipient_bcc_maps = proxy:mysql:/usr/local/etc/postfix/mysql_recipient_bcc_maps_domain.cf, proxy:mysql:/usr/local/etc/postfix/mysql_recipient_bcc_maps_user.cf
recipient_delimiter = +
relay_domains = $mydestination, proxy:mysql:/usr/local/etc/postfix/mysql_relay_domains.cf
relay_recipient_maps = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
sample_directory = /usr/local/etc/postfix
sender_bcc_maps = proxy:mysql:/usr/local/etc/postfix/mysql_sender_bcc_maps_domain.cf, proxy:mysql:/usr/local/etc/postfix/mysql_sender_bcc_maps_user.cf
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_data_restrictions = reject_unauth_pipelining
smtpd_enforce_tls = no
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/usr/local/etc/postfix/helo_access.pcre
smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
smtpd_reject_unlisted_recipient = yes
smtpd_reject_unlisted_sender = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = no
smtpd_sasl_local_domain =
smtpd_sasl_path = dovecot-auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/usr/local/etc/postfix/mysql_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
smtpd_tls_loglevel = 0
smtpd_tls_security_level = may
tls_random_source = dev:/dev/urandom
transport_maps = proxy:mysql:/usr/local/etc/postfix/mysql_transport_maps_user.cf, proxy:mysql:/usr/local/etc/postfix/mysql_transport_maps_domain.cf
unknown_local_recipient_reject_code = 550
virtual_alias_maps = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf, proxy:mysql:/usr/local/etc/postfix/mysql_domain_alias_maps.cf
virtual_gid_maps = static:1002
virtual_mailbox_base = /data/vmail
virtual_mailbox_domains = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1002
virtual_transport = dovecot
virtual_uid_maps = static:1002



***********************************
域设定是通过postfixadmin设定的,
Domain: longtou.net   
Description:      longtou.net   
Aliases: 0
Mailboxes:  0
Max Quota: 0
Transport:  relay
Mail server is backup MX:    1
Active:  1

***********************************
/usr/local/etc/postfix/aliases

#root: www@longtou.net
#policyd: www@longtou.net
root: tian@longtou.net
policyd: tian@longtou.net

*************************************
用户是通过postfixadmin添加的设定了密码并且 active :1

***************************
其他设定都是安装iRedMail时默认的。