OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Backup mx and too many hops

From: Adhamh Findlay (afindlayaustin.rr.com)
Date: Sun Jan 11 2004 - 12:58:52 CST


   Hello,

I've got a backup mail server that bounces emails back to the sender with a
"too many hops" error when the primary is down...

Any ideas on what causes this? I searched through the list and found some
stuff on this, but nothing that worked for me.

Thanks,

Adhamh

Here's the primary config:

postconf -n
alias_maps = netinfo:/aliases
bounce_notice_recipient = dialog_adminsgroup.mydomain.com
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
disable_vrfy_command = yes
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname localhost.$mydomaim $mydomain
iservices.mydomain.com enterprise.mydomain.com services.mydomain.com
mydomain = corp.mydomain.com
myhostname = dialog.corp.mydomain.com
mynetworks = 127.0.0.0/8, 17.0.0.0/8, 192.168.2.0/28
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relayhost = relay.mydomain.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_banner = $myhostname NO UCE ESMTP
transport_maps = hash:/etc/postfix/transport
virtual_maps = regexp:/etc/postfix/virtual.regexp

Here's the backup:

postconf -n
alias_maps = netinfo:/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
inet_interfaces = all
mail_owner = postfix
mailbox_command = /usr/bin/procmail
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname localhost.$mydomaim $mydomain
mydomain = corp.mydomain.com
myhostname = dialog2.corp.mydomain.com
mynetworks = 17.0.0.0/8, 192.168.2.0/28, 127.0.0.0/8
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $mydestination services.mydomain.com
proservices.mydomain.com iservices.mydomain.com enterprise.mydomain.com
relayhost = relay.mydomain.com
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_recipient_restrictions = permit_mynetworks check_relay_domains

And here's the bounce message:

The original message was received at Sun, 11 Jan 2004 17:57:21 GMT
from dialog2.corp.mydomain.com [17.104.236.182]

   ----- The following addresses had permanent fatal errors -----
<testing_supportservices.mydomain.com>
    (reason: 554 5.4.6 Too many hops)

mydomain.com