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

Re: [magicmail-users] country_blacklist doesn't work



Hmmm.. That is specifically what that piece of code is designed to do.
Be strange if it didn't work. I know that it is working perfectly on the 
commercial version, but judging by this question, I see that maybe we can ad 
better logging to this function.  The latest version is waiting on release 
for some feedback on another possible bug, so I will ask the devolopers to 
review that section of the code.

On June 13, 2003 11:55 pm, Stephan Seitz wrote:
> 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

-- 
--
"Catch the Magic of Linux..."
--------------------------------------------------------
Michael Peddemors - Senior Consultant
LinuxAdministration - Internet Services
NetworkServices - Programming - Security
Wizard IT Services http://www.wizard.ca
Linux Support Specialist - http://www.linuxmagic.com
LinuxMagic is a Registered TradeMark of Wizard Tower TechnoServices Ltd.
--------------------------------------------------------
(604)589-0037 Beautiful British Columbia, Canada