Skip to content

Console Output

+ cd /root
+ /root/startup.sh
+ sleep 120
+ tee /root/mailserver.log
wait-for-it.sh: waiting for localhost:9999 without a timeout
16:16:51,357 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [/root/conf/logback.xml] at [file:/root/conf/logback.xml]
16:16:52,255 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
16:16:52,352 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Adding LoggerContextListener of type [ch.qos.logback.classic.jul.LevelChangePropagator] to the object stack
16:16:52,368 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@52e6fdee - Propagating DEBUG level on Logger[ROOT] onto the JUL framework
16:16:52,368 |-INFO in ch.qos.logback.classic.joran.action.LoggerContextListenerAction - Starting LoggerContextListener
16:16:52,369 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
16:16:52,454 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [CONSOLE]
16:16:52,455 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:16:52,665 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
16:16:52,666 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [LOG_FILE]
16:16:52,667 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
16:16:52,667 |-INFO in ch.qos.logback.core.FileAppender[LOG_FILE] - File property is set to [/logs/james.log]
16:16:52,755 |-ERROR in ch.qos.logback.core.FileAppender[LOG_FILE] - openFile(/logs/james.log,true) call failed. java.io.FileNotFoundException: /logs/james.log (Permission denied)
	at java.io.FileNotFoundException: /logs/james.log (Permission denied)
	at 	at java.io.FileOutputStream.open0(Native Method)
	at 	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at 	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at 	at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:26)
	at 	at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:186)
	at 	at ch.qos.logback.core.FileAppender.start(FileAppender.java:121)
	at 	at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193)
	at 	at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179)
	at 	at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:155)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:142)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:103)
	at 	at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53)
	at 	at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75)
	at 	at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150)
	at 	at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84)
	at 	at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55)
	at 	at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128)
	at 	at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107)
	at 	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295)
	at 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269)
	at 	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:281)
	at 	at org.apache.james.modules.protocols.IMAPServerModule.<clinit>(IMAPServerModule.java:53)
	at 	at org.apache.james.JPAJamesServerMain.<clinit>(JPAJamesServerMain.java:47)
16:16:52,755 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
16:16:52,755 |-INFO in ch.qos.logback.classic.jul.LevelChangePropagator@52e6fdee - Propagating INFO level on Logger[ROOT] onto the JUL framework
16:16:52,755 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [CONSOLE] to Logger[ROOT]
16:16:52,756 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [LOG_FILE] to Logger[ROOT]
16:16:52,756 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
16:16:52,757 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1a451d4d - Registering current configuration as safe fallback point

