I have a 64-bit CentOS 6.0 Linux computer with an Areca 1880i RAID card. The RAID card has its own ethernet port but it is right now not connected to anything. Instead of using that ethernet port for email notifications, I would like to send the email notifications from an ethernet port on the motherboard. I suppose that connecting the ethernet port on the RAID card directly to the internet is a bad idea security-wise because it runs its own firmware-based web server.
On this Areca web page:
http://www.areca.com.tw/support/s_linux/linux.htm
there is download link to the archttp software
http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip
[root@server ~]# wget --quiet http://www.areca.us/support/s_linux/http/x86_64/archttp64.zip
[root@server ~]# unzip archttp64.zip
Archive: archttp64.zip
inflating: archttp64
[root@server ~]# chmod 755 archttp64
[root@server ~]# ./archttp64 -h
Usage:
archttp32 [TCP Port#]
To Terminate the archttp: Press CTRL-C
Command for reconfiguring the archttp: kill -sHUP <archttp's pid>
[root@server ~]#
Here I notice that an empty configuration file was created when I ran ./archttp64 -h
[root@server ~]# ls -l archttpsrv.conf
-rw-r--r-- 1 root root 0 2011-08-25 15:56 archttpsrv.conf
I managed to start the web server software
[root@server ~]# ./archttp64 80
Copyright (c) 2004-2009 Areca, Inc. All Rights Reserved.
Areca HTTP proxy server, Version: V1.84, Arclib: 290, Date: Nov 2 2009
Starting HTTP Proxy Server...Please wait(MAX = 5 minutes)
Controller(s) list
-------------------------------------------------------
Controller[1](PCI) : Listen to port[80].
Cfg Assistant : Listen to port[81].
Binding IP: [0.0.0.0]
Note: IP[0.0.0.0] stands for any ip bound to this host.
-------------------------------------------------------
##############################
Press CTRL-C to exit program!!
##############################
I then accessed the web interface provided by archttp64 from my desktop computer by first creating a ssh tunnel
[user@desktop ~]$ ssh -N -L 8080:localhost:80 root@server.example.com
and then open the URL http://localhost:8080 in a Chromium web browser.
In the web interface I configured the fields for SMTP server and email addresses and chose Information notification as the event level, but no email was sent when I clicked Generate Test Event in the web interface.
How can I get the email notifications to work?