Hi,
I try to implement "selective greylisting" for some clients. I use
this regexp in postfix:
/^unknown$/ greylist
/(cable|dhcp|[asx]?dsl|dyn|pool|ppp(oe)?|rev(ip2?)?|user\.[a-z]{2})/
greylisting
This regexp works for clients which have no working name resolution
(unknown) and for clients that have a working forward and reverse name
resolution (like xxx-xxx-xxx-xxx.adsl.example.com).
But this regexp dont't work if the connecting client has no working
forward name resolution. Example from the postfix mail.info logfile:
warning: xxx.xxx.xxx.xxx: address not listed for hostname
xxx-xxx-xxx-xxx.adsl.example.com
When you try dig (or host/nslookup...) for the IP of the client you'll
get the hostname - but if you try to resolve the hostname you get no
IP back.
These clients doesn't get greylisted but I've no idea if this is a
problem with the regexp or is that a requirement for policyd? Is it
necassary that a client must have a working forward and reverse name
resolution that this can work?
Thanks.
_______________________________________________
Users mailing list
[email protected]
http://lists.policyd.org/mailman/listinfo/users