Re: How to build James from trunk

2012-01-13 Thread Jochen Gazda
Thanks for the tips, Eric and Ioan. Maven seems to work as expected now.

Gazda

On Thu, Jan 12, 2012 at 8:13 AM, Ioan Eugen Stan  wrote:
> Pe 11.01.2012 21:40, Eric Charles a scris:
>
>> Hi Jochen,
>>
>> Your settings.xml seems ok.
>>
>> 'mvn package' (or even compile) from a toplevel should take the
>> snapshots from your sources even if not installed.
>>
>> I usually invoke 'mvn clean install' in case of weird behaviour.
>>
>> Can you now compile?
>>
>> Thx,
>>
>> Eric
>
>
>
> Also, sometimes, it helps to delete all downloaded files from your maven
> local repository.
>
>
> --
> Ioan Eugen Stan
> http://ieugen.blogspot.com
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>

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



Re: ACL Support - cont. from server-user

2012-01-13 Thread Jochen Gazda
Thank you for your advice, Eric, but my efforts with protocols-imap
are pointless now, as protocols-imap was removed from the svn repo
yesterday.

Gazda

On Wed, Jan 11, 2012 at 8:38 PM, Eric Charles  wrote:
> Hi Jochen,
>
> You will need to replace all references in sever and app pom to
> apache-james-server-imap-* with
>
>    org.apache.james.protocols
>    protocols-imap
>
>
> As said earlier, this copy of imap is less stable.
>
> Thx,
>
> Eric
>
>
>
> On 10/01/12 19:52, Jochen Gazda wrote:
>>
>> Eric,
>>
>> On Fri, Jan 6, 2012 at 6:34 PM, Eric Charles  wrote:
>>>
>>> As a side note, we are moving IMAP code from
>>>
>>> https://svn.apache.org/repos/asf/james/imap/trunk/
>>> to
>>> https://svn.apache.org/repos/asf/james/protocols/trunk/imap/
>>>
>>> I would be better that you code in the latter.
>>
>>
>> I have coded with /james/protocols/trunk/imap/ and I would like run my
>> code with James. How can I do it?
>> The default build results in James with /james/imap/trunk/. How can I
>> replace it?
>>
>> Thanks,
>>
>> Gazda
>>
>> -
>> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
>> For additional commands, e-mail: server-dev-h...@james.apache.org
>>
>
> --
> eric | http://about.echarles.net | @echarles
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>

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



Re: ACL Support - cont. from server-user

2012-01-13 Thread Norman Maurer
It will get added back soon ;) But as Eric already said better use
imap/trunk for now.

Bye,
Norman

2012/1/13 Jochen Gazda 

> Thank you for your advice, Eric, but my efforts with protocols-imap
> are pointless now, as protocols-imap was removed from the svn repo
> yesterday.
>
> Gazda
>
> On Wed, Jan 11, 2012 at 8:38 PM, Eric Charles  wrote:
> > Hi Jochen,
> >
> > You will need to replace all references in sever and app pom to
> > apache-james-server-imap-* with
> >
> >org.apache.james.protocols
> >protocols-imap
> >
> >
> > As said earlier, this copy of imap is less stable.
> >
> > Thx,
> >
> > Eric
> >
> >
> >
> > On 10/01/12 19:52, Jochen Gazda wrote:
> >>
> >> Eric,
> >>
> >> On Fri, Jan 6, 2012 at 6:34 PM, Eric Charles  wrote:
> >>>
> >>> As a side note, we are moving IMAP code from
> >>>
> >>> https://svn.apache.org/repos/asf/james/imap/trunk/
> >>> to
> >>> https://svn.apache.org/repos/asf/james/protocols/trunk/imap/
> >>>
> >>> I would be better that you code in the latter.
> >>
> >>
> >> I have coded with /james/protocols/trunk/imap/ and I would like run my
> >> code with James. How can I do it?
> >> The default build results in James with /james/imap/trunk/. How can I
> >> replace it?
> >>
> >> Thanks,
> >>
> >> Gazda
> >>
> >> -
> >> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> >> For additional commands, e-mail: server-dev-h...@james.apache.org
> >>
> >
> > --
> > eric | http://about.echarles.net | @echarles
> >
> > -
> > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> > For additional commands, e-mail: server-dev-h...@james.apache.org
> >
>
> -
> To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
> For additional commands, e-mail: server-dev-h...@james.apache.org
>
>


