[Postfixbuch-users] 554 5.4.0 Error: too many hops

Philipp Nöbauer postfixmail at dncom.de
Do Mai 24 19:52:11 CEST 2012


Ich habe die Transport Maps in die main.cf eingefügt

Grüße Philipp

-----Ursprüngliche Nachricht-----
Von: postfixbuch-users-bounces at listen.jpberlin.de [mailto:postfixbuch-users-bounces at listen.jpberlin.de] Im Auftrag von Philipp Nöbauer
Gesendet: Mittwoch, 23. Mai 2012 16:29
An: postfixbuch-users at listen.jpberlin.de
Betreff: [Postfixbuch-users] 554 5.4.0 Error: too many hops

Also Ein Server der zwei IP's hat.

eth0      Link encap:Ethernet  HWaddr 54:04:a6:b2:02:91
          inet addr:176.9.117.172  Bcast:176.9.117.191  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:201561 errors:0 dropped:0 overruns:0 frame:0
          TX packets:313131 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:143257494 (136.6 MiB)  TX bytes:374599587 (357.2 MiB)
          Interrupt:28 Base address:0xc000

eth0:0    Link encap:Ethernet  HWaddr 54:04:a6:b2:02:91
          inet addr:176.9.117.186  Bcast:176.9.117.191  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:28 Base address:0xc000

eth0:1    Link encap:Ethernet  HWaddr 54:04:a6:b2:02:91
          inet addr:172.16.128.1  Bcast:172.16.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:28 Base address:0xc000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:18196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18196 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8865010 (8.4 MiB)  TX bytes:8865010 (8.4 MiB)

main.cf

# Default Settings
soft_bounce = no
inet_interfaces = 176.9.117.172
inet_protocols = ipv4
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain unknown_local_recipient_reject_code = 550 mynetworks = 127.0.0.1, 172.16.128.128 smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) debug_peer_level = 2 debugger_command =
	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
	 ddd $daemon_directory/$process_name $process_id & sleep 5 bounce_template_file = /etc/postfix/bounce.de-DE.cf

# Limits & Timer
in_flow_delay = 1s
local_destination_concurrency_limit = 2
default_destination_concurrency_limit = 20 message_size_limit = 52428800 mailbox_size_limit = 0 queue_run_delay = 300s minimal_backoff_time = 300s maximal_backoff_time = 1800s delay_warning_time = 4h maximal_queue_lifetime = 5d

# Host & Domain Settings
myhostname = mxb.riebe-gmbh.de
mydomain = mail.riebe-gmbh.de
myorigin = riebe-gmbh.de

# User Settings
mail_owner = postfix
default_privs = nobody
setgid_group = postdrop
relay_domains = $mydestination, mysql:/etc/postfix/relay.cf

# Directory Settings
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
sendmail_path = /usr/sbin/sendmail
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
html_directory = no
manpage_directory = /usr/local/man
sample_directory = /etc/postfix
readme_directory = no

# Mailbox Transport Settings
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

# Database Settings
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases local_recipient_maps = hash:/etc/postfix/local_recipient relay_recipient_maps = mysql:/etc/postfix/relay_recipient.cf
transport_maps = hash:/etc/postfix/transport

# SASL Settings
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_sasl_security_options = noanonymous broken_sasl_auth_clients = yes smtpd_tls_auth_only = no smtpd_sasl_local_domain = mail.riebe-gmbh.de

# TLS Settings
smtp_use_tls = yes
smtpd_use_tls = yes
smtpd_tls_ask_ccert = yes
smtpd_tls_security_level = may
smtpd_tls_cert_file = /etc/ssl/mxb.riebe-gmbh.de.crt smtpd_tls_key_file = /etc/ssl/mxb.riebe-gmbh.de.key smtpd_tls_CAfile = /etc/ssl/class1.server.ca.pem #smtpd_tls_CApath = /etc/postfix/ca

# Anti Spam Settings
#strict_rfc821_required = yes
header_checks = regexp:/etc/postfix/header_checks

# Restriction Settings
smtpd_sender_restrictions =
    check_sender_access hash:/etc/postfix/sender_checks

smtpd_recipient_restrictions =
    permit_tls_clientcerts,
    reject_authenticated_sender_login_mismatch,
    permit_sasl_authenticated,
    permit_mynetworks,
    reject_unauth_destination,
    reject_invalid_hostname,
    reject_non_fqdn_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_client,
    reject_unknown_hostname,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    reject_unauth_pipelining,
    reject_rbl_client zen.spamhaus.org

