Configuring Sendmail for outbound messages via JBOSS 4.3.2 java application
Config info: Sendmail 8.14.4 on Solaris 10 T5120 Application Server running Jboss 4.3.2
Goal: Send email messages generated by java application from the localhost (application server) to the mail relay server for processing, also ensuring that the localhost will queue all messages if the delivery fails.
The java application's messaging service is configured by setting the parameter smtphost, which is currently set to "aces-smtp". aces-smtp has been added as an aliases for the relay server referenced in /etc/hosts, which is also has the alias mailhost assigned, example: