- This topic is empty.
July 8, 2009 at 2:27 pm #41773
I did some changes in failoverd script, to enable the failover monitor to send mails in case there’s a change in the state of a line.
Basically what I did was to use an opensource program called smtp-client.pl writen in perl that permits you to send mail directly.
In order for this to work, we need to replace failoverd with the modified version and place smtp-client.pl on /root/kerbynet.cgi/scripts/ (this is done on boot time via the rc.pre script)
After that, if we have in our profile a file called kerbynet-local.conf (_DB.001/etc/kerbynet-local.conf)
With the content:
I’ve tested and it works really fine, and the modifications are done on a way that it doesn’t disturb if you don’t have the smpt-client available.
Simplified instruccions to install in the repository
You can find the modifications on http://bitbucket.org/aseques/zeroshell-documentationJuly 8, 2009 at 9:28 pm #48384imported_fulvioParticipant
Very nice solution.
Thanks a lot
FulvioJuly 9, 2009 at 8:04 am #48385
I’d be glad if you could integrate this at the next release, no problem with the licenses, since the changes are on the scripts, it’d be already GPL
An the smtp-client is also GPL2.March 16, 2010 at 8:18 pm #48386securenetMember
Are there written step-by-step instructions for installing and configuring SMTP on Zeroshell as described in this Post? If not, can some instructions be created and posted?
I am also not finding the opensource program smtp-client.pl.June 14, 2010 at 1:56 pm #48387
Have a look here, you’ll find both:
http://bitbucket.org/aseques/zeroshell-documentation/srcJuly 20, 2010 at 10:55 am #48388
I just updated a little bit the documentation, these are the changes:
.- Updated the script to copy the patches
.- Updated the version of smtp-client to the current version
.- Verified that everything still works with beta13January 20, 2012 at 8:15 am #48389ponsudhakarMember
Am using ZS as USB bootable. as a dedicated firewall. How to include the smtp-client.pl and where to install and configure the same. I did as instructed on aseques bitbucket. but no luck.
Please help me in this regards
VPSMarch 13, 2013 at 11:53 am #48390
Just updated the script and patches for the current failoverd (zs RC2), enjoy 🙂
- You must be logged in to reply to this topic.