[Postfixbuch-users] Was liefert postgrey wann als Rückgabewert an Postfix?

Rustedt, Florian Florian.Rustedt at smartnet.de
Mi Jun 10 12:40:06 CEST 2009


Hallo zusammen,

Wenn ich hinter der postgrey-restriction("check_policy_service") eine weitere restriction("check_recipient_access" -> "smartnet.de reject_unverifed_recipient") habe und eine E-Mail ankommt, die von Postgrey im Log eindeutig als "new" abgelehnt wird, prüft er trotzdem noch "check_recipient_access"?!

Das würde doch darauf hin deuten, das Postgrey trotz greylisting einer E-Mail ein DUNNO liefert? Warum? Müsste das nicht ein REJECT sein?

Ich würde erwarten, das bei reason="early-retry" oder "new" ein "REJECT" und bei allen anderen ein "DUNNO" zurückkommt und somit Folgerestrictions bei greylisting ignoriert werden? Wieso ist das nicht so?

----------------------------------------------
Im Log hätten somit die letzten beiden Zeilen nicht vorkommen dürfen:

[2009 Jun 10 12:33:32] mx1 postgrey: action=greylist, reason=new, client_name=unknown, client_address=78.26.192.2, sender=retry at smartnet.de, recipient=maik.lauschke at smartnet.de
[2009 Jun 10 12:33:32] mx1 postfix/cleanup[10687]: B0CC364039: message-id=<20090610103332.B0CC364039 at mx1.smartnet.de>
[2009 Jun 10 12:33:32] mx1 postfix/qmgr[10678]: B0CC364039: from=<double-bounce at mx1.smartnet.de>, size=266, nrcpt=1 (queue active)
[2009 Jun 10 12:33:37] mx1 postfix/smtp[10688]: B0CC364039: to=<maik.lauschke at smartnet.de>, relay=212.86.32.211[212.86.32.211]:25, delay=5, delays=0.02/0/0.11/4.9, dsn=5.0.0, status=undeliverable (host 212.86.32.211[212.86.32.211] said: 550 Invalid recipient/sender mailing address (in reply to RCPT TO command))

----------------------------------------------
Postconf:

smtpd_helo_required = yes
smtp_discard_ehlo_keywords = pipelining,silent-discard
strict_rfc821_envelopes = yes

header_checks = pcre:/etc/postfix/lists/header_checks.regexp

smtpd_recipient_restrictions =
    reject_unauth_pipelining,
    reject_invalid_hostname,
    reject_non_fqdn_sender,
    reject_non_fqdn_recipient,
    reject_unknown_sender_domain,
    reject_unknown_recipient_domain,
    check_recipient_access pcre:/etc/postfix/lists/recipient_checks.regexp,
    check_sender_access hash:/etc/postfix/lists/check_senders,
    check_policy_service unix:/var/spool/postfix/private/postgrey,
    check_recipient_access hash:/etc/postfix/lists/check_recipients,
    permit_mynetworks,
    reject_unauth_destination

----------------------------------------------
Gruß, Florian
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the 
named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do 
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************


Mehr Informationen über die Mailingliste Postfixbuch-users