Hi,
I tried both configs:
- startTLS (STARTTLS in thunderbird)
- socketTLS (SSL/TLS in thunderbird)

With socketTLS, you can't read anything.

With startTLS, the preamble is readable, but the rest is encrypted.

* OK JAMES IMAP4rev1 Server  Server 192.168.1.4 is ready.
* CAPABILITY IMAP4rev1 LITERAL+ CHILDREN WITHIN STARTTLS IDLE NAMESPACE UIDPLUS UNSELECT AUTH=PLAIN
1 OK CAPABILITY completed.
2 OK STARTTLS Begin TLS negotiation now.
<encrypted...>

I will add this to documentation.

Tks,
- Eric



On 26/05/2011 21:21, Pao, Vanessa wrote:
Hi,
Instead of startTLS enabled, I have socketTLS enabled in my imapserver.xml, 
smtpserver.xml and pop3server.xml files as shown below:
        <tls socketTLS="true" startTLS="false">
Can that also be sniffed?
Vanessa Pao

-----Original Message-----
From: Daniel Tan [mailto:[email protected]]
Sent: Wednesday, May 25, 2011 11:10 AM
To: James Users List
Subject: Re: trying my hand @ james ssl/spam/mysql

i have startTLS enabled and my SSL cert is working but when i used wireshark to 
snoop my traffic, i can see my email sent out in plain text. not encrypted. any 
idea?

On 24-May-2011, at 7:13 AM, Dwayne Nelson wrote:

Right - it doesn't exist.  I was following the link from this page:

http://people.apache.org/~eric/james/20110517/site/config.html

But yes, your link [1] gets me the file I was looking for.

In reading it over again closely, I noted that I need to make a change to 
conf/context/james-server-context.xml as well.  I added the block specified in 
the sample file and restarted, but James does not initialize and quietly exits 
... here is the only new message that appears in the james-server.log file:

INFO  22:53:08,519 | 
org.apache.james.container.spring.context.JamesServerApplicationContext | 
Refreshing 
org.apache.james.container.spring.context.JamesServerApplicationContext@36baa466:
 startup date [Mon May 23 22:53:08 UTC 2011]; root of context hierarchy

Where should I be looking for any thrown exceptions?

-Dwayne

On 05/23/2011 06:17 AM, Eric Charles wrote:
Hi,

The link you gave does not exist.
Are you talking about [1] ?

If this is the case, don't forget to update the spring configuration file as 
written in [1]

If you want to be sure your smtpserver-ssl.xml is really processed, simply put 
a bad tag inside and you should see an exception on startup :)

Tks,

Eric

[1] 
https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/config/examples/smtpserver-ssl.xml

On 22/05/2011 22:10, Dwayne Nelson wrote:
I can't find any linked examples for SMTP on port 465 and I am not sure
if James is even looking at my new configuration file
(smtpserver-ssl.xml) -- no reference to port 465 appears in my server logs.

This is where I looked for example information:

https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-M3/container-spring/src/main/config/examples/smtpserver.xml


-Dwayne

On 05/17/2011 07:57 AM, 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: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to