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 "Govind Kumar (JIRA)" <se...@james.apache.org> on 2006/07/24 14:32:13 UTC

[jira] Created: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Mails with Duplicate Mail Address in To / CC 
---------------------------------------------

                 Key: JAMES-576
                 URL: http://issues.apache.org/jira/browse/JAMES-576
             Project: James
          Issue Type: Test
          Components: SMTPServer
    Affects Versions: 2.2.0
         Environment: Windows XP Professional
James 2.2.0
JDK 1.4.2_08
            Reporter: Govind Kumar
            Priority: Minor
             Fix For: 2.2.0


In case a mail's TO and / or CC address contains duplicates of same mail ids like 
To  : test1@testdomain,test1@testdomain
CC : test1@testdomain

, James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)

Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?

Thanks & Kind Regards,
Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Commented: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Noel J. Bergman (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-576?page=comments#action_12423069 ] 
            
Noel J. Bergman commented on JAMES-576:
---------------------------------------

The correct behavior is not defined by MIME specs.

Server behavior would be defined by RFC 2821, with the behavior controlled by the RCPT command.  RFC 2821 refers to accumulating a buffer of addresses, but does not say anything about merging (or not) duplicates.  Some mail servers provide the ability to "ignore" duplicate RCPT addresses.

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: Test
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Assigned: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-576?page=all ]

Norman Maurer reassigned JAMES-576:
-----------------------------------

    Assignee: Norman Maurer

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: Test
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>         Assigned To: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Re: [jira] Commented: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by Vincenzo Gianferrari Pini <vi...@praxis.it>.
Yes, you may be right  :-) . My test may be meaningless.

Vincenzo

Stefano Bagnara wrote:

> Vincenzo Gianferrari Pini (JIRA) wrote:
>
>>     [ 
>> http://issues.apache.org/jira/browse/JAMES-576?page=comments#action_12423074 
>> ]             Vincenzo Gianferrari Pini commented on JAMES-576:
>> -------------------------------------------------
>>
>> I just tested with 2.3.0rc1 to both local and outbound, and only one 
>> copy is sent.
>
>
> I think this depends on your mail client, may it be?
>
> If you send multiple rcpt to James it will send multiple copies, but 
> if your client is smart enough to compact the rcpt even if you use 
> multiple To: Cc: Bcc: recipients then you receive a single copy.
>
> Stefano
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>


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


Re: [jira] Commented: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by Stefano Bagnara <ap...@bago.org>.
Vincenzo Gianferrari Pini (JIRA) wrote:
>     [ http://issues.apache.org/jira/browse/JAMES-576?page=comments#action_12423074 ] 
>             
> Vincenzo Gianferrari Pini commented on JAMES-576:
> -------------------------------------------------
> 
> I just tested with 2.3.0rc1 to both local and outbound, and only one copy is sent.

I think this depends on your mail client, may it be?

If you send multiple rcpt to James it will send multiple copies, but if 
your client is smart enough to compact the rcpt even if you use multiple 
To: Cc: Bcc: recipients then you receive a single copy.

Stefano


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


[jira] Commented: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Vincenzo Gianferrari Pini (JIRA)" <se...@james.apache.org>.
    [ http://issues.apache.org/jira/browse/JAMES-576?page=comments#action_12423074 ] 
            
Vincenzo Gianferrari Pini commented on JAMES-576:
-------------------------------------------------

I just tested with 2.3.0rc1 to both local and outbound, and only one copy is sent.

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: Test
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Re: [jira] Updated: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by Stefano Bagnara <ap...@bago.org>.
Noel J. Bergman (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/JAMES-576?page=all ]
> 
> Noel J. Bergman updated JAMES-576:
> ----------------------------------
> 
>     Fix Version/s: 3.0
>                        (was: 2.2.0)
> 
> We ought to be able to fix this in the next release after v2.3, i.e., v2.4 or v3.
> 
> My suggestion is that we add a SuppressDuplicateRCPT command handler attached to the RCPT chain.

I like this idea.
We may also create a Mailet for this or have a system flag to handle 
duplicate/single recipients in Mail (MailImpl) object.

Stefano


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


[jira] Updated: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Noel J. Bergman (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-576?page=all ]

Noel J. Bergman updated JAMES-576:
----------------------------------

    Fix Version/s: 3.0
                       (was: 2.2.0)

We ought to be able to fix this in the next release after v2.3, i.e., v2.4 or v3.

My suggestion is that we add a SuppressDuplicateRCPT command handler attached to the RCPT chain.

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: Test
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>            Priority: Minor
>             Fix For: 3.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Updated: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-576?page=all ]

Norman Maurer updated JAMES-576:
--------------------------------

    Issue Type: New Feature  (was: Test)

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: New Feature
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>         Assigned To: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] Resolved: (JAMES-576) Mails with Duplicate Mail Address in To / CC

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ http://issues.apache.org/jira/browse/JAMES-576?page=all ]

Norman Maurer resolved JAMES-576.
---------------------------------

    Resolution: Fixed

> Mails with Duplicate Mail Address in To / CC
> --------------------------------------------
>
>                 Key: JAMES-576
>                 URL: http://issues.apache.org/jira/browse/JAMES-576
>             Project: James
>          Issue Type: Test
>          Components: SMTPServer
>    Affects Versions: 2.2.0
>         Environment: Windows XP Professional
> James 2.2.0
> JDK 1.4.2_08
>            Reporter: Govind Kumar
>         Assigned To: Norman Maurer
>            Priority: Minor
>             Fix For: 3.0
>
>
> In case a mail's TO and / or CC address contains duplicates of same mail ids like 
> To  : test1@testdomain,test1@testdomain
> CC : test1@testdomain
> , James sends multiple copies of the same mail to the same addresse. (In this case test1@testdomain receives 3 copies)
> Does this represent the correct behaviour as per the MIME specs (RFC 2045, RFC 2046, and RFC 2047) ? OR should the smtp server send only 1 mail to 'test1@testdomain'. On referring other mail servers(with their mail Clients), this is not the case ? If duplicate mails are not to be send, is this the responsibility of a mail client or the mail server ?
> Thanks & Kind Regards,
> Govind Kumar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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