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 Harmeet <ha...@kodemuse.com> on 2001/07/28 18:47:45 UTC

how many emails should be recieved if there are duplicate addresses

Question on how many emails should be recieved if duplicate recipient
addresses are present.

If there is an email that has
a. my email address twice in the 'TO' address
b. my email address in the 'TO' and 'CC' address

In case 'a' one email is sent via Outlook Express. It looks like Outlook
removes duplicates in the address field.
In case 'a' 2 email is sent by directly invoking James Mail Repository.

2 emails are sent in case 'b'.

Should there be duplicate recipient checks inside James ?
I don't think RFC's talk about duplicates. Do you know something about this
? What do you think makes sense ?

Harmeet


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


Re: how many emails should be recieved if there are duplicate addresses

Posted by Serge Knystautas <se...@lokitech.com>.
I'm actually surprised you're getting 2 emails from James this way.  The
recipient list in James is a Set, so duplicate email addresses should not be
possible.  In fact, in a simple mailet I wrote that does aliasing, it has
trouble because the Set is throwing an exception if I try to alias to an
address already as the recipient (e.g., a message comes for
sergek@lokitech.com and info@lokitech.com, and info@lokitech.com is aliased
to sergek@lokitech.com).  I'd prefer the Set to not add the duplicate
silently, or let it add and then remove the duplicates at some point.

I don't know anything in the spec that says you should/shouldn't send
duplicates, but I would think you don't want to send duplicates... I can't
think of any reason why you'd want duplicates.

Serge Knystautas
Loki Technologies
http://www.lokitech.com/
----- Original Message -----
From: "Harmeet" <ha...@kodemuse.com>
To: "james-user" <ja...@jakarta.apache.org>
Sent: Saturday, July 28, 2001 12:47 PM
Subject: how many emails should be recieved if there are duplicate addresses


> Question on how many emails should be recieved if duplicate recipient
> addresses are present.
>
> If there is an email that has
> a. my email address twice in the 'TO' address
> b. my email address in the 'TO' and 'CC' address
>
> In case 'a' one email is sent via Outlook Express. It looks like Outlook
> removes duplicates in the address field.
> In case 'a' 2 email is sent by directly invoking James Mail Repository.
>
> 2 emails are sent in case 'b'.
>
> Should there be duplicate recipient checks inside James ?
> I don't think RFC's talk about duplicates. Do you know something about
this
> ? What do you think makes sense ?
>
> Harmeet
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
>
>


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