16:16:59.162 [INFO ] o.a.a.b.BrokerService - Loaded the Bouncy Castle security provider.
16:16:59.274 [INFO ] o.a.a.s.k.p.PListStoreImpl - PListStore:[/root/var/store/activemq/brokers/james/tmp_storage] started
16:16:59.278 [INFO ] o.a.a.b.BrokerService - Using Persistence Adapter: KahaDBPersistenceAdapter[/root/KahaDB]
16:16:59.674 [INFO ] o.a.a.p.StatisticsBrokerPlugin - Installing StaticsBroker
16:16:59.679 [INFO ] o.a.a.b.BrokerService - Apache ActiveMQ 5.10.2 (james, broker) is starting
16:16:59.682 [INFO ] o.a.a.p.StatisticsBroker - Starting StatisticsBroker
16:16:59.684 [INFO ] o.a.a.t.TransportServerThreadSupport - Listening for connections at: tcp://localhost:35967
16:16:59.684 [INFO ] o.a.a.b.TransportConnector - Connector tcp://localhost:35967 started
16:16:59.685 [INFO ] o.a.a.b.BrokerService - Apache ActiveMQ 5.10.2 (james, broker) started
16:16:59.685 [INFO ] o.a.a.b.BrokerService - For help or more information please see: http://activemq.apache.org
Started : true
192  Global  WARN   [main] openjpa.Runtime - Could not create the optional validation provider. Reason returned: "A default ValidatorFactory could not be created."
16:17:01.472 [INFO ] o.a.a.b.TransportConnector - Connector vm://james started
492  Global  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.2.1
514  Global  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary".
16:17:16.078 [INFO ] o.a.j.m.s.DNSServiceModule - DNS Server is: 8.8.8.8
16:17:16.078 [INFO ] o.a.j.m.s.DNSServiceModule - DNS Server is: 62.210.16.6
16:17:16.159 [INFO ] o.a.j.m.s.DNSServiceModule - Registered cache, resolver and search paths as DNSJava defaults
16:17:16.255 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - JamesMailStore init... org.apache.james.utils.InMemoryMailRepositoryStore@7c369270
15389  Global  INFO   [main] openjpa.Runtime - The Entity "org.apache.james.mailbox.jpa.mail.model.openjpa.JPAMailboxMessage" was enhanced at level "2", but the current level of enhancement is "1,300,381". 
15391  Global  INFO   [main] openjpa.Runtime - A down level Entity was detected and logged. Please enable RUNTIME trace to see all down level Entities.
16:17:19.053 [INFO ] o.a.j.d.a.DomainList - Set autodetect to: true
16:17:19.053 [INFO ] o.a.j.d.a.DomainList - Set autodetectIP to: true
16:17:19.259 [INFO ] o.a.c.i.DefaultCamelContext - Apache Camel 2.13.4 (CamelContext: camel-1) is starting
16:17:19.259 [INFO ] o.a.c.m.DefaultManagementStrategy - JMX is disabled
16:17:19.365 [INFO ] o.a.c.i.c.DefaultTypeConverter - Loaded 178 type converters
16:17:19.367 [INFO ] o.a.c.i.DefaultCamelContext - AllowUseOriginalMessage is enabled. If access to the original message is not needed, then its recommended to turn this option off as it may improve performance.
16:17:19.367 [INFO ] o.a.c.i.DefaultCamelContext - StreamCaching is not in use. If using streams then its recommended to enable stream caching. See more details at http://camel.apache.org/stream-caching.html
16:17:19.367 [INFO ] o.a.c.i.DefaultCamelContext - Total 0 routes, of which 0 is started.
16:17:19.368 [INFO ] o.a.c.i.DefaultCamelContext - Apache Camel 2.13.4 (CamelContext: camel-1) started in 0.110 seconds
16:17:19.372 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:19.380 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet PostmasterAlias instantiated.
16:17:19.381 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher RelayLimit=30 instantiated.
16:17:19.383 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet Null instantiated.
16:17:19.383 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:19.385 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToProcessor instantiated.
16:17:21.354 [INFO ] o.a.c.i.DefaultCamelContext - Route: root started and consuming from: Endpoint[direct://processor.root]
16:17:21.361 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.365 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet MetricsMailet instantiated.
16:17:21.365 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.457 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet Bounce instantiated.
16:17:21.457 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.465 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentObjectRepository Store
16:17:21.465 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentObjectRepository opened in /root/var/mail/error
16:17:21.466 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentStreamRepository Store
16:17:21.466 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentStreamRepository opened in /root/var/mail/error
16:17:21.466 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToRepository instantiated.
16:17:21.553 [INFO ] o.a.c.i.DefaultCamelContext - Route: error started and consuming from: Endpoint[direct://processor.error]
16:17:21.556 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher SMTPAuthSuccessful instantiated.
16:17:21.558 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet SetMimeHeader instantiated.
16:17:21.560 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher HasMailAttribute=org.apache.james.SMIMECheckSignature instantiated.
16:17:21.560 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet SetMimeHeader instantiated.
16:17:21.560 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.562 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet RemoveMimeHeader instantiated.
16:17:21.562 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.656 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet RecipientRewriteTable instantiated.
16:17:21.659 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher RecipientIsLocal instantiated.
16:17:21.671 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet Sieve instantiated.
16:17:21.671 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher RecipientIsLocal instantiated.
16:17:21.752 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet AddDeliveredToHeader instantiated.
16:17:21.753 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher RecipientIsLocal instantiated.
16:17:21.758 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet LocalDelivery instantiated.
16:17:21.759 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher HostIsLocal instantiated.
16:17:21.760 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToProcessor instantiated.
16:17:21.760 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher SMTPAuthSuccessful instantiated.
16:17:21.760 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToProcessor instantiated.
16:17:21.762 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher SentByMailet instantiated.
16:17:21.762 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToProcessor instantiated.
16:17:21.762 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:21.762 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToProcessor instantiated.
16:17:21.959 [INFO ] o.a.c.i.DefaultCamelContext - Route: transport started and consuming from: Endpoint[direct://processor.transport]
16:17:22.054 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.062 [WARN ] o.a.j.t.m.r.DelaysAndMaxRetry - maxRetries is larger than total number of attempts specified. Increasing last delayTime with 22 attempts 
16:17:22.062 [WARN ] o.a.j.t.m.r.DelaysAndMaxRetry - Delay of 500000 msecs is now attempted: 1 times
16:17:22.459 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet RemoteDelivery instantiated.
16:17:22.555 [INFO ] o.a.c.i.DefaultCamelContext - Route: relay started and consuming from: Endpoint[direct://processor.relay]
16:17:22.557 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.558 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet MetricsMailet instantiated.
16:17:22.558 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.558 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentObjectRepository Store
16:17:22.559 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentObjectRepository opened in /root/var/mail/spam
16:17:22.559 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentStreamRepository Store
16:17:22.559 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentStreamRepository opened in /root/var/mail/spam
16:17:22.559 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToRepository instantiated.
16:17:22.563 [INFO ] o.a.c.i.DefaultCamelContext - Route: spam started and consuming from: Endpoint[direct://processor.spam]
16:17:22.652 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.653 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet MetricsMailet instantiated.
16:17:22.653 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.653 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet Bounce instantiated.
16:17:22.654 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.654 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentObjectRepository Store
16:17:22.655 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentObjectRepository opened in /root/var/mail/address-error
16:17:22.655 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentStreamRepository Store
16:17:22.655 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentStreamRepository opened in /root/var/mail/address-error
16:17:22.655 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToRepository instantiated.
16:17:22.752 [INFO ] o.a.c.i.DefaultCamelContext - Route: local-address-error started and consuming from: Endpoint[direct://processor.local-address-error]
16:17:22.753 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.754 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet MetricsMailet instantiated.
16:17:22.754 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.755 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet Bounce instantiated.
16:17:22.755 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.755 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentObjectRepository Store
16:17:22.756 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentObjectRepository opened in /root/var/mail/relay-denied
16:17:22.756 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - Init org.apache.james.repository.file.FilePersistentStreamRepository Store
16:17:22.756 [INFO ] o.a.j.u.InMemoryMailRepositoryStore - org.apache.james.repository.file.FilePersistentStreamRepository opened in /root/var/mail/relay-denied
16:17:22.756 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet ToRepository instantiated.
16:17:22.855 [INFO ] o.a.c.i.DefaultCamelContext - Route: relay-denied started and consuming from: Endpoint[direct://processor.relay-denied]
16:17:22.858 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.858 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet MetricsMailet instantiated.
16:17:22.858 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Matcher All instantiated.
16:17:22.966 [INFO ] o.a.j.m.i.c.CamelCompositeProcessor - Mailet DSNBounce instantiated.
16:17:23.056 [INFO ] o.a.c.i.DefaultCamelContext - Route: bounces started and consuming from: Endpoint[direct://processor.bounces]
16:17:23.157 [INFO ] o.a.j.m.i.JamesMailSpooler - org.apache.james.mailetcontainer.impl.JamesMailSpooler init...
16:17:23.157 [INFO ] o.a.j.m.i.JamesMailSpooler - org.apache.james.mailetcontainer.impl.JamesMailSpooler uses 20 Thread(s)
16:17:23.160 [INFO ] o.a.j.m.i.JamesMailSpooler - Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-1
16:17:23.160 [INFO ] o.a.j.m.i.JamesMailSpooler - Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-2
16:17:23.160 [INFO ] o.a.j.m.i.JamesMailSpooler - Queue=MailQueue:spool
16:17:23.160 [INFO ] o.a.j.m.i.JamesMailSpooler - Queue=MailQueue:spool
16:17:23.260 [WARN ] o.a.j.m.i.JamesMailetContext - The specified postmaster address ( postmaster@james.minet.net ) is not a local address.  This is not necessarily a problem, but it does mean that emails addressed to the postmaster will be routed to another server.  For some configurations this may cause problems.
16:17:23.358 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service bound to: 0.0.0.0:1143
16:17:23.359 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service is running on: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:23.359 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service handler hello name is: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:23.359 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service handler connection timeout is: 300
16:17:23.359 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service connection backlog is: 200
16:17:23.363 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service bound to: 0.0.0.0:1993
16:17:23.363 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service is running on: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:23.363 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service handler hello name is: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:23.363 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service handler connection timeout is: 300
16:17:23.363 [INFO ] o.a.j.m.p.IMAPServerModule - IMAP Service connection backlog is: 200
16:17:24.758 [INFO ] o.a.j.m.p.IMAPServerModule - Init IMAP Service done
16:17:24.860 [INFO ] o.a.j.m.p.IMAPServerModule - Init IMAP Service done
16:17:24.864 [INFO ] o.a.j.m.p.POP3ServerModule - POP3 Service disabled by configuration
16:17:24.867 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service bound to: 0.0.0.0:1025
16:17:24.867 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service is running on: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler hello name is: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler connection timeout is: 360
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service connection backlog is: 200
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - This SMTP server does not require authentication.
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - No maximum message size is enforced for this server.
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service bound to: 0.0.0.0:1465
16:17:24.952 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service is running on: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler hello name is: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler connection timeout is: 360
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service connection backlog is: 200
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - This SMTP server requires authentication.
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - No maximum message size is enforced for this server.
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service bound to: 0.0.0.0:1587
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service is running on: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler hello name is: jakartaee-tck-pod-8145c7de-2b46-41c0-bd82-c7a7618d6edd-f6-pxwnt
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service handler connection timeout is: 360
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - SMTP Service connection backlog is: 200
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - This SMTP server requires authentication.
16:17:24.953 [INFO ] o.a.j.m.p.SMTPServerModule - No maximum message size is enforced for this server.
16:17:25.459 [INFO ] o.a.j.m.p.SMTPServerModule - Init SMTP Service done
16:17:25.559 [INFO ] o.a.j.m.p.SMTPServerModule - Init SMTP Service done
16:17:25.660 [INFO ] o.a.j.m.p.SMTPServerModule - Init SMTP Service done
16:17:25.663 [INFO ] o.a.j.m.p.LMTPServerModule - LMTP Service disabled by configuration
16:17:25.669 [INFO ] o.a.j.m.p.ManageSieveServerModule - Manage Sieve Service disabled by configuration
16:17:25.675 [INFO ] o.a.j.w.WebAdminServer - Web admin set up to enable CORS from *
16:17:25.764 [INFO ] o.e.j.util.log - Logging initialized @37193ms
16:17:25.954 [INFO ] s.e.j.EmbeddedJettyServer - == Spark has ignited ...
16:17:25.955 [INFO ] s.e.j.EmbeddedJettyServer - >> Listening on 0.0.0.0:8000
16:17:25.957 [INFO ] o.e.j.s.Server - jetty-9.3.5.v20151012
16:17:25.993 [INFO ] o.e.j.s.ServerConnector - Started ServerConnector@60e34fb2{HTTP/1.1,[http/1.1]}{0.0.0.0:8000}
16:17:25.994 [INFO ] o.e.j.s.Server - Started @37423ms
16:17:25.994 [INFO ] o.a.j.w.WebAdminServer - Web admin server started
wait-for-it.sh: localhost:9999 is available after 38 seconds
Error connecting to remote JMX agent : Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: jmxrmi
usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
            
 -h,--host <arg>   node hostname or ip address
 -p,--port <arg>   remote jmx agent port number
AddUser <username> <password>
RemoveUser <username>
ListUsers
AddDomain <domainName>
RemoveDomain <domainName>
ContainsDomain <domainName>
ListDomains
ListMappings
ListUserDomainMappings <user> <domain>
AddAddressMapping <user> <domain> <fromAddress>
RemoveAddressMapping <user> <domain> <fromAddress>
AddRegexMapping <user> <domain> <regex>
RemoveRegexMapping <user> <domain> <regex>
SetPassword <username> <password>
CopyMailbox <srcBean> <dstBean>
DeleteUserMailboxes <user>
CreateMailbox <namespace> <user> <name>
ListUserMailboxes <user>
DeleteMailbox <namespace> <user> <name>
GetStorageQuota <quotaroot>
GetMessageCountQuota <quotaroot>
GetQuotaroot <namespace> <user> <name>
GetMaxStorageQuota <quotaroot>
GetMaxMessageCountQuota <quotaroot>
SetMaxStorageQuota <quotaroot> <maxMessageCount>
SetMaxMessageCountQuota <quotaroot> <maxStorage>
SetDefaultMaxStorageQuota <maxStorage>
SetDefaultMaxMessageCountQuota <maxMessageCount>
GetDefaultMaxStorageQuota
GetDefaultMaxMessageCountQuota
ReindexMailbox <namespace> <user> <name>
ReindexAll
GetSieveQuota
SetSieveQuota <quota>
RemoveSieveQuota
GetSieveUserQuota <username>
SetSieveUserQuota <username> <quota>
RemoveSieveUserQuota <username>
[main] ERROR org.apache.james.cli.ServerCmd - Error on command: {}
java.lang.Exception: Domain does not exist in DomainList
	at org.apache.james.user.lib.UsersRepositoryManagement.addUser(UsersRepositoryManagement.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at javax.management.StandardMBean.invoke(StandardMBean.java:405)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Error class java.lang.Exception while executing command:Domain does not exist in DomainList
usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
            
 -h,--host <arg>   node hostname or ip address
 -p,--port <arg>   remote jmx agent port number
AddUser <username> <password>
RemoveUser <username>
ListUsers
AddDomain <domainName>
RemoveDomain <domainName>
ContainsDomain <domainName>
ListDomains
ListMappings
ListUserDomainMappings <user> <domain>
AddAddressMapping <user> <domain> <fromAddress>
RemoveAddressMapping <user> <domain> <fromAddress>
AddRegexMapping <user> <domain> <regex>
RemoveRegexMapping <user> <domain> <regex>
SetPassword <username> <password>
CopyMailbox <srcBean> <dstBean>
DeleteUserMailboxes <user>
CreateMailbox <namespace> <user> <name>
ListUserMailboxes <user>
DeleteMailbox <namespace> <user> <name>
GetStorageQuota <quotaroot>
GetMessageCountQuota <quotaroot>
GetQuotaroot <namespace> <user> <name>
GetMaxStorageQuota <quotaroot>
GetMaxMessageCountQuota <quotaroot>
SetMaxStorageQuota <quotaroot> <maxMessageCount>
SetMaxMessageCountQuota <quotaroot> <maxStorage>
SetDefaultMaxStorageQuota <maxStorage>
SetDefaultMaxMessageCountQuota <maxMessageCount>
GetDefaultMaxStorageQuota
GetDefaultMaxMessageCountQuota
ReindexMailbox <namespace> <user> <name>
ReindexAll
GetSieveQuota
SetSieveQuota <quota>
RemoveSieveQuota
GetSieveUserQuota <username>
SetSieveUserQuota <username> <quota>
RemoveSieveUserQuota <username>
[main] ERROR org.apache.james.cli.ServerCmd - Error on command: {}
java.lang.Exception: Domain does not exist in DomainList
	at org.apache.james.user.lib.UsersRepositoryManagement.addUser(UsersRepositoryManagement.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at javax.management.StandardMBean.invoke(StandardMBean.java:405)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Error class java.lang.Exception while executing command:Domain does not exist in DomainList
usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
            
 -h,--host <arg>   node hostname or ip address
 -p,--port <arg>   remote jmx agent port number
AddUser <username> <password>
RemoveUser <username>
ListUsers
AddDomain <domainName>
RemoveDomain <domainName>
ContainsDomain <domainName>
ListDomains
ListMappings
ListUserDomainMappings <user> <domain>
AddAddressMapping <user> <domain> <fromAddress>
RemoveAddressMapping <user> <domain> <fromAddress>
AddRegexMapping <user> <domain> <regex>
RemoveRegexMapping <user> <domain> <regex>
SetPassword <username> <password>
CopyMailbox <srcBean> <dstBean>
DeleteUserMailboxes <user>
CreateMailbox <namespace> <user> <name>
ListUserMailboxes <user>
DeleteMailbox <namespace> <user> <name>
GetStorageQuota <quotaroot>
GetMessageCountQuota <quotaroot>
GetQuotaroot <namespace> <user> <name>
GetMaxStorageQuota <quotaroot>
GetMaxMessageCountQuota <quotaroot>
SetMaxStorageQuota <quotaroot> <maxMessageCount>
SetMaxMessageCountQuota <quotaroot> <maxStorage>
SetDefaultMaxStorageQuota <maxStorage>
SetDefaultMaxMessageCountQuota <maxMessageCount>
GetDefaultMaxStorageQuota
GetDefaultMaxMessageCountQuota
ReindexMailbox <namespace> <user> <name>
ReindexAll
GetSieveQuota
SetSieveQuota <quota>
RemoveSieveQuota
GetSieveUserQuota <username>
SetSieveUserQuota <username> <quota>
RemoveSieveUserQuota <username>
[main] ERROR org.apache.james.cli.ServerCmd - Error on command: {}
java.lang.Exception: Domain does not exist in DomainList
	at org.apache.james.user.lib.UsersRepositoryManagement.addUser(UsersRepositoryManagement.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at javax.management.StandardMBean.invoke(StandardMBean.java:405)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:324)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Error class java.lang.Exception while executing command:Domain does not exist in DomainList
usage: java org.apache.james.cli.ServerCmd --host <arg> <command>
            
 -h,--host <arg>   node hostname or ip address
 -p,--port <arg>   remote jmx agent port number
AddUser <username> <password>
RemoveUser <username>
ListUsers
AddDomain <domainName>
RemoveDomain <domainName>
ContainsDomain <domainName>
ListDomains
ListMappings
ListUserDomainMappings <user> <domain>
AddAddressMapping <user> <domain> <fromAddress>
RemoveAddressMapping <user> <domain> <fromAddress>
AddRegexMapping <user> <domain> <regex>
RemoveRegexMapping <user> <domain> <regex>
SetPassword <username> <password>
CopyMailbox <srcBean> <dstBean>
DeleteUserMailboxes <user>
CreateMailbox <namespace> <user> <name>
ListUserMailboxes <user>
DeleteMailbox <namespace> <user> <name>
GetStorageQuota <quotaroot>
GetMessageCountQuota <quotaroot>
GetQuotaroot <namespace> <user> <name>
GetMaxStorageQuota <quotaroot>
GetMaxMessageCountQuota <quotaroot>
SetMaxStorageQuota <quotaroot> <maxMessageCount>
SetMaxMessageCountQuota <quotaroot> <maxStorage>
SetDefaultMaxStorageQuota <maxStorage>
SetDefaultMaxMessageCountQuota <maxMessageCount>
GetDefaultMaxStorageQuota
GetDefaultMaxMessageCountQuota
ReindexMailbox <namespace> <user> <name>
ReindexAll
GetSieveQuota
SetSieveQuota <quota>
RemoveSieveQuota
GetSieveUserQuota <username>
SetSieveUserQuota <username> <quota>
RemoveSieveUserQuota <username>
+ bash -x /root/create_users.sh
+ tee /root/create_users.log
+ DOMAIN_COUNT=0
+ USER_COUNT=0
++ java -jar /root/james-cli.jar -h localhost -p 9999 listdomains
++ grep james.local
++ wc -l
16:18:49.862 [INFO ] o.a.j.d.a.DomainList - Local host is: 10.40.40.212
+ DOMAIN_COUNT=0
++ java -jar /root/james-cli.jar -h localhost -p 9999 listusers
++ grep user01
++ wc -l
+ USER_COUNT=0
+ '[' 0 -lt 1 ']'
+ echo 'Domain james.local does not exist. Creating now...'
Domain james.local does not exist. Creating now...
+ java -jar /root/james-cli.jar -h localhost -p 9999 adddomain james.local
AddDomain command executed sucessfully in 1117 ms.
+ echo 'Domain james.local created successfully'
Domain james.local created successfully
+ '[' 0 -lt 1 ']'
+ echo 'User user01 does not exist. Creating now...'
User user01 does not exist. Creating now...
+ java -jar /root/james-cli.jar -h localhost -p 9999 adduser user01@james.local 1234
AddUser command executed sucessfully in 1024 ms.
+ echo 'User user01 created successfully.'
User user01 created successfully.
+ echo Mail server setup complete
Mail server setup complete