svn commit: r1231143 - in /james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core: AbstractAddHeadersFilter.java ReceivedDataLineFilter.java esmtp/EhloCmdHandler.java fastfail/R

2012-01-13 Thread norman
Author: norman
Date: Fri Jan 13 16:02:44 2012
New Revision: 1231143

URL: http://svn.apache.org/viewvc?rev=1231143&view=rev
Log:
Correctly format the Received header and it to the message. See PROTOCOLS-88

Modified:

james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/AbstractAddHeadersFilter.java

james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/ReceivedDataLineFilter.java

james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/esmtp/EhloCmdHandler.java

james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/fastfail/ResolvableEhloHeloHandler.java

Modified: 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/AbstractAddHeadersFilter.java
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/AbstractAddHeadersFilter.java?rev=1231143&r1=1231142&r2=1231143&view=diff
==
--- 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/AbstractAddHeadersFilter.java
 (original)
+++ 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/AbstractAddHeadersFilter.java
 Fri Jan 13 16:02:44 2012
@@ -20,7 +20,9 @@ package org.apache.james.protocols.smtp.
 
 import java.io.UnsupportedEncodingException;
 import java.nio.ByteBuffer;
+import java.util.ArrayList;
 import java.util.Collection;
+import java.util.List;
 import java.util.concurrent.atomic.AtomicInteger;
 
 import org.apache.james.protocols.api.ProtocolSession.State;
@@ -99,22 +101,24 @@ public abstract class AbstractAddHeaders
 public static final String MULTI_LINE_PREFIX = "  ";
 
 public final String name;
