ubuntuusers.de

Postfix + LDAP: "Relay access denied (in reply to RCPT TO command)"

Status: Gelöst | Ubuntu-Version: Server 10.04 (Lucid Lynx)
Antworten |

xabbuh Team-Icon

Anmeldungsdatum:
25. Mai 2006

Beiträge: 6411

Ja, wenn du es auf bestimmte Netze einschränken kannst, wäre eine cidr-Map aber wohl einfacher.

freebirth_one

(Themenstarter)
Avatar von freebirth_one

Anmeldungsdatum:
19. Juli 2007

Beiträge: 5051

Wohnort: Mönchengladbach

hat geklappt; als attribut hat ein ".arcor-online.net" vollkommen ausgereicht. Hier das Ergebniss (achtung, viel):

root@communication:/etc/postfix# cat send
Dec 10 12:51:19 communication postfix/smtpd[29175]: connect from mail-in-01.arcor-online.net[151.189.21.41]
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: mail-in-01.arcor-online.net: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: 151.189.21.41: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = connect
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr ident = smtp:151.189.21.41
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: status
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: status
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: count
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: count
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 1
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: rate
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: rate
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 1
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 220 uebergebuehr.de ESMTP Postfix (Ubuntu)
Dec 10 12:51:19 communication postfix/smtpd[29175]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null)
Dec 10 12:51:19 communication postfix/smtpd[29175]: name_mask: noanonymous
Dec 10 12:51:19 communication postfix/smtpd[29175]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN
Dec 10 12:51:19 communication postfix/smtpd[29175]: watchdog_pat: 0xf7f6d8f0
Dec 10 12:51:19 communication postfix/smtpd[29187]: warning: 109.251.34.170: address not listed for hostname 109.251.34.170.freenet.com.ua
Dec 10 12:51:19 communication postfix/smtpd[29175]: < mail-in-01.arcor-online.net[151.189.21.41]: HELO mail-in-01.arcor-online.net
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 250 uebergebuehr.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: watchdog_pat: 0xf7f6d8f0
Dec 10 12:51:19 communication postfix/smtpd[29175]: < mail-in-01.arcor-online.net[151.189.21.41]: MAIL FROM:<fb1@arcor.de>
Dec 10 12:51:19 communication postfix/smtpd[29175]: extract_addr: input: <fb1@arcor.de>
Dec 10 12:51:19 communication postfix/smtpd[29175]: smtpd_check_addr: addr=fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: connect to subsystem private/rewrite
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = rewrite
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr rule = local
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr address = fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: address
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: address
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: rewrite_clnt: local: fb1@arcor.de -> fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = resolve
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr sender = 
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr address = fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: transport
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: transport
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: smtp
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: nexthop
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: nexthop
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: recipient
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: recipient
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 4096
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: resolve_clnt: `' -> `fb1@arcor.de' -> transp=`smtp' host=`arcor.de' rcpt=`fb1@arcor.de' flags= class=default
Dec 10 12:51:19 communication postfix/smtpd[29175]: ctable_locate: install entry key fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: extract_addr: in: <fb1@arcor.de>, result: fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: fsspace: .: block size 4096, blocks free 1460672
Dec 10 12:51:19 communication postfix/smtpd[29175]: smtpd_check_queue: blocks 4096 avail 1460672 min_free 0 msg_size_limit 10240000
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 250 2.1.0 Ok
Dec 10 12:51:19 communication postfix/smtpd[29175]: watchdog_pat: 0xf7f6d8f0
Dec 10 12:51:19 communication postfix/smtpd[29175]: < mail-in-01.arcor-online.net[151.189.21.41]: RCPT TO:<fb1@abs-bund.de>
Dec 10 12:51:19 communication postfix/smtpd[29175]: extract_addr: input: <fb1@abs-bund.de>
Dec 10 12:51:19 communication postfix/smtpd[29175]: smtpd_check_addr: addr=fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = rewrite
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr rule = local
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr address = fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: address
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: address
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: rewrite_clnt: local: fb1@abs-bund.de -> fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = resolve
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr sender = 
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr address = fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: transport
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: transport
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: smtp
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: nexthop
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: nexthop
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: recipient
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: recipient
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: flags
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 4096
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/rewrite socket: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: resolve_clnt: `' -> `fb1@abs-bund.de' -> transp=`smtp' host=`abs-bund.de' rcpt=`fb1@abs-bund.de' flags= class=default
Dec 10 12:51:19 communication postfix/smtpd[29175]: ctable_locate: install entry key fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: extract_addr: in: <fb1@abs-bund.de>, result: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: >>> START Helo command RESTRICTIONS <<<
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=permit_mynetworks
Dec 10 12:51:19 communication postfix/smtpd[29175]: permit_mynetworks: mail-in-01.arcor-online.net 151.189.21.41
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: mail-in-01.arcor-online.net: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: 151.189.21.41: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=permit_mynetworks status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=permit_sasl_authenticated
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=permit_sasl_authenticated status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_hostname
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unknown_hostname: mail-in-01.arcor-online.net
Dec 10 12:51:19 communication postfix/smtpd[29175]: lookup mail-in-01.arcor-online.net type A flags 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_query: mail-in-01.arcor-online.net (A): OK
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_get_answer: type A for mail-in-01.arcor-online.net
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_hostname status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_non_fqdn_hostname
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_non_fqdn_hostname: mail-in-01.arcor-online.net
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_non_fqdn_hostname status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_invalid_hostname
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_invalid_hostname: mail-in-01.arcor-online.net
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_invalid_hostname status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_sender_domain
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unknown_address: fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: ctable_locate: move existing entry key fb1@arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unknown_mailhost: arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: lookup arcor.de type MX flags 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_query: arcor.de (MX): OK
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_get_answer: type MX for arcor.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_sender_domain status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_recipient_domain
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unknown_address: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: ctable_locate: move existing entry key fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unknown_mailhost: abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: lookup abs-bund.de type MX flags 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_query: abs-bund.de (MX): OK
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_get_answer: type MX for abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: dns_get_answer: type MX for abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unknown_recipient_domain status=0
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unauth_destination
Dec 10 12:51:19 communication postfix/smtpd[29175]: reject_unauth_destination: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: permit_auth_destination: fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: ctable_locate: leave existing entry key fb1@abs-bund.de
Dec 10 12:51:19 communication postfix/smtpd[29175]: NOQUEUE: reject: RCPT from mail-in-01.arcor-online.net[151.189.21.41]: 554 5.7.1 <fb1@abs-bund.de>: Relay access denied; from=<fb1@arcor.de> to=<fb1@abs-bund.de> proto=SMTP helo=<mail-in-01.arcor-online.net>
Dec 10 12:51:19 communication postfix/smtpd[29175]: generic_checks: name=reject_unauth_destination status=2
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 554 5.7.1 <fb1@abs-bund.de>: Relay access denied
Dec 10 12:51:19 communication postfix/smtpd[29175]: watchdog_pat: 0xf7f6d8f0
Dec 10 12:51:19 communication postfix/smtpd[29175]: < mail-in-01.arcor-online.net[151.189.21.41]: RSET
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 250 2.0.0 Ok
Dec 10 12:51:19 communication postfix/smtpd[29175]: watchdog_pat: 0xf7f6d8f0
Dec 10 12:51:19 communication postfix/smtpd[29175]: < mail-in-01.arcor-online.net[151.189.21.41]: QUIT
Dec 10 12:51:19 communication postfix/smtpd[29175]: > mail-in-01.arcor-online.net[151.189.21.41]: 221 2.0.0 Bye
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.152
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.153
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.154
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.155
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.156
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.157
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.158
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 194.169.222.159
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 141.100.203.123
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 83.169.38.68
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? 127.0.0.0/8
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::ffff:127.0.0.0]/104
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostname: mail-in-01.arcor-online.net ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_hostaddr: 151.189.21.41 ~? [::1]/128
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: mail-in-01.arcor-online.net: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: match_list_match: 151.189.21.41: no match
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr request = disconnect
Dec 10 12:51:19 communication postfix/smtpd[29175]: send attr ident = smtp:151.189.21.41
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: status
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: status
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute value: 0
Dec 10 12:51:19 communication postfix/smtpd[29175]: private/anvil: wanted attribute: (list terminator)
Dec 10 12:51:19 communication postfix/smtpd[29175]: input attribute name: (end)
Dec 10 12:51:19 communication postfix/smtpd[29175]: disconnect from mail-in-01.arcor-online.net[151.189.21.41]

