Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to create smtp Mail connector via jboss-cli command line. So far I've managed to create <mail-session> node in configuration xml:

/subsystem=mail/mail-session="java:/mail/myMail":add(jndi-name="java:/mail/myMail", from="")

Default standalone.xml shows that <smtp-server> child node should be created beneath <mail-session> node, but I have no idea how to do it, JBoss Admin guide has no clues on the subject. If anyone can help with this I would really appreciate it.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.