master.cf

#
# Postfix master process configuration file.  For details on the format # of the file, see the master(5) manual page (command: "man 5 master").
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet   n       -       n       -       -       smtpd
176.9.117.186:25 inet n  -       n       -       -       smtpd
   -o myhostname=mail.dncom.de
   -o mydomain=mail.dncom.de
   -o myorigin=dncom.de
   -o transport_maps=mysql:/etc/postfix/transport.cf
   -o smtpd_sasl_auth_enable=no
   -o smtpd_tls_cert_file=/etc/ssl/mail.dncom.de.cer
   -o smtpd_tls_key_file=/etc/ssl/mail.dncom.de.key
   -o smtpd_tls_CAfile=/etc/ssl/class1.server.ca.pem
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
#qmgr     fifo  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       n       1000?   1       tlsmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
trace     unix  -       -       n       -       0       bounce
verify    unix  -       -       n       -       1       verify
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
retry     unix  -       -       n       -       -       error
discard   unix  -       -       n       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
anvil     unix  -       -       n       -       1       anvil
scache    unix  -       -       n       -       1       scache

Der Hauptconfig horcht an der Haupt IP und hat keine Transport-Map, da Backup-MX für einen Server ist.

Der zweite smtpd in der master.cf horcht auf der zweiten IP Adresse und die Transport maps sehen so aus:
test at e2k7.dncom.de	smtp:[172.16.128.128]

Trotzdem kommt es zu einer Schleife

Fehler bei der Nachrichtenzustellung an folgende Empfänger oder Gruppen:

test at e2k7.dncom.de
Problem bei der Zustellung der Nachricht. Versuchen Sie, die Nachricht zu einem späteren Zeitpunkt erneut zu senden.


Die folgende Organisation hat Ihre Nachricht zurückgewiesen: mail.dncom.de.







Diagnoseinformationen für Administratoren:

Generierender Server: mxb.riebe-gmbh.de

test at e2k7.dncom.de
mail.dncom.de #<mail.dncom.de #5.4.0 smtp; 554 5.4.0 Error: too many hops> #SMTP#

Ursprüngliche Nachrichtenkopfzeilen:

Return-Path: <root at riebe-gmbh.de>
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 7584F75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 62F6375C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 5089075C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 3DE0C75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 2B51075C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 1716175C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 0359075C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:24 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id E3E7575C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id D097375C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id BCEA675C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id AA48175C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 96BF175C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 832AC75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 6FB6C75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 5C31D75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 48A5475C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 352C575C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 2182375C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 0DF7D75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:23 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id EE92A75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id D929575C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id C69F475C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id B40FE75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id A08D975C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 8CED375C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 7985475C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 65EB475C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 535F275C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 40CB275C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 2A56675C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 16CE975C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 0348875C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:22 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id E3D8575C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id D054A75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id BBD0875C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id A845F75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 94BCF75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 8059875C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 6BB9275C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 583E375C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 45AA575C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 312D375C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 1D97E75C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 0A11A75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:21 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id E8C4575C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:20 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id D51BC75C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:20 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id BDEB775C06FD	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:20 +0200 (CEST)
Received: from mxb.riebe-gmbh.de (serv1.riebe-gmbh.de [176.9.117.172])	by
 mail.dncom.de (Postfix) with ESMTPS id 9ABD175C06FB	for <test at e2k7.dncom.de>;
 Wed, 23 May 2012 12:47:20 +0200 (CEST)
Received: by mxb.riebe-gmbh.de (Postfix, from userid 0)	id 4DEA275C06FD; Wed,
 23 May 2012 12:47:20 +0200 (CEST)
Date: Wed, 23 May 2012 12:47:20 +0200
To: <test at e2k7.dncom.de>
Subject: test
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <20120523104720.4DEA275C06FD at mxb.riebe-gmbh.de>
From: root <root at riebe-gmbh.de>


--
_______________________________________________
Postfixbuch-users -- http://www.postfixbuch.de Heinlein Professional Linux Support GmbH

Postfixbuch-users at listen.jpberlin.de
https://listi.jpberlin.de/mailman/listinfo/postfixbuch-users



Mehr Informationen über die Mailingliste Postfixbuch-users