-public final String value;
-
-private final String[] lines;
-private final String lineDelimiter;
-
-public Header(String name, String value, String lineDelimiter) {
+public final List values = new ArrayList();
+
+public Header(String name, String value) {
 this.name = name;
-this.value = value;
-this.lines = toString().split(lineDelimiter);
-this.lineDelimiter = lineDelimiter;
+this.values.add(value);
 }
 
-public String toString() {
- return name + ": " + value + lineDelimiter;
+/**
+ * Add the value to the header
+ * @param value
+ * @return
+ */
+public Header add(String value) {
+values.add(value);
+return this;
 }
 
+
 /**
  * Transfer the content of the {@link Header} to the given {@link 
LineHandler}.
  * 
@@ -130,11 +134,17 @@ public abstract class AbstractAddHeaders
 
 try {
 Response response = null;
-for (int i = 0; i < lines.length; i++) {
- response = handler.onLine(session, 
ByteBuffer.wrap((lines[i] + session.getLineDelimiter()).getBytes(charset)));
- if (response != null) {
- break;
- }
+for (int i = 0; i < values.size(); i++) {
+String line;
+if (i == 0) {
+line = name + ": " + values.get(i);
+} else {
+line = MULTI_LINE_PREFIX + values.get(i);
+}
+response = handler.onLine(session, ByteBuffer.wrap((line + 
session.getLineDelimiter()).getBytes(charset)));
+if (response != null) {
+break;
+}
 }
 return response;
 } catch (UnsupportedEncodingException e) {

Modified: 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/ReceivedDataLineFilter.java
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/ReceivedDataLineFilter.java?rev=1231143&r1=1231142&r2=1231143&view=diff
==
--- 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/ReceivedDataLineFilter.java
 (original)
+++ 
james/protocols/trunk/smtp/src/main/java/org/apache/james/protocols/smtp/core/ReceivedDataLineFilter.java
 Fri Jan 13 16:02:44 2012
@@ -105,26 +105,33 @@ public class ReceivedDataLineFilter exte
 headerLineBuffer.append("from 
").append(session.getRemoteAddress().getHostName());
 
 if (heloName != null) {
-headerLineBuffer.append(" (").append(heloMode).append(" 
").append(heloName).append(") ");
+headerLineBuffer.append(" (").append(heloMode).append(" 
").append(heloName).append(")");
 }
-headerLineBuff

[jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

2012-01-13 Thread Norman Maurer (Resolved) (JIRA)

 [ 
https://issues.apache.org/jira/browse/PROTOCOLS-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norman Maurer resolved PROTOCOLS-88.


   Resolution: Fixed
Fix Version/s: 1.6.0

fixed thanks for reporting

> Malformed Headers created by SMTP
> -
>
> Key: PROTOCOLS-88
> URL: https://issues.apache.org/jira/browse/PROTOCOLS-88
> Project: JAMES Protocols
>  Issue Type: Bug
>  Components: smtp
>Reporter: Eric Charles
>Assignee: Norman Maurer
> Fix For: 1.6.0
>
>
> Sending emails with server trunk stores mails with weird headers (see [1] 
> multiples spaces, presence of 'null' string)
> Running SMTPServerTest.testSimpleDelivery shows an envelope with the 
> bytearrayoutputstream having the same issue (see [2])
> (This weird headers sometimes confuse mail client, sometimes not)
> [1]
> Return-Path: 
> Delivered-To: e...@localhost.net
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> Message-ID: <4f0fd537.7030...@localhost.net>
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> Date: Fri, 13 Jan 2012 07:54:47 +0100
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> From: Eric Charles Localhost 
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) 
> Gecko/2005 Thunderbird/8.0
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> MIME-Version: 1.0
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> To: e...@localhost.net
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> Subject: This is a simple test subject
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Received:   by Eric-Charles-MacBook-Pro.local (null) with ESMTP ID 
> 1242552473
>   for ;  Fri, 13 Jan 2012 07:54:48 +0100 
> (CET)null
> Content-Transfer-Encoding: 7bit
> This is a simple test body.
> Eric
> [2]
> Received:   by localhost (JAMES SMTP Protocols Server) with SMTP ID 
> 127861719;  Fri, 13 Jan 2012 08:02:09 +0100 (CET)null
> Subject: Testmessage
> This is a message

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



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



svn commit: r1231145 - /james/protocols/tags/protocols-1.6.0/

2012-01-13 Thread norman
Author: norman
Date: Fri Jan 13 16:04:38 2012
New Revision: 1231145

URL: http://svn.apache.org/viewvc?rev=1231145&view=rev
Log:
Remove to re-roll 

Removed:
james/protocols/tags/protocols-1.6.0/


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



svn commit: r1231154 - in /james/protocols/trunk: api/pom.xml lmtp/pom.xml netty/pom.xml pom.xml pop3/pom.xml smtp/pom.xml

2012-01-13 Thread norman
Author: norman
Date: Fri Jan 13 16:16:15 2012
New Revision: 1231154

URL: http://svn.apache.org/viewvc?rev=1231154&view=rev
Log:
[maven-release-plugin] prepare release protocols-1.6.0

Modified:
james/protocols/trunk/api/pom.xml
james/protocols/trunk/lmtp/pom.xml
james/protocols/trunk/netty/pom.xml
james/protocols/trunk/pom.xml
james/protocols/trunk/pop3/pom.xml
james/protocols/trunk/smtp/pom.xml

Modified: james/protocols/trunk/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/api/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/api/pom.xml (original)
+++ james/protocols/trunk/api/pom.xml Fri Jan 13 16:16:15 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.1-SNAPSHOT
+1.6.0
 ../pom.xml
 
 

Modified: james/protocols/trunk/lmtp/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/lmtp/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/lmtp/pom.xml (original)
+++ james/protocols/trunk/lmtp/pom.xml Fri Jan 13 16:16:15 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.1-SNAPSHOT
+1.6.0
 ../pom.xml
 
 

Modified: james/protocols/trunk/netty/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/netty/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/netty/pom.xml (original)
+++ james/protocols/trunk/netty/pom.xml Fri Jan 13 16:16:15 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.1-SNAPSHOT
+1.6.0
 ../pom.xml
 
 

Modified: james/protocols/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/pom.xml (original)
+++ james/protocols/trunk/pom.xml Fri Jan 13 16:16:15 2012
@@ -28,7 +28,7 @@
 
 
 protocols
-1.6.1-SNAPSHOT
+1.6.0
 pom
 
 Apache James Protocols
@@ -45,9 +45,9 @@
 
 
 
-
scm:svn:http://svn.apache.org/repos/asf/james/protocols/trunk
-
scm:svn:https://svn.apache.org/repos/asf/james/protocols/trunk
-
http://svn.apache.org/viewcvs.cgi/james/protocols/trunk?root=Apache-SVN
+
scm:svn:http://svn.apache.org/repos/asf/james/protocols/tags/protocols-1.6.0
+
scm:svn:https://svn.apache.org/repos/asf/james/protocols/tags/protocols-1.6.0
+
http://svn.apache.org/viewcvs.cgi/james/protocols/trunk/tags/protocols-1.6.0?root=Apache-SVN
 
 
 

Modified: james/protocols/trunk/pop3/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/pop3/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/pop3/pom.xml (original)
+++ james/protocols/trunk/pop3/pom.xml Fri Jan 13 16:16:15 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.1-SNAPSHOT
+1.6.0
 ../pom.xml
 
 

Modified: james/protocols/trunk/smtp/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/smtp/pom.xml?rev=1231154&r1=1231153&r2=1231154&view=diff
==
--- james/protocols/trunk/smtp/pom.xml (original)
+++ james/protocols/trunk/smtp/pom.xml Fri Jan 13 16:16:15 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.1-SNAPSHOT
+1.6.0
 ../pom.xml
 
 



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



svn commit: r1231155 - /james/protocols/tags/protocols-1.6.0/

2012-01-13 Thread norman
Author: norman
Date: Fri Jan 13 16:16:24 2012
New Revision: 1231155

URL: http://svn.apache.org/viewvc?rev=1231155&view=rev
Log:
[maven-release-plugin]  copy for tag protocols-1.6.0

Added:
james/protocols/tags/protocols-1.6.0/
  - copied from r1231154, james/protocols/trunk/


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



svn commit: r1231156 - in /james/protocols/trunk: api/pom.xml lmtp/pom.xml netty/pom.xml pom.xml pop3/pom.xml smtp/pom.xml

2012-01-13 Thread norman
Author: norman
Date: Fri Jan 13 16:16:29 2012
New Revision: 1231156

URL: http://svn.apache.org/viewvc?rev=1231156&view=rev
Log:
[maven-release-plugin] prepare for next development iteration

Modified:
james/protocols/trunk/api/pom.xml
james/protocols/trunk/lmtp/pom.xml
james/protocols/trunk/netty/pom.xml
james/protocols/trunk/pom.xml
james/protocols/trunk/pop3/pom.xml
james/protocols/trunk/smtp/pom.xml

Modified: james/protocols/trunk/api/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/api/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/api/pom.xml (original)
+++ james/protocols/trunk/api/pom.xml Fri Jan 13 16:16:29 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.0
+1.6.1-SNAPSHOT
 ../pom.xml
 
 

Modified: james/protocols/trunk/lmtp/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/lmtp/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/lmtp/pom.xml (original)
+++ james/protocols/trunk/lmtp/pom.xml Fri Jan 13 16:16:29 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.0
+1.6.1-SNAPSHOT
 ../pom.xml
 
 

Modified: james/protocols/trunk/netty/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/netty/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/netty/pom.xml (original)
+++ james/protocols/trunk/netty/pom.xml Fri Jan 13 16:16:29 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.0
+1.6.1-SNAPSHOT
 ../pom.xml
 
 

Modified: james/protocols/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/pom.xml (original)
+++ james/protocols/trunk/pom.xml Fri Jan 13 16:16:29 2012
@@ -28,7 +28,7 @@
 
 
 protocols
-1.6.0
+1.6.1-SNAPSHOT
 pom
 
 Apache James Protocols
@@ -45,9 +45,9 @@
 
 
 
-
scm:svn:http://svn.apache.org/repos/asf/james/protocols/tags/protocols-1.6.0
-
scm:svn:https://svn.apache.org/repos/asf/james/protocols/tags/protocols-1.6.0
-
http://svn.apache.org/viewcvs.cgi/james/protocols/trunk/tags/protocols-1.6.0?root=Apache-SVN
+
scm:svn:http://svn.apache.org/repos/asf/james/protocols/trunk
+
scm:svn:https://svn.apache.org/repos/asf/james/protocols/trunk
+
http://svn.apache.org/viewcvs.cgi/james/protocols/trunk?root=Apache-SVN
 
 
 

Modified: james/protocols/trunk/pop3/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/pop3/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/pop3/pom.xml (original)
+++ james/protocols/trunk/pop3/pom.xml Fri Jan 13 16:16:29 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.0
+1.6.1-SNAPSHOT
 ../pom.xml
 
 

Modified: james/protocols/trunk/smtp/pom.xml
URL: 
http://svn.apache.org/viewvc/james/protocols/trunk/smtp/pom.xml?rev=1231156&r1=1231155&r2=1231156&view=diff
==
--- james/protocols/trunk/smtp/pom.xml (original)
+++ james/protocols/trunk/smtp/pom.xml Fri Jan 13 16:16:29 2012
@@ -23,7 +23,7 @@
 
 protocols
 org.apache.james
-1.6.0
+1.6.1-SNAPSHOT
 ../pom.xml
 
 



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



Re: [VOTE] Release Apache James Protocols 1.6.0

2012-01-13 Thread Norman Maurer
Hi there,

please use this artifacts for review:
https://repository.apache.org/content/repositories/orgapachejames-064/

Bye,
Norman


2012/1/12 Norman Maurer 

> Hi there,
>
> after a lot of more work I think we are ready to release Apache James
> Protocols 1.6.0.
>
> Artifacts to review:
> https://repository.apache.org/content/repositories/orgapachejames-059/
>
> Changes:
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311060&version=12319289
>
> Please cast your VOTE:
>
> [ ] +1 Yes, please release
> [ ] +0 No time to review
> [ ] -1 Something is wrong...
>
> --
> Norman Maurer
>
>


Re: [jira] [Resolved] (PROTOCOLS-88) Malformed Headers created by SMTP

2012-01-13 Thread Eric Charles

Hi Norman,

This headers are now well formatted, but I have numerous one with the 
same information (was also the case in the header I copied in the jira, 
but I didn't mention it).


See [1] for a normal behavior and [2] for the duplicated headers

I didn't investigate yet to see if this comes from server or protocols 
project.



[1]

Return-Path: 
Delivered-To: eric.char...@u-mangate.com
MIME-Version: 1.0
Received: from mailrelay011.isp.belgacom.be ([195.238.6.178])
  by srv002 (JAMES SMTP Server ) with ESMTP ID 1144012411
  for ;
  Sat, 14 Jan 2012 08:27:36 +0100 (CET)
X-Belgacom-Dynamic: yes
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: 
AkkQAHgtEU9bssAd/2dsb2JhbABDjEyfYoEHgQaCEh8eIj0WGAMCAQIBJxgZCAEBh3iXI59DiHuDHASnUQ
Received: from 29.192-178-91.adsl-dyn.isp.belgacom.be (HELO 
Eric-Charles-MacBook-Pro.local) ([91.178.192.29])

  by relay.skynet.be with ESMTP; 14 Jan 2012 08:27:35 +0100
Message-ID: <4f112e66.9020...@u-mangate.com>
Date: Sat, 14 Jan 2012 08:27:34 +0100
From: Eric Charles 
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) 
Gecko/2005 Thunderbird/8.0

To: eric.char...@u-mangate.com
Subject: qsdfqsfdqs
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

qsdfqsd


[2]

Return-Path: 
Delivered-To: eric.char...@u-mangate.com
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-Belgacom-Dynamic: yes
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-IronPort-Anti-Spam-Filtered: true
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
X-IronPort-Anti-Spam-Result: 
AkkQAFErEU9bssAd/2dsb2JhbABDjEyfYoEHgQaCEh8eIj0WGAMCAQIBJxgZCAEBh3iXI59DiHuDHASnUQ
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Received: from 29.192-178-91.adsl-dyn.isp.belgacom.be (HELO 
Eric-Charles-MacBook-Pro.local) ([91.178.192.29])
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
  by relay.skynet.be with ESMTP; 14 Jan 2012 08:22:52 +0100
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Message-ID: <4f112d4c.4090...@u-mangate.com>
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Date: Sat, 14 Jan 2012 08:22:52 +0100
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
From: Eric Charles 
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) 
Gecko/2005 Thunderbird/8.0
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
MIME-Version: 1.0
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
To: eric.char...@u-mangate.com
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Subject: sdfqsdfq qdfs
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  Sat, 14 Jan 2012 08:22:53 +0100 (CET)
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Received: from mailrelay001.isp.belgacom.be (EHLO 
mailrelay001.isp.belgacom.be) ([195.238.6.51])

  by srv002 (null) with ESMTP ID 508649953
  for ;
  

Re: mail body parse error.

2012-01-13 Thread Eric Charles
Hi there,

You mean it is always displayed in your client with boundaries ?
Which client, which james version ?

Thx again,
Eric

On 13/01/12 16:21, 勐 杨 wrote:
> Wahtever what do I send as mail,I  received the mail shows:
> 这是一封 MIME 格式的多方邮件。
> 
> --=_NextPart_000_001F_01CCD248.09D5DA30
> Content-Type: text/plain;
> charset="gb2312"
> Content-Transfer-Encoding: quoted-printable
> 
> And see if it is ok?
> --=_NextPart_000_001F_01CCD248.09D5DA30
> Content-Type: text/html;
> charset="gb2312"
> Content-Transfer-Encoding: quoted-printable
> 
> 
> 
> 
> 
> And see if it is ok?
> 
> --=_NextPart_000_001F_01CCD248.09D5DA30--
> 

-- 
eric | http://about.echarles.net | @echarles

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