Cool Solutions

How to configure NetStorage to send email through a relay host



By:

July 20, 2009 5:02 pm

Reads: 4158

Comments:0

Score:0

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:

/opt/novell/netstorage/webapps/WEB-INF/classes/Settings.properties

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).

/etc/init.d/novell-tomcat5 
/etc/init.d/apache2
/etc/init.d/novell-xsrvd

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.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: This content is not supported by Novell. 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.

Comment

RSS