l...@lena.kiev.ua, 2010-03-08 14:04: > and whitelist few senders which can resend a letter from other > IP-addresses in a block larger than /24. > I.e. use ${sg{$sender_host_address}{\N\.\d+$\N}{}}
I'd suggest to use ${mask:<IP address>/<bit count>} instead. regex is not always the best solution. This also works with IPv6 (one should use a different bit count for that, though). > for greylisting instead of $sender_host_address . Or, don't greylist the whole world by default, but only suspicious connections, e.g. hosts listed in some dnslist (you can be very generous about choosing them then), with unusual HELO/EHLO or from IPs which seem to be dynamic. Works very fine here. > I attached excerpts from my config (including the whitelist) to > http://wiki.exim.org/DbLessGreyListingC What's the big advantage over using the builtin sqlite support for greylisting? -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/