You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by "Noel J. Bergman" <no...@devtech.com> on 2002/06/03 03:10:41 UTC

Match by geography

Does anyone have interest in a matcher that will match by geography using
www.geo-ip.com?

	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Match by geography

Posted by Serge Knystautas <se...@lokitech.com>.
Yup, I got an email back already saying he's happy to do so.  He's 
willing to license the client library and database under Apache-style 
licenses.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Noel J. Bergman wrote:
> Serge,
> 
> I doubt that he'll say no.  The code is under the LGPL, there is no
> copyright or non-distribution associated with the database, plus this would
> be good promotion for him, and he can gain subscribers to his database
> update plan.
> 
> 	--- Noel
> 
> -----Original Message-----
> From: Serge Knystautas [mailto:sergek@lokitech.com]
> Sent: Sunday, June 02, 2002 23:39
> 
> I've sent a request to the author/owner to bundle a copy of their free
> client and database with James... assuming they say yes, it seems like
> it'd be a nice feature to add.
> 
> If they aren't willing to let us bundle both, I don't think it's worth
> including a matcher that required the library and/or database.
> --
> 
> -----Original Message-----
> From: Serge Knystautas [mailto:sergek@lokitech.com]
> Sent: Sunday, June 02, 2002 23:21
> 
> Sounds interesting... so you can forbid emails (or at least boost their
> spam rating if/when we can support that notion) from certain countries.
> 
> Noel J. Bergman wrote:
> 
>>Does anyone have interest in a matcher that will match by geography using
>>www.geo-ip.com?
>>
>>	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Match by geography

Posted by Serge Knystautas <se...@lokitech.com>.
I was thinking of just RemoteAddrInCountry and RemoteAddrNotInCountry. 
Like you've said, it's nice to check all the hops, but the Received 
headers are not very standard and you have no way of knowing their 
veracity.  Anyway, so the remote addr one is all I'm looking for.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Noel J. Bergman wrote:
> I am working on the geography matcher now.  Similar question to a previous
> inquiry about SPAM origin.  Do I use the remote address that we use in
> InSpammerBlacklist (mail.getRemoteAddr()), or do I check the Received
> headers (as we plan to allow as an InSpammerBlacklist option)?
> 
> I supposed the in the case of NotFromCountry, we'd say that if ANY Received:
> from header indicated a relay from that country, the message fails.  In the
> case of FromCountry ... then what?  I can see arguments for both ALL and
> ANY.  I can code alls sorts of options, but I'd like to know what people
> actually want.
> 
> By the name, I'm not sure at the moment what the final name of the matchers
> will be.  An obvious pair is RemoteAddrInCountry & RemoteAddrNotInCountry,
> but if we do more than just the proximate relay, then perhaps RelayInCountry
> & RelayNotInCountry, or just NotFromCountry, FromCountry would be clearer.
> Suggestions solicited, before I just name it what I want.  ;-)
> 
> 	--- Noel
> 
> -----Original Message-----
> From: Serge Knystautas [mailto:sergek@lokitech.com]
> Sent: Sunday, June 02, 2002 23:21
> 
> Sounds interesting... so you can forbid emails (or at least boost their
> spam rating if/when we can support that notion) from certain countries.
> 
> Noel J. Bergman wrote:
> 
>>Does anyone have interest in a matcher that will match by geography using
>>www.geo-ip.com?
>>
>>	--- Noel
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Match by geography

Posted by "Noel J. Bergman" <no...@devtech.com>.
I am working on the geography matcher now.  Similar question to a previous
inquiry about SPAM origin.  Do I use the remote address that we use in
InSpammerBlacklist (mail.getRemoteAddr()), or do I check the Received
headers (as we plan to allow as an InSpammerBlacklist option)?

I supposed the in the case of NotFromCountry, we'd say that if ANY Received:
from header indicated a relay from that country, the message fails.  In the
case of FromCountry ... then what?  I can see arguments for both ALL and
ANY.  I can code alls sorts of options, but I'd like to know what people
actually want.

By the name, I'm not sure at the moment what the final name of the matchers
will be.  An obvious pair is RemoteAddrInCountry & RemoteAddrNotInCountry,
but if we do more than just the proximate relay, then perhaps RelayInCountry
& RelayNotInCountry, or just NotFromCountry, FromCountry would be clearer.
Suggestions solicited, before I just name it what I want.  ;-)

	--- Noel

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Sunday, June 02, 2002 23:21

Sounds interesting... so you can forbid emails (or at least boost their
spam rating if/when we can support that notion) from certain countries.

Noel J. Bergman wrote:
> Does anyone have interest in a matcher that will match by geography using
> www.geo-ip.com?
>
> 	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Match by geography

Posted by "Noel J. Bergman" <no...@devtech.com>.
Serge,

I doubt that he'll say no.  The code is under the LGPL, there is no
copyright or non-distribution associated with the database, plus this would
be good promotion for him, and he can gain subscribers to his database
update plan.

	--- Noel

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Sunday, June 02, 2002 23:39

I've sent a request to the author/owner to bundle a copy of their free
client and database with James... assuming they say yes, it seems like
it'd be a nice feature to add.

If they aren't willing to let us bundle both, I don't think it's worth
including a matcher that required the library and/or database.
--

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Sunday, June 02, 2002 23:21

Sounds interesting... so you can forbid emails (or at least boost their
spam rating if/when we can support that notion) from certain countries.

Noel J. Bergman wrote:
> Does anyone have interest in a matcher that will match by geography using
> www.geo-ip.com?
>
> 	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Match by geography

Posted by Serge Knystautas <se...@lokitech.com>.
I've sent a request to the author/owner to bundle a copy of their free 
client and database with James... assuming they say yes, it seems like 
it'd be a nice feature to add.

If they aren't willing to let us bundle both, I don't think it's worth 
including a matcher that required the library and/or database.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Noel J. Bergman wrote:
> Does anyone have interest in a matcher that will match by geography using
> www.geo-ip.com?
> 
> 	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Match by geography

Posted by Serge Knystautas <se...@lokitech.com>.
Sounds interesting... so you can forbid emails (or at least boost their 
spam rating if/when we can support that notion) from certain countries.
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Noel J. Bergman wrote:
> Does anyone have interest in a matcher that will match by geography using
> www.geo-ip.com?
> 
> 	--- Noel


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>