[Postfixbuch-users] Name service error for type=AAAA: Host found but no data record
Helmut Lichtenberg
heli at tzv.fal.de
Mo Aug 18 10:05:42 CEST 2014
Hallo,
ich bekomme hin und wieder folgende Fehlermeldung:
<XXX at htw-dresden.de> (expanded from <YYY at tzv.fal.de>): Host or domain
name not found. Name service error for name=rmx6.rz.htw-dresden.de
type=AAAA: Host found but no data record of requested type
oder der Auszug aus der Logdatei:
Aug 10 11:54:05 mail postfix/smtp[29709]: warning: no MX host for htw-dresden.de has a valid address record
Aug 10 11:54:05 mail postfix/smtp[29709]: 9C7AB1069651F: to=<XXX at htw-dresden.de>, orig_to=<YYY at tzv.fal.de>, relay=none, delay=0.41, delays=0.26/0/0.15/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=rmx6.rz.htw-dresden.de type=AAAA: Host found but no data record of requested type)
Aug 10 11:54:05 mail postfix/cleanup[29708]: 02E6C105BAEC0: message-id=<20140810095405.02E6C105BAEC0 at mail.tzv.fal.de>
Aug 10 11:54:05 mail postfix/bounce[29712]: 9C7AB1069651F: sender non-delivery notification: 02E6C105BAEC0
Aug 10 11:54:05 mail postfix/qmgr[30028]: 02E6C105BAEC0: from=<>, size=3737, nrcpt=2 (queue active)
Aug 10 11:54:05 mail postfix/qmgr[30028]: 9C7AB1069651F: removed
Ich habe gelesen, dies sei ein IPv6-Problem.
root at mail,~: postconf inet_protocols
inet_protocols = all
man 5 postconf schreibt zu inet_protocols:
"When both IPv4 and IPv6 support are enabled, the Postfix SMTP client will
attempt to connect via IPv6 before attempting to use IPv4."
Wo liegt hier der Kern des Problems und warum funktioniert der Fallback auf
IPv4 nicht?
Gruß
Helmut
==============================================================================
PS:
ergänzende Infos:
Postfix 2.9.6-2
Debian Wheezy
Kernel 3.2.0-4-amd64
postconf -n:
==============================================================================
alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
bounce_queue_lifetime = 3d
broken_sasl_auth_clients = yes
canonical_maps = pcre:/etc/postfix/canonical
config_directory = /etc/postfix
delay_warning_time = 4h
fli_only = check_client_access cidr:/etc/postfix/access-fli
inet_interfaces = all
local_header_rewrite_clients = permit_mynetworks, permit_sasl_authenticated, permit_tls_clientcerts
masquerade_domains = tzv.local tzv.fal.de
masquerade_exceptions = root
maximal_queue_lifetime = 3d
message_size_limit = 30000000
mydestination = $myhostname, localhost.$mydomain, localhost
myhostname = mail.tzv.fal.de
mynetworks = 127.0.0.0/8, 10.1.0.0/16, 10.2.0.0/16, 192.108.34.0/24, 192.168.55.0/24
myorigin = $mydomain
relay_domains = hash:/etc/postfix/relay_domains
sender_canonical_maps = pcre:/etc/postfix/canonical-sender
smtp_tls_loglevel = 1
smtp_tls_mandatory_protocols = TLSv1
smtp_tls_protocols = TLSv1
smtp_tls_security_level = may
smtpd_proxy_timeout = 300s
smtpd_recipient_restrictions = check_recipient_access hash:/etc/postfix/access-recipient-rfc, check_client_access cidr:/etc/postfix/access-client, check_helo_access hash:/etc/postfix/access-helo, check_sender_access hash:/etc/postfix/access-sender, check_recipient_access hash:/etc/postfix/access-recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, permit_sasl_authenticated, permit_mynetworks, reject_invalid_helo_hostname, reject_non_fqdn_recipient, reject_rbl_client zen.spamhaus.org, reject_rbl_client ix.dnsbl.manitu.net, check_policy_service inet:[127.0.0.1]:12525, check_policy_service inet:[127.0.0.1]:10023, reject_unverified_recipient, reject_unauth_destination, permit
smtpd_restriction_classes = fli_only
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/ssl/certs/mail.tzv.fal.de.cacrt
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/mail.tzv.fal.de.crt
smtpd_tls_dh1024_param_file = /etc/postfix/dh_1024.pem
smtpd_tls_dh512_param_file = /etc/postfix/dh_512.pem
smtpd_tls_eecdh_grade = strong
smtpd_tls_key_file = /etc/ssl/private/mail.tzv.fal.de.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
soft_bounce = no
tls_preempt_cipherlist = yes
transport_maps = hash:/etc/postfix/transport, $relay_domains
unverified_recipient_reject_code = 577
virtual_alias_domains = hash:/etc/postfix/virtual-domains
virtual_alias_maps = hash:/etc/postfix/virtual, proxy:ldap:/etc/postfix/virtual.ldap, hash:/etc/postfix/virtual-manuell, hash:/etc/postfix/virtual-aliases, pcre:/etc/postfix/virtual-mailman_lists
==============================================================================
master.cf (ohne Kommentare):
==============================================================================
smtp inet n - - - 20 smtpd
-o smtpd_proxy_filter=127.0.0.1:10024
-o smtpd_proxy_options=speed_adjust
127.0.0.1:10025 inet n - - - - smtpd
-o smtpd_proxy_filter=
-o content_filter=
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
127.0.0.1:10035 inet n - - - - smtpd
-o smtpd_proxy_filter=
-o content_filter=
-o smtpd_authorized_xforward_hosts=127.0.0.0/8
submission inet n - - - - smtpd
-o smtpd_etrn_restrictions=reject
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
-o content_filter=smtp-amavis:[127.0.0.1]:10024
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
tlsmgr unix - - - 1000? 1 tlsmgr
scache unix - - - - 1 scache
discard unix - - - - - discard
retry unix - - - - - error
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - n - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
smtp-amavis unix - - - - 6 smtp
-o smtp_send_xforward_command=yes
-o smtp_data_done_timeout=600s
relay unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
==============================================================================
--
-------------------------------------------------------------------------
Helmut Lichtenberg <Helmut.Lichtenberg at fli.bund.de> Tel.: 05034/871-128
Institut für Nutztiergenetik (FLI) 31535 Neustadt Germany
-------------------------------------------------------------------------
Mehr Informationen über die Mailingliste Postfixbuch-users