[Postfixbuch-users] Name service error for name=localhost type=A: Host not found

Thomas Grieder tgrieder at gmx.ch
Di Okt 25 16:08:18 CEST 2005


Hallo Liste

Ich habe folgende Fehlermeldung beim Empfangen von Mails:

Host or domain name not found. Name service error for name=localhost type=A:
Host not found

Eigentlich wollte ich die experimental Pakete (debian) von Courier
ausprobieren. Hat auch gut funktioniert bis ich herausgefunden habe, dass
keine Mails mehr ankommen. Inzwischen habe ich alles rückgänging gemacht und
bin wieder stable. Leider habe ich die Fehlermeldung immer noch.

host und nslookup lösen localhost korrekt auf. Ich komme leider nicht mehr
weiter und brauche dringen eure Hilfe.

postconf -n:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
biff = no
config_directory = /etc/postfix
content_filter = vscan:localhost:10024
header_checks = pcre:/etc/postfix/header_checks.pcre
home_mailbox = Maildir/
local_recipient_maps = $alias_maps $virtual_uid_maps
mailbox_size_limit = 0
message_size_limit = 20480000
mydestination = $myhostname     localhost.$myhostname   $mydomain      
localhost       lists.moonsmile.ch
mydomain = moonsmile.ch
myhostname = mail.moonsmile.ch
mynetworks = 127.0.0.0/8,192.168.0.0/24
myorigin = /etc/mailname
recipient_canonical_maps = hash:/etc/postfix/recipient_canonical,
hash:/etc/postfix/lummerland/recipient_canonical
recipient_delimiter = +
sender_canonical_maps = hash:/etc/postfix/sender_canonical,
hash:/etc/postfix/lummerland/sender_canonical
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/saslpasswd
smtp_sasl_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/ssl/capub.crt
smtp_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtp_tls_key_file = /etc/postfix/ssl/smtpd.key
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP
smtpd_recipient_restrictions = permit_mynetworks,  
reject_non_fqdn_recipient,   reject_non_fqdn_sender,  
reject_non_fqdn_hostname,   reject_invalid_hostname,  
reject_unknown_sender_domain,   reject_unknown_recipient_domain,  
check_helo_access hash:/etc/postfix/helo_access,   check_sender_access
hash:/etc/postfix/access,   permit_sasl_authenticated,   permit_mynetworks, 
 check_policy_service inet:127.0.0.1:60000,   permit_mx_backup,  
reject_unauth_destination,   permit
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
smtpd_tls_CAfile = /etc/postfix/ssl/capub.crt
smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
smtpd_use_tls = yes
soft_bounce = yes
transport_maps = hash:/etc/postfix/transport,
hash:/etc/postfix/transport_mailbase
virtual_gid_maps = static:5001
virtual_mailbox_base = /srv
virtual_mailbox_domains = domain1.ch, domain2.ch
virtual_mailbox_maps = hash:/etc/postfix/mailbox
virtual_minimum_uid = 5000
virtual_transport = virtual
virtual_uid_maps = static:5001

master.cf:

smtp      inet  n       -       -       -       30      smtpd
#628      inet  n       -       -       -       -       qmqpd
pickup    fifo  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
#qmgr     fifo  n       -       -       300     1       oqmgr
qmgr      fifo  n       -       -       300     1       qmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       -       -       30      smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
# Zum scannen von Viren und Spam
vscan     unix  -       -       n       -       10      smtp

maildrop  unix  -       n       n       -       -       pipe
  flags=R user=mailsystem argv=/usr/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
cyrus     unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension}
${user}
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}

# only used by postfix-tls
#smtps    inet  n       -       n       -       -       smtpd -o
smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587      inet  n       -       n       -       -       smtpd -o
smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes

localhost:10025 inet    n       n       n       -       10      smtpd
  -o content_filter=
  -o local_recipient_maps=
  -o relay_recipient_maps=
  -o smtpd_restriction_classes=
  -o smtpd_client_restrictions=
  -o smtpd_helo_restricitons=
  -o smtpd_sender_restrictions=
  -o smtpd_recipient_restrictions=permit_mynetworks,reject
  -o mynetworks=127.0.0.0/8
  -o strict_rfc821_envelopes=yes
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
discard   unix  -       -       -       -       -       discard


Danke Thomas

-- 
10 GB Mailbox, 100 FreeSMS/Monat http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++



Mehr Informationen über die Mailingliste Postfixbuch-users