Page 1 of 1

add ZM_AUTH_USER & ZM_AUTH_PASS for SMTP authentication

Posted: Thu Nov 22, 2007 2:25 pm
by carteriii
I just posted a description of how I added SMTP authentication to zmfilter.pl: http://www.zoneminder.com/forums/viewtopic.php?t=5492

I asked a few questions about security concerns, but otherwise I think I found the simplest way to enable SMTP authentication for the average dummy user like me. It only takes a few lines in zmfilter.pl, but would require adding two new fields to the Email options to store the username & password for authentication.

Posted: Thu Dec 06, 2007 5:50 pm
by zoneminder
I will look at adding this. I don't seem to have any Auth* options with my version of MIME::Lite however. It is the one that comes with Fedora 7 so should be relatively up to date.

Posted: Thu Dec 06, 2007 6:08 pm
by carteriii
I did mention that I had a problem with the version as well, and even Ubuntu 7.10 wouldn't install the latest. For me, it just felt like someone needed to update the version that apt-get retrieves and I would have been fine. I don't remember the exact version, but following the link I provided to the other thread has that detail.

Posted: Thu Dec 06, 2007 8:20 pm
by zoneminder
I am slightly worried that adding it unconditionally might break installs for people who do not have the later version so I will need to do a bit of thinking about this. Thanks for the suggestion anyway.