smtp authentication
Posted: Sun Jun 12, 2016 1:40 pm
My SMTP server requires authentication. I found this discussion which mentions changing a line of the /usr/bin/zmfilter.pl from
to
I am somewhat surprised that ZM doesn't support this authentication functionality natively....but the above change concerns me. It would seem that putting a password into code is quite unwise. I would expect ZM email config to have a way of storing this in a hash or something mo bettah than just plain text in a perl script. This authentication is required by my ISP, which otherwise blocks SMTP, and they make me use the same PW for this SMTP access that also accesses the rest of my account with them. Am I overthinking this? Is there a simpler more secure way to make ZM do the authentication my SMTP server requires?
Code: Select all
MIME::Lite->send( "smtp", $Config{ZM_EMAIL_HOST}, Timeout=>60 );
Code: Select all
MIME::Lite->send( "smtp", ZM_EMAIL_HOST, AuthUser=>'EMAIL@ADDR.COM', AuthPass=>'XXX', Timeout=>60 )