主题: BACKUP MX 无效 急

昨天晚上,MTX 宕机了。
今天早上开机后,发现 BACKUP MX 接收的邮件没有转发会 Master MX.

MTX 的配置
# postconf -n

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 = longtou.net
myhostname = sv-009.mydomain.net
mynetworks = 127.0.0.0/8, xxx.xxx.95.64/27
mynetworks_style = subnet
myorigin = sv-009..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,                           reject_rbl_client bl.spamcop.net,           reject_rbl_client sbl.spamhaus.org,                                      reject_rbl_client cblplus.anti-spam.org.cn,                             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


BACKUP MX 配置:
postconf -n
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 = longtou.net
myhostname = sv-010.mydomain.net
mynetworks = 127.0.0.0/8,xxx.xxx.95.64/27
mynetworks_style = subnet
myorigin = sv-010.mydomain.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 中设定域为 Backup MX,我将Transport 设定为 relay 不知道是不是这里设置错误?

最后由 tiangangnet (2010-08-12 10:30:09) 修改

Post's attachments

a.jpg 31.37 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

回复: BACKUP MX 无效 急

备份域为何要设置为 relay?

回复: BACKUP MX 无效 急

我认为Backup MX 应该 Transport  设为Relay 啊?
那我应该设置为什么?

回复: BACKUP MX 无效 急

我现在吧 Transport 改为 dovecot,因为我觉得其他的更不像正确的。
那么我之前备份域收下来的邮件该怎么传递回MTX?
很急啊!!

回复: BACKUP MX 无效 急

邮件日志里有什么信息?

怎么都是只说“有问题”,却从不给相关日志和信息的主,让别人怎么帮忙分析啊

回复: BACKUP MX 无效 急

我把MTX 停掉,然后用hotmail发了一封邮件,下面的日志是 BACKUP MX 上的 MAILLOG 文件,帮我看一下什么问题!!


Aug 12 12:05:39 sv-010 postfix/smtpd[71758]: connect from snt0-omc3-s16.snt0.hotmail.com[65.55.90.155]
Aug 12 12:05:40 sv-010 postfix-policyd-sf: rcpt=904, greylist=update, host=65.55.90.155 (snt0-omc3-s16.snt0.hotmail.com), from=tiangangnet@hotmail.com, to=tian@longtou.net, size=1156
Aug 12 12:05:40 sv-010 postfix-policyd-sf: rcpt=904, throttle_rcpt=update(a), host=65.55.90.155, from=tiangangnet@hotmail.com, to=tian@longtou.net, count=2/64(3), threshold=1
Aug 12 12:05:40 sv-010 postfix/smtpd[71758]: B6643295420: client=snt0-omc3-s16.snt0.hotmail.com[65.55.90.155]
Aug 12 12:05:41 sv-010 postfix/cleanup[71765]: B6643295420: message-id=<SNT113-W4DBE80F3CB4B47E717FBAAD970@phx.gbl>
Aug 12 12:05:41 sv-010 postfix/qmgr[71656]: B6643295420: from=<tiangangnet@hotmail.com>, size=1426, nrcpt=1 (queue active)
Aug 12 12:05:41 sv-010 postfix/smtpd[71758]: disconnect from snt0-omc3-s16.snt0.hotmail.com[65.55.90.155]
Aug 12 12:05:46 sv-010 postfix/smtpd[71769]: connect from localhost[127.0.0.1]
Aug 12 12:05:46 sv-010 postfix/smtpd[71769]: EC6CE295423: client=localhost[127.0.0.1]
Aug 12 12:05:46 sv-010 postfix/cleanup[71765]: EC6CE295423: message-id=<SNT113-W4DBE80F3CB4B47E717FBAAD970@phx.gbl>
Aug 12 12:05:46 sv-010 postfix/smtpd[71769]: disconnect from localhost[127.0.0.1]
Aug 12 12:05:46 sv-010 postfix/qmgr[71656]: EC6CE295423: from=<tiangangnet@hotmail.com>, size=1905, nrcpt=1 (queue active)
Aug 12 12:05:46 sv-010 amavis[63304]: (63304-10) Passed CLEAN, LOCAL [65.55.90.155] [65.55.90.137] <tiangangnet@hotmail.com> -> <tian@longtou.net>, Message-ID: <SNT113-W4DBE80F3CB4B47E717FBAAD970@phx.gbl>, mail_id: Rq4hH3P6XlYr, Hits: -110.008, size: 1426, queued_as: EC6CE295423, 5753 ms
Aug 12 12:05:46 sv-010 postfix/smtp[71766]: B6643295420: to=<tian@longtou.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.6, delays=0.82/0.01/0/5.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as EC6CE295423)
Aug 12 12:05:46 sv-010 postfix/qmgr[71656]: B6643295420: removed
Aug 12 12:05:46 sv-010 postfix/pipe[71772]: EC6CE295423: to=<tian@longtou.net>, relay=dovecot, delay=0.02, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 12:05:46 sv-010 postfix/qmgr[71656]: EC6CE295423: removed

