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

Working with some older WAS 6.1 hosts (fix pack 25), and have a java app that sends mail from one host with a mail from field: []

In another environment, it's sending mail with the from field: This is the only application that is installed within this WAS profile.

On the WAS 6.1 admin console, I've examined:

Resources | Mail | Mail sessions | Mail from & Mail store host (both Mail from and Mail store host are blank)

In order for mails to be sent from: should Mail from=acme and Mail store

In what config files do these values get defined in the WAS 6.1 directory/config file structure? Could I edit the configuration files, then restart WAS 6.1 via command line?

I would expect these mail header fields could/should be defined in the java application as well? Is there a properties file where java apps typically configure mail from and host values? I may need to try grepping through some .properties files within the application ear directory.

The version of grep on the older system (SunOS 5.8) doesn't seem to recurse, so I've been trying to combine grep and find with backticks (may be doing this wrong) to find a potential config file in WAS_HOME:

grep "wasuser" `find . -name "*" -print -exec file {} \;`

No luck yet via IBM documentation Thanks for suggestions in advance..

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.