Page 1 of 1

smtp authentication

Posted: Sun Jun 12, 2016 1:40 pm
by alabamatoy
My SMTP server requires authentication. I found this discussion which mentions changing a line of the /usr/bin/zmfilter.pl from

Code: Select all

MIME::Lite->send( "smtp", $Config{ZM_EMAIL_HOST}, Timeout=>60 );
to

Code: Select all

MIME::Lite->send( "smtp", ZM_EMAIL_HOST, AuthUser=>'EMAIL@ADDR.COM', AuthPass=>'XXX', Timeout=>60 )
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?

Re: smtp authentication

Posted: Sun Jun 12, 2016 9:00 pm
by bbunge
if you use nullmailer you can set up authentication. Google is you friend to learn how to do this...