Hi,
ich möchte meine Bounces (Sender: from=<>) filtern und weiter untersuchen.
Jedoch bekomme ich keine Treffer wenn ich mit
smtpd_recipient_restrictions =
check_sender_access hash:/etc/postfix/bounces
und in bounces testweise(!)
<> REJECT
eintrage.
Die unzustellbar Mails kommen immer durch.
Ja ich habe postmap bounces aufgerufen und postfix neu gestartet.
Finde nicht den Fehler.
Chris
Update:
Habe 2 postfix server (debian, loewe) zum Testen und habe folgendes Beobachtet:
May 13 16:09:32 debian postfix/pickup[23520]: 372511DB583: uid=1000 from=<chris>
May 13 16:09:32 debian postfix/cleanup[23527]: 372511DB583: message-id=<20080513140932.GB19781@debian.site>
May 13 16:09:32 debian postfix/qmgr[23521]: 372511DB583: from=<chris@debian.site>, size=428, nrcpt=1 (queue active)
May 13 16:09:32 debian postfix/smtpd[23530]: connect from localhost[127.0.0.1]
May 13 16:09:32 debian postfix/smtpd[23530]: BD3001DB3C7: client=localhost[127.0.0.1]
May 13 16:09:32 debian postfix/cleanup[23527]: BD3001DB3C7: message-id=<20080513140932.GB19781@debian.site>
May 13 16:09:32 debian postfix/qmgr[23521]: BD3001DB3C7: from=<chris@debian.site>, size=797, nrcpt=1 (queue active)
May 13 16:09:32 debian postfix/smtpd[23530]: disconnect from localhost[127.0.0.1]
May 13 16:09:32 debian amavis[21457]: (21457-02) Passed CLEAN, <chris@debian.site> -> <asdf@loewe.site>, Message-ID: <20080513140932.GB19781@debian.site>, mail_id: h5YeU5QtqQ3X, Hits: 5.483, queued_as: BD3001DB3C7, 581 ms
May 13 16:09:32 debian postfix/smtp[23529]: 372511DB583: to=<asdf@loewe.site>, orig_to=<asdf@loewe>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.75, delays=0.1/0.04/0.01/0.59, dsn=2.6.0, status=sent (250 2.6.0 Ok, id=21457-02, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as BD3001DB3C7)
May 13 16:09:32 debian postfix/qmgr[23521]: 372511DB583: removed
May 13 16:09:53 debian postfix/smtp[23531]: BD3001DB3C7: to=<asdf@loewe.site>, relay=10.10.5.21[10.10.5.21]:25, delay=20, delays=0.06/0.04/0.07/20, dsn=5.1.1, status=bounced (host 10.10.5.21[10.10.5.21] said: 550 5.1.1 <asdf@loewe.site>: Recipient address rejected: User unknown in local recipient table (in reply to RCPT TO command))
May 13 16:09:53 debian postfix/cleanup[23527]: 0BEE21DB70A: message-id=<20080513140953.0BEE21DB70A@debian.site>
May 13 16:09:53 debian postfix/qmgr[23521]: 0BEE21DB70A: from=<>, size=2725, nrcpt=1 (queue active)
May 13 16:09:53 debian postfix/bounce[23533]: BD3001DB3C7: sender non-delivery notification: 0BEE21DB70A
May 13 16:09:53 debian postfix/qmgr[23521]: BD3001DB3C7: removed
May 13 16:09:53 debian postfix/local[23534]: 0BEE21DB70A: to=<chris@debian.site>, relay=local, delay=0.15, delays=0.02/0.04/0/0.09, dsn=2.0.0, status=sent (delivered to maildir)
May 13 16:09:53 debian postfix/qmgr[23521]: 0BEE21DB70A: removed
Kann es sein, dass die Regel mit <> gar nicht greift, weil localhost (debian) sich zu loewe verbindet, loewe sagt ihm, dass der user asdf gar nicht existiert und localhost gleich die DSN sendet? Es kommt somit keine DSN von "außen" herein, sondern wird vom localhost erzeugt und unterliegt somit nicht den restrictions?
Zustimmung, Ablehnung?
Chris
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.