|
From: Dan F. <da...@ha...> - 2007-01-20 14:06:52
|
Micha Silver wrote: > Where can I see more details on this 1.7.4 version, and the > "discrimination" feature? In 1.7.4+ theres a README.DISCRIMINATION It allows you to write regex's for any of the fields passed by postfix to sqlgrey. Such as HELO string, client ip, client hostname sender and recipient and so forth. If i remember correctly, theres even a bunch of examples. By enabling discrimination, those who do NOT match any expression defined, skip greylisting entirely. ill give you two very small examples, and for example purpose, we assume theres is only 1 expression enabled: client_name =~ ^unknown$ - Hosts without reverse-dns gets greylisted. client_name !~ \.il$ - All hosts that do NOT end on ".il" gets greylisted. We use 14 expressions that we have tweaked over time to catch quite a lot of spammersm while bothering only few costumers. |