I will update the documentation to tell the bind port should be changed to 993 (standard imap4 ssl)

Whatever the defined port, on encrypted socket, james will still announce unencrypted "* OK JAMES IMAP4rev1 Server Server laptop-techteam.b2boost.local. is ready.".

After, the bytes mus be encrypted, otherwise you telnet session will be dropped...

Does you configuration work with a mail client (thunderbird,...) ?

Tks,

- Eric


On 21/05/2011 11:20, Daniel Tan wrote:
i am a bit confused. i have created my self signed ssl cert.
but when i telnet i can see see OK JAMES Server....
i tried a few things, enable startTLS with disabled socketTLS, disabled 
startTLS with enabled socketTLS. i am having prob using my macbook mail to 
connect to the mailboxes.
if i use socketTLS and disabled startTLS, i can telnet to the port and see 
connected to hostname.domain.com but no james description. is that right? is my 
traffic already encrypted?
we cant enable both right because james will complain startTLS uses plain 
socket etc.


On 17-May-2011, at 7:57 PM, Eric Charles wrote:

Hi Daniel,

You can read a snapshot of the server website on [1] that is in-line with the 
upcoming beta release.

The quick start has been updated to reflect current code.
For SSL [2] and Antispam [3], this is still draft (go to the linked examples to 
have some ideas :)

Tks,
- Eric

[1] http://people.apache.org/~eric/james/20110517/site/index.html
[2] http://people.apache.org/~eric/james/20110517/site/config-ssl-tls.html
[3] http://people.apache.org/~eric/james/20110517/site/config-antispam.html

On 17/05/2011 05:27, Daniel Tan wrote:
Hi eric,

where will the links be updated for ssl and spam?

regards,
daniel

On 11-May-2011, at 10:54 PM, Eric Charles wrote:

Hi,

See also http://james.apache.org/server/3/quick-start.html.
You must edit database.properties and change the values according to your 
database (+ place the mysql jdbc driver in conf/lib folder).

For SSL and spam, the documentation will be available online begin next week 
(we are in the process of releasing a new 3.0-M3 milestone).

Tks,

- Eric


On 11/05/2011 16:39, Daniel Tan wrote:
hi,

i am trying my hand in implementing james with ssl/spam/mysql.

at this link http://wiki.apache.org/james/V3ConfigTutorial, i have followed the 
instructions but when i telnet to localhost 4555, i tried to adduser test test, 
the logs throws connection refused.

** END NESTED EXCEPTION **



Last packet sent to the server was 1 ms ago.)
        at 
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
        at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
        at 
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:137)
        at 
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
        at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
        ... 60 more
Caused by: com.mysql.jdbc.CommunicationsException: Communications link failure 
due to underlying exception:

** BEGIN NESTED EXCEPTION **

java.net.SocketException
MESSAGE: java.net.ConnectException: Connection refused

STACKTRACE:

java.net.SocketException: java.net.ConnectException: Connection refused
        at 
com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284)
        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2569)
        at com.mysql.jdbc.Connection.<init>(Connection.java:1485)
        at 
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
        at 
org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:38)
        at 
org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582)
        at 
org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(BasicDataSource.java:1556)
        at 
org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1545)
        at 
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)
        at 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)
        at 
org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:137)
        at 
org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:112)
        at 
org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:239)
        at 
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:728)
        at 
org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:867)
        at 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getDataSource(JDBCStoreManager.java:176)
        at 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.setContext(JDBCStoreManager.java:159)
        at 
org.apache.openjpa.jdbc.kernel.JDBCStoreManager.setContext(JDBCStoreManager.java:145)
        at 
org.apache.openjpa.kernel.DelegatingStoreManager.setContext(DelegatingStoreManager.java:79)
        at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:360)
        at org.apache.openjpa.kernel.BrokerImpl.initialize(BrokerImpl.java:315)
        at 
org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:231)
        at 
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:215)
        at 
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:156)
        at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:227)
        at 
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:154)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod(AbstractE



for ssl, found this link http://wiki.apache.org/james/UsingSSL but it is 
outdated and only for v2. trying to find a guide for v3.

for spam, found this link but very outdated. 
http://www.google.com.sg/url?sa=t&source=web&cd=5&ved=0CDMQFjAE&url=http%3A%2F%2Fwww.sans.org%2Freading_room%2Fwhitepapers%2Femail%2Fimplementing-spam-filtering-gateway-apache-james_1358&rct=j&q=implement%20apache%20james%20spam&ei=bp_KTd7eHY7JrQeN3JzpDw&usg=AFQjCNH0rWTaVXZw5mXRdLlDqxewWkdArA&sig2=kMd7nb4ABMqfcZiZ8NrfRg&cad=rja
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org



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




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



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




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



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

Reply via email to