Was hier auch auffällt: als transport will der smtp verwenden, was natürlich Blödsinn ist. Wenn ich mir die gleiche Ausgabe ansehe, welche mal als Vergleich mit einem Funktionierenden Empfangen (mit hash: statt ldap: ) gemacht habe, so verwendet der korrekterweise dovecot als transport.

Same old, same old: Ldap liefert eine Ausgabe, Postfix ignoriert diese. Was mich wundert, denn überall anders funktioniert es: lokale Aliases, virtuelle aliases, benutzerauthentifizierung.

Hmpf.

freebirth_one

(Themenstarter)
Avatar von freebirth_one

Anmeldungsdatum:
19. Juli 2007

Beiträge: 5051

Wohnort: Mönchengladbach

Und wie immer sitzt der größte Fehler vor dem Bildschirm...

Kurzfassung: Ich habe ja folgendes Script verwendet zur Ldap-Abfrage:

search_base = vd=%d,ou=domains,dc=uebergebuehr,dc=de
scope = sub
query_filter = (description=%d)
result_attribute = vd

und dem dann mittels Postmap eine komplette Mailadresse serviert.

Was ich nicht bedacht habe: Postfix liefert keine kompletten Adressen, sondern nur den Domainanteil zum authentisieren. Da dieser kein @ mehr enthält liefert %d (Domainanteil des Strings) natürlich einen Leerstring. Da ich allerdings immer mit der kompletten Adresse geprüft habe...beißt sich die Katze in den Schwanz.

Nachdem ich jetzt %d durch %s ersetzt habe klappt alles wie geschmiert.

Danke auf jeden Fall für deine Tipps, die haben mir sehr gholfen (auch und vor allem das mit dem debug_peer_list)

Sebastian

xabbuh Team-Icon

Anmeldungsdatum:
25. Mai 2006

Beiträge: 6411

Freut mich. ☺ Soll ich dann als gelöst markieren? 😉

freebirth_one

(Themenstarter)
Avatar von freebirth_one

Anmeldungsdatum:
19. Juli 2007

Beiträge: 5051

Wohnort: Mönchengladbach

😳 Peinlich. 4,7k Einträge, und dann vergesse ich so etwas ... danke für den REminder.

Antworten |