Can someone point me to the settings I need to add to the Properties file of the server to enable SMTP Authentication to our SMTP Server?
This does not appear to be in the documentation I have found so far.
I can only find these settings, but not the Authentication settings.
rhq.server.email.smtp-host=127.0.0.1
rhq.server.email.smtp-port=25
rhq.server.email.from-address=rhqadmin@blubber.com
perhaps something like
rhq.server.email.smtp-user ?? perhaps ??
Many thanks
Ed Langton
CONFIDENTIALITY NOTICE The contents of and attachments to this e-mail are intended for the addressee only, and may contain the confidential information of Argility (Proprietary) Limited and/or its subsidiaries. Any review, use or dissemination thereof by anyone other than the intended addressee is prohibited.If you are not the intended addressee please notify the writer immediately and destroy the e-mail. Argility (Proprietary) Limited and its subsidiaries distance themselves from and accept no liability for unauthorised use of their e-mail facilities or e-mails sent other than strictly for business purposes.
Can someone point me to the settings I need to add to the Properties file of the server to enable SMTP Authentication to our SMTP Server?
This does not appear to be in the documentation I have found so far.
I can only find these settings, but not the Authentication settings.
rhq.server.email.smtp-host=127.0.0.1 rhq.server.email.smtp-port=25 rhq.server.email.from-address= rhqadmin@blubber.com
perhaps something like
rhq.server.email.smtp-user ?? perhaps ??
We don't expose the SMTP credential settings that JBossAS supports. RHQ only assumes an You didn't mention what RHQ version you are on, but if you are on the latest, you can go into the standalone-full.xml file (the JBossAS configuration file under /jbossas/standalone/configuration) you can probably set it up there (so, you would just follow the standard JBossAS 7 documentation for how to do that).
If someone wants add this setting to RHQ, we'd be happy to accept that contribution :) It would require changing the installer code to access that rhq=server.properties setting and make the necessary CLI call to the JBossAS7 to set it up. The code is in ServerInstallUtil and here's the TODO that is in the code already that points the way:
// Tweek the mail configuration that comes out of box. Setup a batch request to write the proper attributes.
// First, the from address (TODO: there is also a "ssl", "username" and "password" attribute we could set for authz) Address addr = Address.root().add(JBossASClient.SUBSYSTEM, "mail", "mail-session", "java:jboss/mail/Default"); ModelNode writeFromAddr = JBossASClient.createRequest(JBossASClient.WRITE_ATTRIBUTE, addr); writeFromAddr.get(JBossASClient.NAME).set("from"); writeFromAddr.get(JBossASClient.VALUE).setExpression(fromAddressExpr);
rhq-users@lists.stg.fedorahosted.org