Cool Solutions

How to configure NetStorage to send email through a relay host


July 20, 2009 5:02 pm





We had a user who tried to email some files via NetStorage (File -> Mail). Apparently I had overlooked this feature before, but now that I know it’s there, it seems pretty useful.

Anyway, the user filled in the information and sent the email. Thet next day, we got a call from a security monitoring device stating that our OES2 server was trying to send email directly through our Firewall.

Come to find out that by default, NetStorage on OES2 SP1 Linux will try to send email directly, rather than through a mail proxy/forwarding/relay agent.

In our case, our GWIA (GroupWise) is located on our private LAN and it forwards to a relay host in our DMZ.

We desired to configure NetStorage to send email to the GWIA (in case the users try to send files internally), and let the GWIA decide where to send things.

To do this (since it’s not currently in the online docs), for OES2 SP1 Linux:

Edit your:


file with your favorite editor.

You will want to ADD this line:

MailHost = nameofmailserver

Save your changes.

I then restarted the following processes (not sure if this is needed, but figured it was a good way to ensure the updated file was read).


I stopped all three services, and then started them again.

Now when you try to send a file via email in NetStorage, the OES2 server will forward to your mail server.

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.