2013-05-28 16:49:29,072 WARN [qtp2030014547-23] o.e.j.u.l.Slf4jLog [warn:50] - /rest/v2/:mydomain.com/:testuser
java.lang.IllegalArgumentException: Mailbox ID should be valid RFC5322 email address
curl -XPOST "http://ipaddresshere:8181/rest/v2/:mydomain.com/:testuser
curl -XPOST "http://ipaddresshere:8181/rest/v2/elasticinbox.com/testuser"v1 API is deprecated and removed in 0.4.
--
You received this message because you are subscribed to the Google Groups "ElasticInbox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticinbox...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
You need to replace variables identified by semicolons (i.e. ":domain" is just a variable name). Try:
2013-05-28 17:26:23,424 INFO [Start Level Event Dispatcher] c.e.c.c.CassandraDAOFactory [<clinit>:96] - Connecting to cassandra hosts: **********:9160
2013-05-28 17:26:23,457 INFO [Start Level Event Dispatcher] m.p.c.c.CassandraHostRetryService [<init>:48] - Downed Host Retry service started with queue size -1 and retry delay 10s
From logs it looks like it couldn't connect to C*. Strange that you get OK response. Will try to reproduce.
In the mean time, to enable debugging just change INFO to DEBUG in logback.xml: https://github.com/elasticinbox/elasticinbox/blob/master/config/logback.xml#L43
john@johns-workstation:~$ curl -XPOST "http://******:8181/rest/v2/test/tester"
{"ok":true}
john@johns-workstation:~$ curl -XDELETE "http://******:8181/rest/v2/test/tester"
[default@ElasticInbox] list Accounts;
Using default limit of 100
Using default column limit of 100
-------------------
RowKey: tester@test
1 Row Returned.
Elapsed time: 3.78 msec(s).
2013-06-03 17:27:09,620 DEBUG [Thread-24] c.e.c.c.CassandraMessageDAO [purge:415] - Purging all messages older than Mon Jun 03 17:27:09 CEST 2013 for Mailbox: {id:tester3@test}
...
2013-06-03 17:27:09,642 DEBUG [qtp1818470177-24 - /rest/v2/test/tester3] o.e.j.u.l.Slf4jLog [debug:70] - RESPONSE /rest/v2/test/tester3 204
So, new user creation - for me - works only with the delete request. I will try to put some messages to that user now.
--