[Postfixbuch-users] Helo command rejected: Host not found

Andreas Meyer anmeyer at anup.de
Do Mär 14 22:44:32 CET 2013


Wolfgang Zeikat <wolfgang.zeikat at desy.de> wrote:

> In an older episode, on 2013-03-14 22:26, Andreas Meyer wrote:
> > Werner Detter <werner at aloah-from-hell.de> wrote:
> > 
> >> Hi Andreas, 
> >>
> >>>>> Mar 14 21:46:12 delta postfix/smtpd[7476]: warning: 59.80.155.8: address not listed for hostname m5980155-8.news.efox-shop.com
> >>>>> Mar 14 21:46:12 delta postfix/smtpd[7476]: connect from unknown[59.80.155.8]
> >>>>> Mar 14 21:46:13 delta postgrey[3748]: action=pass, reason=triplet found, client_name=unknown, client_address=59.80.155.8, sender=bounce at news.efox-shop.com, recipient=anmeyer at anup.de 
> >>>>> Mar 14 21:46:13 delta postfix/smtpd[7476]: NOQUEUE: reject: RCPT from unknown[59.80.155.8]: 450 4.1.8 <bounce at news.efox-shop.com>: Sender address rejected: Domain not found; from=<bounce at news.efox-shop.com> to=<anmeyer at anup.de> proto=ESMTP helo=<m5980155-8.news.efox-shop.com>
> >>>>> Mar 14 21:46:13 delta postfix/smtpd[7476]: disconnect from unknown[59.80.155.8]
> >> der Reject wird durch "reject_unknown_sender_domain" ausgelöst, hast du nach dem Setzen von
> >> "unknown_address_reject_code = 550" auch den Postfix durchgestartet? Blöde Frage, aber 
> >> you never know :) 
> > 
> > ja, ich habe den unknown_address_reject_code = 550 schon ziemlich lange
> > drin. Habe postfix eben mal neu gestartet und warte bis der efox wiederkommt.
> > Er bekommt vermutlich wieder einen 450.
> 
> Vorsicht: Hostnamen von verbindenden Clients sind was anderes als 
> unbekannte Domainnamen in Absender-Adressen. Auf letztere bezieht sich 
> unknown_address_reject_code.
> 
> Für Hostnamen von Clients gilt:
> unknown_hostname_reject_code (default: 450)

ja, sowas habe ich mir fast gedacht. Ich ändere das mal auf 550 und
beobachte den efox.

>      The numerical Postfix SMTP server response code when the hostname 
> specified with the HELO or EHLO command is rejected by the 
> reject_unknown_helo_hostname restriction.
> 
>      Do not change this unless you have a complete understanding of RFC 
> 5321.
> 
> http://www.postfix.org/postconf.5.html#unknown_hostname_reject_code

hier noch der Auszug aus der debug_peer_list = 59.80.155.8

