Forum Moderators: bakedjake
I was thinking of being able to switch it off and on via email: using procmail to detect a subject word and then start / stop the service.
e.g.
mail: server@widgets.com
subject: wbmon
Procmail would detect wbmon in the subject and then issue a /etc/init.d/webmin start
mail: server@widgets.com
subject: wbmoff
Procmail would detect wbmoff in the subject and then issue a /etc/init.d/webmin stop
I can detect the keyword in the subject but how do I initiate the webmin start and stop process?