回复: BACKUP MX 无效 急

relay_domains = $mydestination, mysql:/usr/local/etc/postfix/mysql_relay_domains.cf
relay_recipient_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf

会不会问题出现在 relay_domains 的$mydestination 上?

回复: BACKUP MX 无效 急

我查看 postconf(5) ,发现如下内容:
permit_mx_backup_networks (default: empty)
Restrict the use of the permit_mx_backup SMTP access feature to only domains whose primary MX hosts match the listed networks. The parameter value syntax is the same as with the mynetworks parameter; note, however, that the default value is empty.

回复: BACKUP MX 无效 急

sorry,transport 应该是设置为 relay 的。而且应该不需要这两个参数的:

virtual_mailbox_domains
virtual_mailbox_maps

这两个参数会将邮件投递到邮箱,而不是保留在队列里等待转发到主服务器。

回复: BACKUP MX 无效 急

我修改 relay_domains = mysql:/usr/local/etc/postfix/mysql_relay_domains.cf

然后把MTX停掉,从hotmail 发送一封,BackupMX 日志如下:
Aug 12 12:20:26 sv-010 postfix/smtpd[71971]: connect from snt0-omc3-s27.snt0.hotmail.com[65.55.90.166]
Aug 12 12:20:26 sv-010 postfix-policyd-sf: connection from: 127.0.0.1 port: 52195 slots: 0 of 1023 used
Aug 12 12:20:26 sv-010 postfix-policyd-sf: rcpt=906, greylist=update, host=65.55.90.166 (snt0-omc3-s27.snt0.hotmail.com), from=tiangangnet@hotmail.com, to=tian@longtou.net, size=1150
Aug 12 12:20:26 sv-010 postfix-policyd-sf: rcpt=906, throttle_rcpt=clear(a), host=65.55.90.166, from=tiangangnet@hotmail.com, to=tian@longtou.net, count=0/64(2), threshold=0
Aug 12 12:20:26 sv-010 postfix/smtpd[71971]: F3679295408: client=snt0-omc3-s27.snt0.hotmail.com[65.55.90.166]
Aug 12 12:20:27 sv-010 postfix/cleanup[71977]: F3679295408: message-id=<SNT113-W40055A3A0A70B0E1BCDDBBAD970@phx.gbl>
Aug 12 12:20:27 sv-010 postfix/qmgr[71938]: F3679295408: from=<tiangangnet@hotmail.com>, size=1420, nrcpt=1 (queue active)
Aug 12 12:20:27 sv-010 postfix/smtpd[71971]: disconnect from snt0-omc3-s27.snt0.hotmail.com[65.55.90.166]
Aug 12 12:20:33 sv-010 postfix/smtpd[71983]: connect from localhost[127.0.0.1]
Aug 12 12:20:33 sv-010 postfix/smtpd[71983]: 4616B29543D: client=localhost[127.0.0.1]
Aug 12 12:20:33 sv-010 postfix/cleanup[71977]: 4616B29543D: message-id=<SNT113-W40055A3A0A70B0E1BCDDBBAD970@phx.gbl>
Aug 12 12:20:33 sv-010 postfix/smtpd[71983]: disconnect from localhost[127.0.0.1]
Aug 12 12:20:33 sv-010 postfix/qmgr[71938]: 4616B29543D: from=<tiangangnet@hotmail.com>, size=1899, nrcpt=1 (queue active)
Aug 12 12:20:33 sv-010 amavis[63303]: (63303-11) Passed CLEAN, LOCAL [65.55.90.166] [65.55.90.136] <tiangangnet@hotmail.com> -> <tian@longtou.net>, Message-ID: <SNT113-W40055A3A0A70B0E1BCDDBBAD970@phx.gbl>, mail_id: YYH5ihrJgrzt, Hits: -110.008, size: 1420, queued_as: 4616B29543D, 5807 ms
Aug 12 12:20:33 sv-010 postfix/smtp[71978]: F3679295408: to=<tian@longtou.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.6, delays=0.74/0.01/0/5.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 4616B29543D)
Aug 12 12:20:33 sv-010 postfix/qmgr[71938]: F3679295408: removed
Aug 12 12:20:33 sv-010 postfix/pipe[71986]: 4616B29543D: to=<tian@longtou.net>, relay=dovecot, delay=0.02, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 12:20:33 sv-010 postfix/qmgr[71938]: 4616B29543D: removed