Mar 14 22:37:01 delta postfix/smtpd[8223]: dns_query: news.efox-shop.com (A): Host not found, try again
Mar 14 22:37:01 delta postfix/smtpd[8223]: lookup news.efox-shop.com type AAAA flags 0
Mar 14 22:37:01 delta postfix/smtpd[8223]: dns_query: news.efox-shop.com (AAAA): Host not found, try again
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_unknown_sender_domain status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_sender_access
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_mail_access: bounce at news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: ctable_locate: leave existing entry key bounce at news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_access: bounce at news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: dict_pcre_lookup: /etc/postfix/umlaute.pcre: bounce at news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_domain_access: news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_access: bounce@
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_sender_access status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_recipient_access
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_mail_access: anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: ctable_locate: move existing entry key anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_access: anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: dict_pcre_lookup: /etc/postfix/umlaute.pcre: anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_domain_access: anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_access: anmeyer@
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_recipient_access status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_unauth_destination
Mar 14 22:37:01 delta postfix/smtpd[8223]: reject_unauth_destination: anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: permit_auth_destination: anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: ctable_locate: leave existing entry key anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_unauth_destination status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_rbl_client
Mar 14 22:37:01 delta postfix/smtpd[8223]: reject_rbl: Client host 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: dns_query: 8.155.80.59.bl.spamcop.net (A): Host not found
Mar 14 22:37:01 delta postfix/smtpd[8223]: ctable_locate: install entry key 8.155.80.59.bl.spamcop.net
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_rbl_client status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_rbl_client
Mar 14 22:37:01 delta postfix/smtpd[8223]: reject_rbl: Client host 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: dns_query: 8.155.80.59.zen.spamhaus.org (A): Host not found
Mar 14 22:37:01 delta postfix/smtpd[8223]: ctable_locate: install entry key 8.155.80.59.zen.spamhaus.org
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=reject_rbl_client status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_client_access
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_namadr_access: name unknown addr 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_domain_access: unknown
Mar 14 22:37:01 delta postfix/smtpd[8223]: dict_cidr_lookup: /etc/postfix/client.cidr: unknown
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_addr_access: 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: dict_cidr_lookup: /etc/postfix/client.cidr: 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_client_access status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_policy_service
Mar 14 22:37:01 delta postfix/smtpd[8223]: trying... [127.0.0.1]
Mar 14 22:37:01 delta postfix/smtpd[8223]: auto_clnt_open: connected to 127.0.0.1:10023
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr request = smtpd_access_policy
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr protocol_state = RCPT
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr protocol_name = ESMTP
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr client_address = 59.80.155.8
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr client_name = unknown
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr reverse_client_name = m5980155-8.news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr helo_name = m5980155-8.news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr sender = bounce at news.efox-shop.com
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr recipient = anmeyer at anup.de
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr recipient_count = 0
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr queue_id = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr instance = 201f.514242fd.41dc9.0
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr size = 0
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr etrn_domain = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr sasl_method = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr sasl_username = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr sasl_sender = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr ccert_subject = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr ccert_issuer = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr ccert_fingerprint = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr encryption_protocol = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr encryption_cipher = 
Mar 14 22:37:01 delta postfix/smtpd[8223]: send attr encryption_keysize = 0
Mar 14 22:37:01 delta postgrey[3748]: action=pass, reason=triplet found, client_name=unknown, client_address=59.80.155.8, sender=bounce at news.efox-shop.com, recipient=anmeyer at anup.de 
Mar 14 22:37:01 delta postgrey[3748]: cleaning up old logs... 
Mar 14 22:37:01 delta postfix/smtpd[8223]: 127.0.0.1:10023: wanted attribute: action
Mar 14 22:37:01 delta postfix/smtpd[8223]: input attribute name: action
Mar 14 22:37:01 delta postfix/smtpd[8223]: input attribute value: DUNNO
Mar 14 22:37:01 delta postfix/smtpd[8223]: 127.0.0.1:10023: wanted attribute: (list terminator)
Mar 14 22:37:01 delta postfix/smtpd[8223]: input attribute name: (end)
Mar 14 22:37:01 delta postfix/smtpd[8223]: check_table_result: inet:127.0.0.1:10023 DUNNO policy query
Mar 14 22:37:01 delta postfix/smtpd[8223]: generic_checks: name=check_policy_service status=0
Mar 14 22:37:01 delta postfix/smtpd[8223]: >>> END Recipient address RESTRICTIONS <<<
Mar 14 22:37:01 delta postfix/smtpd[8223]: NOQUEUE: reject: RCPT from unknown[59.80.155.8]: 450 4.1.8 <bounce at news.efox-shop.com>: Sender address rejected: Domain not found; from=<bounce at news.efox-shop.com> to=<anmeyer at anup.de> proto=ESMTP helo=<m5980155-8.news.efox-shop.com>
Mar 14 22:37:01 delta postfix/smtpd[8223]: > unknown[59.80.155.8]: 450 4.1.8 <bounce at news.efox-shop.com>: Sender address rejected: Domain not found
Mar 14 22:37:01 delta postfix/smtpd[8223]: watchdog_pat: 0x80068c78
Mar 14 22:37:01 delta postfix/smtpd[8223]: < unknown[59.80.155.8]: DATA
Mar 14 22:37:01 delta postfix/smtpd[8223]: > unknown[59.80.155.8]: 554 5.5.1 Error: no valid recipients
Mar 14 22:37:01 delta postfix/smtpd[8223]: watchdog_pat: 0x80068c78
Mar 14 22:37:02 delta postfix/smtpd[8223]: < unknown[59.80.155.8]: QUIT
Mar 14 22:37:02 delta postfix/smtpd[8223]: > unknown[59.80.155.8]: 221 2.0.0 Bye
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_hostname: unknown ~? 213.239.207.165
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_hostaddr: 59.80.155.8 ~? 213.239.207.165
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_hostname: unknown ~? 127.0.0.1/32
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_hostaddr: 59.80.155.8 ~? 127.0.0.1/32
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_list_match: unknown: no match
Mar 14 22:37:02 delta postfix/smtpd[8223]: match_list_match: 59.80.155.8: no match
Mar 14 22:37:02 delta postfix/smtpd[8223]: send attr request = disconnect
Mar 14 22:37:02 delta postfix/smtpd[8223]: send attr ident = smtp:59.80.155.8
Mar 14 22:37:02 delta postfix/smtpd[8223]: private/anvil: wanted attribute: status
Mar 14 22:37:02 delta postfix/smtpd[8223]: input attribute name: status
Mar 14 22:37:02 delta postfix/smtpd[8223]: input attribute value: 0
Mar 14 22:37:02 delta postfix/smtpd[8223]: private/anvil: wanted attribute: (list terminator)
Mar 14 22:37:02 delta postfix/smtpd[8223]: input attribute name: (end)
Mar 14 22:37:02 delta postfix/smtpd[8223]: disconnect from unknown[59.80.155.8]

  Andreas



Mehr Informationen über die Mailingliste Postfixbuch-users