[Postfixbuch-users] reject_unverified_recipient und content_filter
Alexander Muth
alexander.muth at lgb-rlp.de
Do Apr 28 14:08:43 CEST 2005
Hallo,
auf einem Relay-Mailserver funktioniert reject_unverified_recipient
nicht wie gewünscht. Es werden Adressaten bestätigt die es auf dem
Zielserver nicht gibt.
Ich nehme an es legt an dem content_filter (TrendMicro) der anscheinend
die Anfrage nach dem Recipient immer bestätigt.
TrendMicro lauscht auf 10025 und schickt die Mails wieder zurück an
Postfix (Port 10026). Über transport_maps wird an den endgültigen Server
weitergeleitet.
Wie muß ich Postfix konfigurieren um reject_unverified_recipient und
content_filter zusammen zu benutzen?
Gruß
Alexander
main.cf
smtpd_recipient_restrictions =
permit_mynetworks,reject_unauth_destination,reject_unknown_recipient_domain,reject_unverified_recipient
content_filter = smtp:[127.0.0.1]:10025
transport_maps = hash:/etc/postfix/transport
relay_domains = lgb-rlp.de, gla-rlp.de
master.cf
localhost:10026 inet n - - - - smtpd
-o content_filter=
-o local_recipient_maps=
-o myhostname=localhost
log-auszug: mit verify -v
Apr 28 13:50:25 plenus postfix/smtpd[2729]: connect from
imap.gmx.net[213.165.64.20]
Apr 28 13:50:25 plenus postfix/verify[2730]: master_notify: status 0
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: request
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: request
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: query
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: address
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: address
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value:
alexander.mu at lgb-rlp.de
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: (list terminator)
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: (end)
Apr 28 13:50:25 plenus postfix/verify[2730]: GOT alexander.mu at lgb-rlp.de
status=3 probed=0 updated=0 text=Address verification in progress
Apr 28 13:50:25 plenus postfix/verify[2730]: send attr status = 0
Apr 28 13:50:25 plenus postfix/verify[2730]: send attr recipient_status = 3
Apr 28 13:50:25 plenus postfix/verify[2730]: send attr reason = Address
verification in progress
Apr 28 13:50:25 plenus postfix/verify[2730]: PROBE
alexander.mu at lgb-rlp.de status=3 probed=1114689025 updated=0
Apr 28 13:50:25 plenus postfix/verify[2730]: connect to subsystem
public/cleanup
Apr 28 13:50:25 plenus postfix/verify[2730]: PUT alexander.mu at lgb-rlp.de
status=3 probed=1114689025 updated=0 text=Address verification in progress
Apr 28 13:50:25 plenus postfix/verify[2730]: master_notify: status 1
Apr 28 13:50:25 plenus postfix/verify[2730]: watchdog_start: 0x806df40
Apr 28 13:50:25 plenus postfix/verify[2730]: post_mail_open_event: write
event
Apr 28 13:50:25 plenus postfix/verify[2730]: watchdog_start: 0x806df40
Apr 28 13:50:25 plenus postfix/verify[2730]: post_mail_open_event: read
event
Apr 28 13:50:25 plenus postfix/verify[2730]: public/cleanup socket:
wanted attribute: queue_id
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: queue_id
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value:
8F0EB1007D
Apr 28 13:50:25 plenus postfix/verify[2730]: public/cleanup socket:
wanted attribute: (list terminator)
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: (end)
Apr 28 13:50:25 plenus postfix/verify[2730]: send attr flags = 32
Apr 28 13:50:25 plenus postfix/verify[2730]: public/cleanup socket:
wanted attribute: status
Apr 28 13:50:25 plenus postfix/cleanup[2731]: 8F0EB1007D:
message-id=<20050428115025.8F0EB1007D at proxy.gla-rlp.de>
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: status
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: 0
Apr 28 13:50:25 plenus postfix/verify[2730]: public/cleanup socket:
wanted attribute: (list terminator)
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: reason
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: (end)
Apr 28 13:50:25 plenus postfix/verify[2730]: public/cleanup socket:
wanted attribute: (list terminator)
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: (end)
Apr 28 13:50:25 plenus postfix/verify[2730]: watchdog_start: 0x806df40
Apr 28 13:50:25 plenus postfix/qmgr[2711]: 8F0EB1007D:
from=<postmaster at gla-rlp.de>, size=260, nrcpt=1 (queue active)
Apr 28 13:50:25 plenus postfix/verify[2730]: master_notify: status 0
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: request
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: request
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: update
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: address
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: address
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value:
alexander.mu at lgb-rlp.de
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: recipient_status
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name:
recipient_status
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: 0
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: reason
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: reason
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute value: 250
Recipient <alexander.mu at lgb-rlp.de> Ok
Apr 28 13:50:25 plenus postfix/verify[2730]: verify socket: wanted
attribute: (list terminator)
Apr 28 13:50:25 plenus postfix/verify[2730]: input attribute name: (end)
Apr 28 13:50:25 plenus postfix/verify[2730]: PUT alexander.mu at lgb-rlp.de
status=0 probed=0 updated=1114689025 text=250 Recipient
<alexander.mu at lgb-rlp.de> Ok
Apr 28 13:50:25 plenus postfix/verify[2730]: send attr status = 0
Apr 28 13:50:25 plenus postfix/verify[2730]: master_notify: status 1
Apr 28 13:50:25 plenus postfix/verify[2730]: watchdog_start: 0x806df40
Apr 28 13:50:25 plenus postfix/smtp[2732]: 8F0EB1007D:
to=<alexander.mu at lgb-rlp.de>, relay=mail.lgb-rlp.de[10.0.0.4], delay=0,
status=deliverable (250 Recipient <alexander.mu at lgb-rlp.de> Ok)
Apr 28 13:50:25 plenus postfix/qmgr[2711]: 8F0EB1007D: removed
Apr 28 13:50:28 plenus postfix/verify[2730]: master_notify: status 0
Apr 28 13:50:28 plenus postfix/verify[2730]: verify socket: wanted
attribute: request
Apr 28 13:50:28 plenus postfix/verify[2730]: input attribute name: request
Apr 28 13:50:28 plenus postfix/verify[2730]: input attribute value: query
Apr 28 13:50:28 plenus postfix/verify[2730]: verify socket: wanted
attribute: address
Apr 28 13:50:28 plenus postfix/verify[2730]: input attribute name: address
Apr 28 13:50:28 plenus postfix/verify[2730]: input attribute value:
alexander.mu at lgb-rlp.de
Apr 28 13:50:28 plenus postfix/verify[2730]: verify socket: wanted
attribute: (list terminator)
Apr 28 13:50:28 plenus postfix/verify[2730]: input attribute name: (end)
Apr 28 13:50:28 plenus postfix/verify[2730]: GOT alexander.mu at lgb-rlp.de
status=0 probed=0 updated=1114689025 text=250 Recipient
<alexander.mu at lgb-rlp.de> Ok
Apr 28 13:50:28 plenus postfix/verify[2730]: send attr status = 0
Apr 28 13:50:28 plenus postfix/verify[2730]: send attr recipient_status = 0
Apr 28 13:50:28 plenus postfix/verify[2730]: send attr reason = 250
Recipient <alexander.mu at lgb-rlp.de> Ok
Apr 28 13:50:28 plenus postfix/verify[2730]: master_notify: status 1
Apr 28 13:50:28 plenus postfix/verify[2730]: watchdog_start: 0x806df40
Apr 28 13:50:28 plenus postfix/smtpd[2729]: 902E71007D:
client=imap.gmx.net[213.165.64.20]
Apr 28 13:50:28 plenus postfix/cleanup[2731]: 902E71007D:
message-id=<7623.1114689025 at www75.gmx.net>
Apr 28 13:50:28 plenus postfix/qmgr[2711]: 902E71007D:
from=<david at gmx.de>, size=848, nrcpt=1 (queue active)
Apr 28 13:50:28 plenus postfix/smtpd[2737]: connect from unknown[127.0.0.1]
Apr 28 13:50:28 plenus postfix/smtpd[2729]: disconnect from
imap.gmx.net[213.165.64.20]
Apr 28 13:50:28 plenus postfix/smtpd[2737]: A1EAE10179:
client=unknown[127.0.0.1]
Apr 28 13:50:28 plenus postfix/cleanup[2731]: A1EAE10179:
message-id=<7623.1114689025 at www75.gmx.net>
Apr 28 13:50:28 plenus postfix/smtp[2722]: 902E71007D:
to=<alexander.mu at lgb-rlp.de>, relay=127.0.0.1[127.0.0.1], delay=3,
status=sent (250 Ok: queued as A1EAE10179)
Apr 28 13:50:28 plenus postfix/smtpd[2737]: disconnect from
unknown[127.0.0.1]
Apr 28 13:50:28 plenus postfix/qmgr[2711]: A1EAE10179:
from=<david at gmx.de>, size=1025, nrcpt=1 (queue active)
Apr 28 13:50:28 plenus postfix/qmgr[2711]: 902E71007D: removed
Apr 28 13:50:28 plenus postfix/smtp[2732]: A1EAE10179:
to=<alexander.mu at lgb-rlp.de>, relay=mail.lgb-rlp.de[10.0.0.4], delay=0,
status=sent (250 Message received: IFNNK600.T6P)
Apr 28 13:50:28 plenus postfix/qmgr[2711]: A1EAE10179: removed
Mehr Informationen über die Mailingliste Postfixbuch-users