[linux] postfix & greylisting van landen

Folkert van Heusden folkert op vanheusden.com
Wo Nov 1 21:45:11 CET 2006


Wat ik eigenlijk wil is greylisting voor alleen bepaalde landen
aanzetten in postfix.

Op zich heb ik 't al 'n aardig stukje werken:

check_greylist = check_policy_service inet:127.0.0.1:2501

smtpd_recipient_restrictions =
	...
        check_client_access maptype:mapname

ik denk dat dat dan moet worden:
smtpd_recipient_restrictions =
	...
        check_client_access hash:/etc/postfix/explicit_greylist_list

waarbij die file dan de inhoud is van http://www.hakusan.tsg.ne.jp/tjkawa/lib/krfilter/uALL.txt met er steeds 'check_greylist' achter.
dus:
wget http://www.hakusan.tsg.ne.jp/tjkawa/lib/krfilter/uALL.txt
cat uALL.txt | awk '{ print $1, "\t \tcheck_greylist"; }' > explicit_greylist_list

Hmmm, ik denk dat dat gewoon is :-)


On Wed, Nov 01, 2006 at 09:14:56PM +0100, Folkert van Heusden wrote:
> Hi,
> 
> Weet iemand of er ook een gratis versie van GeoIP is? Eentje die min of
> meer up-to-date is?
> 
> 
> Folkert van Heusden
> 
> -- 
> --------------------------------------------------------------------
> Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com


Folkert van Heusden

-- 
Feeling generous? -> http://www.vanheusden.com/wishlist.php
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com



More information about the Linux mailing list