Difference between revisions of "ZMLarch and email"

From ZoneMinder Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
This page is a stub.
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.
 
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'.

Revision as of 01:09, 27 February 2009

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.

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'.