add ZM_AUTH_USER & ZM_AUTH_PASS for SMTP authentication

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
carteriii
Posts: 65
Joined: Sun Oct 28, 2007 3:13 pm

add ZM_AUTH_USER & ZM_AUTH_PASS for SMTP authentication

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
carteriii
Posts: 65
Joined: Sun Oct 28, 2007 3:13 pm

Post 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.
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
Post Reply