OK, brand new to zoneminder and pretty much brand new to linux. Wanted to get that out first thing.
Ive recently did the install with ubuntu server 12.04 and zm 1.25 following this guide:
http://www.zoneminder.com/wiki/index.ph ... e_easy_way
Everything went well and I can access my camera and it is recording events. I believe I have setup the email stuff correctly, but I am sure I have missed something. Can someone point me to a step by step guide on setting up the email stuff so I can get notifications of new events? I will be using a typical smtp server from my email provider (1and1).
Other notes of possible interest:
1. I did configure nullmailer when doing the initial ubuntu install, though not 100% that I set it up correctly.
2. I've tried many different settings in the options-email part of zm, but none have worked. One time, I was able to see errors in the log about smtp authentication, but have not been able to repeat this since making changes.
3. I have tried searching for guides before posting, but haven't come across any I could follow
I appreciate any input that can be given. Hope to be able to get this thing up and running soon and be able to add a few more cameras.
the_buzz_man
email setup on new install......newbie alert
-
- Posts: 3
- Joined: Sun Nov 18, 2012 1:25 pm
Re: email setup on new install......newbie alert
Install postfix
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
-
- Posts: 3
- Joined: Sun Nov 18, 2012 1:25 pm
Re: email setup on new install......newbie alert
OK, I tried postfix...but still not getting any emails. Can you point me toward a detailed guide that shows how to make it work with zoneminder. I need to know what settings to put in postfix and what settings to put in zoneminder.
I have tried looking for some info, but could only find something that had to deal with postfix and gmail. I tried adapting those settings to my smtp server, but it still did not work correctly.
Is there a log file somewhere for postfix that could possibly point me in the right direction?
Remember, treat me like a newb.....
the_buzz_man
I have tried looking for some info, but could only find something that had to deal with postfix and gmail. I tried adapting those settings to my smtp server, but it still did not work correctly.
Is there a log file somewhere for postfix that could possibly point me in the right direction?
Remember, treat me like a newb.....
the_buzz_man
-
- Posts: 6
- Joined: Thu Nov 08, 2012 6:06 am
Re: email setup on new install......newbie alert
I could use help with this too.
Re: email setup on new install......newbie alert
Hi,
Check that after setting up postfix as internet mailer, set the parameters in the Options::Email as shown in the picture ZMmail.png. After setting this up, you have to create a filter that will enable to send emails, as shown in the picture ZMfilter.png.
In the Options::Email tab, remember to fill up the parameters:
EMAIL_ADDRESS: the destination address for the messages
FROM_EMAIL: the mail sender address
EMAIL_HOST: mine works with localhost
Hope it helps,
PacoLM
Check that after setting up postfix as internet mailer, set the parameters in the Options::Email as shown in the picture ZMmail.png. After setting this up, you have to create a filter that will enable to send emails, as shown in the picture ZMfilter.png.
In the Options::Email tab, remember to fill up the parameters:
EMAIL_ADDRESS: the destination address for the messages
FROM_EMAIL: the mail sender address
EMAIL_HOST: mine works with localhost
Hope it helps,
PacoLM
- Attachments
-
- ZMfilter.png (47.24 KiB) Viewed 3622 times
-
- ZMmail.png (81.18 KiB) Viewed 3622 times
After more than 15 years, no longer using ZM as surveillance system.
Now in the dark side, using a commercial system...
-
- Posts: 3
- Joined: Sun Nov 18, 2012 1:25 pm
Re: email setup on new install......newbie alert
I finally figured it out......seems like it was incorrect settings in the main.cf file of postfix that was keeping it from working with my email carrier (1and1)
I was able to find what the correct settings were on this site:
Do a google search for postfix 1and1 smtp, it was the second one on the list and was titled:
"Using postfix to send mail via 1and1 or other authenticated SMTP"
Sorry, new user...cant use links yet
This site shows how to setup postfix to send emails out through 1and1.
The reason I went looking for this info was because I finally found where the mail log file was and it was showing authentication errors from the smtp server.
It is located in /var/log/mail.log
Using putty, I opened a terminal window and used the following to monitor the log file to see where the problems happened:
tail -f /var/log/mail.log
Hope this helps others.
the_buzz_man
I was able to find what the correct settings were on this site:
Do a google search for postfix 1and1 smtp, it was the second one on the list and was titled:
"Using postfix to send mail via 1and1 or other authenticated SMTP"
Sorry, new user...cant use links yet
This site shows how to setup postfix to send emails out through 1and1.
The reason I went looking for this info was because I finally found where the mail log file was and it was showing authentication errors from the smtp server.
It is located in /var/log/mail.log
Using putty, I opened a terminal window and used the following to monitor the log file to see where the problems happened:
tail -f /var/log/mail.log
Hope this helps others.
the_buzz_man