回复: BACKUP MX 无效 急

ZhangHuangbin 写:

sorry,transport 应该是设置为 relay 的。而且应该不需要这两个参数的:

virtual_mailbox_domains
virtual_mailbox_maps

这两个参数会将邮件投递到邮箱,而不是保留在队列里等待转发到主服务器。

多谢!!!我试一下!!

回复: BACKUP MX 无效 急

我查看了mysql_virtual_mailbox_domains.cf
query       = SELECT domain FROM domain WHERE domain='%s' AND backupmx='0' AND active='1'

而且我把BACKUP 的domain backupmx 字段都设定为 1了。

virtual_mailbox_domains ,virtual_mailbox_maps  这两个参数应该无效的。

我现在把Transport 改回 relay了。

回复: BACKUP MX 无效 急

改回 relay 后 BackupMX 的日志:

Aug 12 12:56:49 sv-010 postfix/smtpd[72533]: connect from mail-qy0-f176.google.com[209.85.216.176]
Aug 12 12:56:50 sv-010 postfix-policyd-sf: connection from: 127.0.0.1 port: 45496 slots: 0 of 1023 used
Aug 12 12:56:50 sv-010 postfix-policyd-sf: rcpt=914, greylist=update, host=209.85.216.176 (mail-qy0-f176.google.com), from=tiangangnet@gmail.com, to=tian@longtou.net, size=0
Aug 12 12:56:50 sv-010 postfix-policyd-sf: rcpt=914, throttle_rcpt=update(a), host=209.85.216.176, from=tiangangnet@gmail.com, to=tian@longtou.net, count=3/64(4), threshold=3
Aug 12 12:56:50 sv-010 postfix/smtpd[72533]: 2E46D295448: client=mail-qy0-f176.google.com[209.85.216.176]
Aug 12 12:56:50 sv-010 postfix/cleanup[72539]: 2E46D295448: message-id=<AANLkTikCYYvw=8zfa85NhVGVoaO4RXoY=r2EMoTvbSJh@mail.gmail.com>
Aug 12 12:56:50 sv-010 postfix/qmgr[72498]: 2E46D295448: from=<tiangangnet@gmail.com>, size=1929, nrcpt=1 (queue active)
Aug 12 12:56:56 sv-010 postfix/smtpd[72543]: connect from localhost[127.0.0.1]
Aug 12 12:56:56 sv-010 postfix/smtpd[72543]: 8DA06295449: client=localhost[127.0.0.1]
Aug 12 12:56:56 sv-010 postfix/cleanup[72539]: 8DA06295449: message-id=<AANLkTikCYYvw=8zfa85NhVGVoaO4RXoY=r2EMoTvbSJh@mail.gmail.com>
Aug 12 12:56:56 sv-010 postfix/smtpd[72543]: disconnect from localhost[127.0.0.1]
Aug 12 12:56:56 sv-010 postfix/qmgr[72498]: 8DA06295449: from=<tiangangnet@gmail.com>, size=2616, nrcpt=1 (queue active)
Aug 12 12:56:56 sv-010 amavis[63304]: (63304-12) Passed CLEAN, LOCAL [209.85.216.176] [209.85.216.176] <tiangangnet@gmail.com> -> <tian@longtou.net>, Message-ID: <AANLkTikCYYvw=8zfa85NhVGVoaO4RXoY=r2EMoTvbSJh@mail.gmail.com>, mail_id: oVwF09QBao4i, Hits: -110.088, size: 1929, queued_as: 8DA06295449, dkim_id=@gmail.com,tiangangnet@gmail.com, 5831 ms
Aug 12 12:56:56 sv-010 postfix/smtp[72541]: 2E46D295448: to=<tian@longtou.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.7, delays=0.85/0.01/0/5.8, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 8DA06295449)
Aug 12 12:56:56 sv-010 postfix/qmgr[72498]: 2E46D295448: removed
Aug 12 12:56:56 sv-010 postfix/pipe[72544]: 8DA06295449: to=<tian@longtou.net>, relay=dovecot, delay=0.02, delays=0/0.01/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 12:56:56 sv-010 postfix/qmgr[72498]: 8DA06295449: removed
Aug 12 12:57:21 sv-010 postfix/smtpd[72533]: disconnect from mail-qy0-f176.google.com[209.85.216.176]
Aug 12 12:58:14 sv-010 postfix/smtpd[72533]: connect from mail-qw0-f41.google.com[209.85.216.41]
Aug 12 12:58:14 sv-010 postfix-policyd-sf: rcpt=915, greylist=update, host=209.85.216.41 (mail-qw0-f41.google.com), from=tiangangnet@gmail.com, to=tian@longtou.net, size=0
Aug 12 12:58:14 sv-010 postfix-policyd-sf: rcpt=915, throttle_rcpt=update(a), host=209.85.216.41, from=tiangangnet@gmail.com, to=tian@longtou.net, count=4/64(4), threshold=4
Aug 12 12:58:14 sv-010 postfix/smtpd[72533]: F038C295448: client=mail-qw0-f41.google.com[209.85.216.41]
Aug 12 12:58:15 sv-010 postfix/cleanup[72539]: F038C295448: message-id=<AANLkTimuYW=k7WFC+ZO22tA8DhFbEdcpa+_pHZ0SgeHn@mail.gmail.com>
Aug 12 12:58:15 sv-010 postfix/qmgr[72498]: F038C295448: from=<tiangangnet@gmail.com>, size=1933, nrcpt=1 (queue active)
Aug 12 12:58:21 sv-010 postfix/smtpd[72543]: connect from localhost[127.0.0.1]
Aug 12 12:58:21 sv-010 postfix/smtpd[72543]: 09E92295449: client=localhost[127.0.0.1]
Aug 12 12:58:21 sv-010 postfix/cleanup[72539]: 09E92295449: message-id=<AANLkTimuYW=k7WFC+ZO22tA8DhFbEdcpa+_pHZ0SgeHn@mail.gmail.com>
Aug 12 12:58:21 sv-010 postfix/smtpd[72543]: disconnect from localhost[127.0.0.1]
Aug 12 12:58:21 sv-010 postfix/qmgr[72498]: 09E92295449: from=<tiangangnet@gmail.com>, size=2620, nrcpt=1 (queue active)
Aug 12 12:58:21 sv-010 amavis[63303]: (63303-13) Passed CLEAN, LOCAL [209.85.216.41] [209.85.216.41] <tiangangnet@gmail.com> -> <tian@longtou.net>, Message-ID: <AANLkTimuYW=k7WFC+ZO22tA8DhFbEdcpa+_pHZ0SgeHn@mail.gmail.com>, mail_id: 0K8WjQhn093Y, Hits: -110.088, size: 1933, queued_as: 09E92295449, dkim_id=@gmail.com,tiangangnet@gmail.com, 5505 ms
Aug 12 12:58:21 sv-010 postfix/smtp[72541]: F038C295448: to=<tian@longtou.net>, relay=127.0.0.1[127.0.0.1]:10024, delay=6.4, delays=0.86/0/0/5.5, dsn=2.0.0, status=sent (250 2.0.0 from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 09E92295449)
Aug 12 12:58:21 sv-010 postfix/qmgr[72498]: F038C295448: removed
Aug 12 12:58:21 sv-010 postfix/pipe[72544]: 09E92295449: to=<tian@longtou.net>, relay=dovecot, delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via dovecot service)
Aug 12 12:58:21 sv-010 postfix/qmgr[72498]: 09E92295449: removed
Aug 12 12:58:45 sv-010 postfix/smtpd[72533]: disconnect from mail-qw0-f41.google.com[209.85.216.41]

回复: BACKUP MX 无效 急

我用postmap 命令分别查询 mysql_virtual_mailbox_domains.cf 和 mysql_relay_domains.cf

运行mysql_relay_domians.cf 能够得出正确的备份域名称,而且mysql_virtual_mailbox_domains.cf 中查不到。

到底是哪里的问题呢?

回复: BACKUP MX 无效 急

你的 DNS 设置了吧?

参考一下: http://www.howtoforge.com/postfix_backup_mx

回复: BACKUP MX 无效 急

解决了
http://www.iredmail.org/bbs/topic1608-i … up-mx.html

回复: BACKUP MX 无效 急

請問這個問題, 在之前的版本有沒有出現, 本人是使用 5.1 (centos)的。
如果有的話, 是否使用這個設定 http://www.iredmail.org/bbs/topic1608-i … up-mx.html 就能解決嗎?

最后由 mmffshing (2010-09-09 11:01:18) 修改