[postfix-users] Client host rejected: cannot find your hostname

Gerhard Waldemair gerhard at waldemair.com
Mi Dez 29 15:00:43 CET 2010


Hallo,

ich brauch mal eure Hilfe:

Mir schicken 2 Kunden eine eMail. Ich kenne die eMail Adressen und würde die Mail gerne annehmen. Aber Postfix macht mir einen Strich durch die Rechnung.


Hier das Log:

Dec 27 10:12:07 mail postfix/smtpd[17239]: warning: 217.114.212.50: hostname ns.km22634.keymachine.de verification failed: Name or service not known
Dec 27 10:12:07 mail postfix/smtpd[17239]: connect from unknown[217.114.212.50]
Dec 27 10:12:07 mail postfix/smtpd[17239]: setting up TLS connection from unknown[217.114.212.50]
Dec 27 10:12:07 mail postfix/smtpd[17239]: Anonymous TLS connection established from unknown[217.114.212.50]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Dec 27 10:12:07 mail postfix/smtpd[17239]: NOQUEUE: reject: RCPT from unknown[217.114.212.50]: 450 4.7.1 Client host rejected: cannot find your hostname, [217.114.212.50]; from=<admin at kunden_domain.de> to=<info at meine_domain.com> proto=ESMTP helo=<km22634.keymachine.de>
Dec 27 10:12:07 mail postfix/smtpd[17239]: disconnect from unknown[217.114.212.50]


hier die andere:

Dec 24 20:12:01 mail postfix/smtpd[31127]: warning: 62.146.124.175: address not listed for hostname de-post.webgains.com
Dec 24 20:12:01 mail postfix/smtpd[31127]: connect from unknown[62.146.124.175]
Dec 24 20:12:01 mail postfix/smtpd[31127]: NOQUEUE: reject: RCPT from unknown[62.146.124.175]: 450 4.7.1 Client host rejected: cannot find your hostname, [62.146.124.175]; from=<bounce+info=meine_domain.com at webgains.com> to=<info at meine_domain.com> proto=ESMTP helo=<de-post.webgains.com>
Dec 24 20:12:01 mail postfix/smtpd[31127]: disconnect from unknown[62.146.124.175]




Wie komme ich an die Mails ?

ich habe es bereits mit einer Whitelist probiert:

dazu habe ich eine Datei erstellt mit diesem Inhalt:

mail:/etc/postfix# cat whitelist
62.146.124.127	 OK
62.146.124.175	 OK
ns.km22634.keymachine.de	OK

und die Whitelist in der main.conf  

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:/etc/postfix/whitelist, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_invalid_hostname, check_policy_service inet:127.0.0.1:60000, permit

eingefügt, aber leider ohne Erfolg. Hat wer einen Tip für mich ?

Danke Gerhard.





und hier die Config:

mail:/etc/postfix# postconf -n
alias_database = hash:/etc/aliases
alias_maps = $alias_database
append_dot_mydomain = yes
biff = yes
broken_sasl_auth_clients = yes
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
default_destination_concurrency_limit = 50
default_destination_recipient_limit = 1
home_mailbox = Maildir/
inet_interfaces = all
local_destination_concurrency_limit = 1
local_transport = dovecot
mail_spool_directory = /var/vmail
mailbox_delivery_lock = fcntl
mailbox_size_limit = 0
message_size_limit = 0
milter_connect_macros = i b j _ {daemon_name} {if_name} {if_addr}
milter_default_action = accept
milter_protocol = 6
mydestination = localhost.localdomain, localhost
myhostname = mail.meine_domain.com
mynetworks = 127.0.0.0/8
notify_classes = resource, software, protocol, policy, delay, 2bounce, bounce
proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_domains $mynetworks
receive_override_options = no_address_mappings
sendmail_path = /usr/sbin/sendmail
smtp_tls_note_starttls_offer = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_client
smtpd_helo_required = yes
smtpd_milters = unix:/var/run/clamav/clamav-milter.ctl
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_invalid_hostname, check_policy_service inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unknown_hostname, reject_unknown_recipient_domain, reject_unknown_sender_domain
smtpd_tls_auth_only = no
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_alias_maps = mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /var/vmail
virtual_mailbox_domains = mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
mail:/etc/postfix# 

-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://de.postfix.org/pipermail/postfix-users/attachments/20101229/e876249a/attachment.html>


Mehr Informationen über die Mailingliste postfix-users