Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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="noreply@acme.com")

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.