[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Own db of blocked IPs




I think the quick answer is to expose your database as a DNS zone following the
standard of the RBL systems. Thus, with no changes to the ZMailer source (only
in the configuration files), you can use your DB.


Quoting Marek Kowal <marek.kowal@portal.onet.pl>:

> Hi there,
>
> I have an external DB of the IPs to be blocked. It is very dynamic (up to
> 100 new entries per minute) and centralized - many servers should use it. So
> the standard Zmailer mechanisms of static blocked IPs are - I guess - no
> good to me. I am running out of time, so please, help me with the following:
> where in the smtpserver should I implement my lookup so that I can discard
> the connection in either of the places:
>
>  - in main smtpserver process, after accept() and before the fork
>  - in the child smtpserver process
>
> Please, help me if you can (and I know you do!) ;-) In the meantime I am
> digging through the sources myself.

-
To unsubscribe from this list: send the line "unsubscribe zmailer" in
the body of a message to majordomo@nic.funet.fi