Difference between revisions of "ZMLarch and email"

From ZoneMinder Wiki
Jump to navigationJump to search
Line 1: Line 1:
'''Note: '''ZMLarch_1.24.1.iso is missing the perl-mime-tools package required for zoneminder to send emails. It can be installed with the command "pacman -Sy perl-mime-tools"
Configuring zoneminder on ZMLarch to send email and/or sms alerts is basically the same as on any other zoneminder installation, with the following exception.
Configuring zoneminder on ZMLarch to send email and/or sms alerts is basically the same as on any other zoneminder installation, with the following exception.


Line 5: Line 7:


To configure and test "email" you must edit /etc/email/email.conf. See 'man email' for details. After entering the required values in email.conf you can test it from a commandline terminal.  
To configure and test "email" you must edit /etc/email/email.conf. See 'man email' for details. After entering the required values in email.conf you can test it from a commandline terminal.  
There is a video demonstration of testing this function here: http://www.isentrix.com/pub/zoneminder/misc/email_event.avi


Zoneminder will use the values in EMAIL_HOST, ZM_FROM_EMAIL and ZM_EMAIL_ADDRESS from the configuration database. The values for SMTP_AUTH, SMTP_AUTH_USER, and  SMTP_AUTH_PASS are pulled from /etc/email/email.conf
Zoneminder will use the values in EMAIL_HOST, ZM_FROM_EMAIL and ZM_EMAIL_ADDRESS from the configuration database. The values for SMTP_AUTH, SMTP_AUTH_USER, and  SMTP_AUTH_PASS are pulled from /etc/email/email.conf

Revision as of 17:59, 27 February 2009

Note: ZMLarch_1.24.1.iso is missing the perl-mime-tools package required for zoneminder to send emails. It can be installed with the command "pacman -Sy perl-mime-tools"

Configuring zoneminder on ZMLarch to send email and/or sms alerts is basically the same as on any other zoneminder installation, with the following exception.

If NEW_MAIL_MODULES is not selected in the Options tab, zoneminder uses the commandline utility "email" rather than the MIME::Entity perl module. This enables zoneminder to work with an SMTP host that requires authentication and encryption such as smtp.gmail.com.

To configure and test "email" you must edit /etc/email/email.conf. See 'man email' for details. After entering the required values in email.conf you can test it from a commandline terminal.

There is a video demonstration of testing this function here: http://www.isentrix.com/pub/zoneminder/misc/email_event.avi

Zoneminder will use the values in EMAIL_HOST, ZM_FROM_EMAIL and ZM_EMAIL_ADDRESS from the configuration database. The values for SMTP_AUTH, SMTP_AUTH_USER, and SMTP_AUTH_PASS are pulled from /etc/email/email.conf

If NEW_MAIL_MODULES is selected the standard zoneminder functions are used.

No MTA is installed on ZMLarch. Postfix is easy to install if you have a need to run a mail server on your zoneminder installation. If you do this and can manage the configuration proccess then you can use zoneminder with it by setting EMAIL_HOST to the default 'localhost'.