Difference between revisions of "Respond To Events By Email"

From LinuxMCE
Jump to: navigation, search
Line 28: Line 28:
  
 
see if postfix is running
 
see if postfix is running
 +
 +
 +
Shell>pstree | grep master
 +
master-pickup
 +
 +
logs go watch.
 +
/var/log/pluto/DCERouter.log
 +
/var/log/mail.log
 +
/var/log/syslog

Revision as of 18:26, 14 August 2012

This tutorial will show you how to setup LinuxMCE to respond to events by Email. Example would be emailing a notification when a security sensor is tripped.


Step 1. Configure your mail settings.

Wizard > basic info > Email setup

The questions asked here are fairly straight forward if you know the correct answers. if you are unsure i would suggest trying to configure pop/smtp account on a computer at home first with the same settings. remember your smtp server must be able to authenticate with a username and password.

use the test button to confirm your mail settings are correct.


Step 2.

Home > My Devices > Core > DCERouter > General Info Plug-in > send command to device > Send Mail

test directly in command line:


Shell>mail -v youremailhere
Subject: asdf
just add a period and enter after this line
.
EOT
Mail Delivery Status Report will be mailed to <root>.

see if postfix is running


Shell>pstree | grep master master-pickup

logs go watch. /var/log/pluto/DCERouter.log /var/log/mail.log /var/log/syslog