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 bi...@digitalgarden.com on 2004/04/21 20:16:15 UTC

recipient matcher bug?

We get quite a bit of spam to one of us and a consistent small set of
addresses (e.g. billp@digitalgarden.com (legit) and
hhh@digitalgarden.com(not legit).

I've written a matcher that is a clone of the RecipientIs and its parent
GenericRecipientMatcher in order to process any email that comes in with a
legitimate address AND one or more none illegitmate (passed via the config)
address.  The only difference is that I collect all the non matches and if I
detect a match (not legit) I add the non matches to the matches.  It seems
to be working for the most part.

If I send a test from my server at home (also james 2.1.3) the matcher get
both addresses and I successfully reject the email.  But if I send the same
message from Yahoo, I get two invocations of the matcher.  As such, the
legitimate version gets passed on.  Is this a James bug?  Something I don't
understand about how this works?

thanks


        bill page 

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


Re: recipient matcher bug?

Posted by Serge Knystautas <se...@lokitech.com>.
bill@digitalgarden.com wrote:
> We get quite a bit of spam to one of us and a consistent small set of
> addresses (e.g. billp@digitalgarden.com (legit) and
> hhh@digitalgarden.com(not legit).
> 
> I've written a matcher that is a clone of the RecipientIs and its parent
> GenericRecipientMatcher in order to process any email that comes in with a
> legitimate address AND one or more none illegitmate (passed via the config)
> address.  The only difference is that I collect all the non matches and if I
> detect a match (not legit) I add the non matches to the matches.  It seems
> to be working for the most part.
> 
> If I send a test from my server at home (also james 2.1.3) the matcher get
> both addresses and I successfully reject the email.  But if I send the same
> message from Yahoo, I get two invocations of the matcher.  As such, the
> legitimate version gets passed on.  Is this a James bug?  Something I don't
> understand about how this works?

I would guess Yahoo is sending 2 copies of the same message (one copy 
for each recipient), which is completely kosher.

-- 
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: recipient matcher bug?

Posted by "Noel J. Bergman" <no...@devtech.com>.
> I've written a matcher [in order] to process any email that comes
> in with a legitimate address AND one or more none illegitmate
> (passed via the config) address.

> I collect all the non matches and if I detect a match (not legit)
> I add the non matches to the matches.

> if I send the same message from Yahoo, I get two invocations of
> the matcher.  As such, the legitimate version gets passed on.

Sounds as if the recipient set was split already by another matcher.  Turn
on DEBUG for the spooler, and see what the mesage flow looks like through
the pipeline.

	--- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


RE: recipient matcher bug?

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

-----Original Message-----
From: bill@digitalgarden.com [mailto:bill@digitalgarden.com]
Sent: Wednesday, April 21, 2004 14:16
To: server-user@james.apache.org
Subject: recipient matcher bug?


We get quite a bit of spam to one of us and a consistent small set of
addresses (e.g. billp@digitalgarden.com (legit) and
hhh@digitalgarden.com(not legit).

I've written a matcher that is a clone of the RecipientIs and its parent
GenericRecipientMatcher in order to process any email that comes in with a
legitimate address AND one or more none illegitmate (passed via the config)
address.  The only difference is that I collect all the non matches and if I
detect a match (not legit) I add the non matches to the matches.  It seems
to be working for the most part.

If I send a test from my server at home (also james 2.1.3) the matcher get
both addresses and I successfully reject the email.  But if I send the same
message from Yahoo, I get two invocations of the matcher.  As such, the
legitimate version gets passed on.  Is this a James bug?  Something I don't
understand about how this works?

thanks


        bill page

---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org