[Postfixbuch-users] wieso greylisted?

Olaf Zaplinski o.zaplinski at broadnet.de
Fr Apr 20 13:15:45 CEST 2007


Hallo,

ich frage mich, wieso manche Hosts greylisted sind. Ein

cat mail.log|grep grey

spuckt z.B.

delayed 310 seconds: client=moutng.kundenserver.de

aus. Aber

echo moutng.kundenserver.de | postmap -fq - regexp:greylisted.regexp

bringt kein Ergebnis. Wieso also wurde dieser Host per Greylisting gesperrt?



Die Konfig dazu:


smtpd_restriction_classes =
         verify_sender
         greylisting

verify_sender = reject_unverified_sender
greylisting = check_policy_service inet:127.0.0.1:9998


smtpd_recipient_restrictions =
         permit_mynetworks
         permit_sasl_authenticated
         reject_unknown_sender_domain
         reject_non_fqdn_sender
         reject_non_fqdn_recipient
         reject_unknown_recipient_domain
         reject_unauth_destination
         check_client_access btree:/etc/postfix/check_client
         check_sender_mx_access cidr:/etc/postfix/badmx.cidr
         check_sender_mx_access regexp:/etc/postfix/badmx.regexp
         check_recipient_access btree:/etc/postfix/check_recipient
         check_sender_access regexp:/etc/postfix/check_sender.regexp
         check_sender_access btree:/etc/postfix/check_sender
         check_sender_access btree:/etc/postfix/verify_sender
         reject_rbl_client zen.spamhaus.org
         reject_rbl_client dnsbl.njabl.org
         reject_rhsbl_sender bogusmx.rfc-ignorant.org
         check_client_access regexp:/etc/postfix/greylisted.regexp
         reject_rbl_client bl.spamcop.net


greylisted.regexp:

/^unknown$/                                             greylisting
/(^|\.|-|internet)(a|s|)dsl.*/                          greylisting
/(^|\.|-)(dial|ppp|pool|dhcp|dynamic(ip|)).*/           greylisting
/cable/                                                 greylisting

/\.ar$/         greylisting
/\.br$/         greylisting
/\.cl$/         greylisting
/\.cn$/         greylisting
/\.hu$/         greylisting
/\.it$/         greylisting
/\.jp$/         greylisting
/\.kr$/         greylisting
/\.pl$/         greylisting
/\.ro$/         greylisting
/\.ru$/         greylisting
/\.th$/         greylisting


# -- everything with 3 or more dots/hyphens in the hostname
/(\-.+){3}$/    greylisting
/(\..+){3}$/    greylisting



Mehr Informationen über die Mailingliste Postfixbuch-users