Postfix ::1: address not listed for hostname localhost

AWOHille
Posts: 257
Joined: 2011-09-05 09:00

Postfix ::1: address not listed for hostname localhost

Post by AWOHille »

Hallo,

ich habe in der mail.warn folgende Meldung:

Code: Select all

postfix/smtpd[20649]: warning: ::1: address not listed for hostname localhost


Meine /etc/hosts

Code: Select all

127.0.0.1   localhost
::1      localhost ip6-localhost ip6-loopback
fe00::0      ip6-localnet
ff00::0      ip6-mcastprefix
ff02::1      ip6-allnodes
ff02::2      ip6-allrouters
ff02::3      ip6-allhosts
12.345.67.891   web01.mein_host.com
1234:5678:2000:123::/64      web01.mein_host.com


Warum kennt Postfix den Hostnamen nicht?

Gruß Hille
Top

User avatar
Joe User
Project Manager
Project Manager
Posts: 11518
Joined: 2003-02-27 01:00
Location: Hamburg

Re: Postfix ::1: address not listed for hostname localhost

Post by Joe User »

Das ist merkwürdig, tausche mal die beiden localhost-Zeilen, tritt die Warnung immernoch auf?
Poste mal die Ausgabe von:

Code: Select all

postconf -n

Die hosts hast Du nicht zufällig mit einem Windowseditor bearbeitet?
PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Top

AWOHille
Posts: 257
Joined: 2011-09-05 09:00

Re: Postfix ::1: address not listed for hostname localhost

Post by AWOHille »

Hallo,

das tauschen der loclahost Zeilen hat nicht gebracht.

postconf -n

Code: Select all

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
bounce_size_limit = 10000
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
default_destination_recipient_limit = 100
default_recipient_limit = 100
disable_vrfy_command = yes
inet_interfaces = all
inet_protocols = ipv4, ipv6
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 5368709120
maximal_queue_lifetime = 5d
message_size_limit = 104857600
milter_default_action = accept
milter_protocol = 6
mime_header_checks = pcre:/etc/postfix/mime_header_checks
mydestination = web01.myhost.com, localhost.myhost.com, localhost
myhostname = mailgateway.myhost.com
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
non_smtpd_milters = inet:localhost:12345
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_note_starttls_offer = yes
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = sleep 1,  permit_mynetworks,  permit_sasl_authenticated,  reject_unknown_reverse_client_hostname,  reject_unauth_pipelining,  permit
smtpd_data_restrictions = permit_mynetworks,  permit_sasl_authenticated,  reject_unauth_pipelining,  permit
smtpd_helo_restrictions = permit_mynetworks,  permit_sasl_authenticated,  reject_invalid_helo_hostname,  reject_non_fqdn_helo_hostname,  reject_unauth_pipelining,  permit
smtpd_milters = inet:localhost:12345
smtpd_proxy_timeout = 7200s
smtpd_recipient_restrictions = permit_mynetworks,  permit_sasl_authenticated,  reject_non_fqdn_recipient,  reject_unknown_recipient_domain,  reject_unauth_destination,  reject_unauth_pipelining,  check_client_access cidr:/etc/postfix/postfix-dnswl-permit,  check_client_access hash:/etc/postfix/policyd_weight_client_whitelist,  check_recipient_access hash:/etc/postfix/policyd_weight_recipient_whitelist,  check_policy_service inet:127.0.0.1:12525,  check_policy_service unix:private/policy,  permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_path = private/auth_dovecot
smtpd_sasl_type = dovecot
smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql_sender_login_maps.cf
smtpd_sender_restrictions = permit_mynetworks,  permit_sasl_authenticated,  permit_tls_clientcerts,  reject_non_fqdn_sender,  reject_unknown_sender_domain,  reject_unauth_pipelining,  check_sender_access regexp:/etc/postfix/tag_as_foreign.re,  permit
smtpd_timeout = 7200s
smtpd_tls_CAfile = /etc/ssl/certs/cert.ca-bundle
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/cert.crt
smtpd_tls_key_file = /etc/ssl/private/cert.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
transport_maps = hash:/etc/postfix/transport
virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /vmail/
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 112400000
virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 104
virtual_transport = dovecot
virtual_uid_maps = static:5000


Die Meldung tritt eigentlich nur auf, wenn ich per Mailingliste (Mailman) Mails versende.
Top