[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

country_blacklist doesn't work



Hello!
 
Maybe someone's got a solution for a boring configuration problem on my mail-exchanger.
 
I'm using qmail in conjunction with magic-smtpd (0.7.0 - since yesterday 0.7.1) and rblsmtpd (but i think rbl doesn't affect the problem).
 
I want to keep requests from TW and CN out of my qmail-queue. So i set up the IP::Country pl-module and double-checked it's functionality.
Called 'by hand', this works very well for most of the IP's, also the provided ip2country script does it's job as it should.
On the other hand, magic-smtpd (giving log-error's if ip2country is not found as written in /etc/magic-mail/control/country_code_prog) currently
seems to use this script (no more errors thrown), but silently ignores /etc/magic-mail/control/country_blacklist.
It looks to me, that there is no country-comparison done at all.
 
/etc/magic-mail/control/country_blacklist contains 3 lines:
CN
TW
YA
 
The given documentation is very poor related to this blocking behaviour of magic-smtpd.
 
If anybody is using this feature, please: How is it set up ?
 
Thanks
 
sseitz