You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by to...@wisernet.com on 2002/05/25 19:34:37 UTC
Re: cvs commit: jakarta-james/src/java/org/apache/james/transport/matchers InSpa
HORRAY for this....
I'm sorry to interrupt the Development forum. I'd like to
begin promoting this project. I promote quite a few others.
I think if I can get a couple of good contacts, that are
interested in working with me. My primary interest is the
Novell platform. I work with a lot of developers already,
Apache committers, etc. I host free news server for those
interested on requested topics. I would like to implement
James, just the listserv functions, with another mail
server, then the rest... is this possible. contact me
directly on james, don't plug up the list.
thanks
todd
http://www.wiserlabz.com
collaborative effort to promote Novell and Open Source solutions
I take these projects, write newsletters and promote. See a
sample newsletter by clicking the N under the link-tool at
the wiserlabz splash page. Link-Tool is also our creating.
EXAMPLES - NO COMMERCIAL CONTENT OR ADS
Jetspeed
http://portal.wiserlabz.com
http://portal.wisernet.com
Apache (all our sites)
http://www.wiserlabz.com
Cocoon (Thanks to Vadim)
http://cocoon.wiserlabz.com
Chiki, and extreme project using struts and AWESOME
http://chiki.wiserlabz.com
http://www.thinkitsfree.com
http://www.wisernotes.com
e-Commmerce - co-lead
a jCorporate project this will be based on base code we're
donating.
e-Content - participant
a Jcorporate project to add jetspeed compatible functions
> serge 02/05/25 10:16:25
>
> Modified: src/java/org/apache/james/transport/matchers
> InSpammerBlacklist.java
> Log:
> Corrected how the IP address was getting reversed and
prepended (thanks to Noel)
>
> Revision Changes Path
> 1.3 +7 -3
jakarta-james/src/java/org/apache/james/transport/matchers/InSpammerBlacklist.java
>
> Index: InSpammerBlacklist.java
>
===================================================================
> RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/transport/matchers/InSpammerBlacklist.java,v
> retrieving revision 1.2
> retrieving revision 1.3
> diff -u -r1.2 -r1.3
> --- InSpammerBlacklist.java 18 Jan 2002 02:48:38 -0000 1.2
> +++ InSpammerBlacklist.java 25 May 2002 17:16:25 -0000 1.3
> @@ -43,14 +43,18 @@
> String host = mail.getRemoteAddr();
> try {
> //Have to reverse the octets first
> + StringBuffer sb = new StringBuffer();
> StringTokenizer st = new
StringTokenizer(host, " .", false);
> - host = network;
> +
> while (st.hasMoreTokens()) {
> - host = st.nextToken() + ".";
> + sb.insert(0, st.nextToken() + ".");
> }
>
> + //Add the network prefix for this blacklist
> + sb.append(network);
> +
> //Try to look it up
> - InetAddress.getByName(host);
> + InetAddress.getByName(sb.toString());
>
> //If we got here, that's bad... it means
the host
> // was found in the blacklist
>
>
>
>
> --
> 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>