• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

MSMTP Issue

MorrisC

Basic Pleskian
Since my mail server does not support TLS, therefore, I unchecked use secured encrypted connection.
When I tried to use forget password for a customer's password, I encountered a problem as below:

Dec 30 14:29:00 linuxpanel msmtp: host=xxx.xxxx.xxx.xxx. tls=off auth=on user=xxx@xxxx.com from=psaadm@xxxxxx.com recipients=xxxxx@outlook.com errormsg='cannot use a secure authentication method' exitcode=EX_UNAVAILABLE

*Since I am not using TLS nor SSL, therefore, that error message shall be related to the authentication method.


I then found the configuration file of msmtp location

/etc/msmtprc

change

"auth on"

to

"auth login"

and then it works.


However,

#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.

# MSMTP configuration file. See msmtp(1) for syntax.
# This file was generated by msmtpmng utility.
 
Last edited:
just to prevent future update or setting overwritten....i then modify
/usr/local/psa/admin/sbin/msmtpmng

change line 1257

LINE 1256 cat <<-EOT
LINE 1257 auth on
LINE 1258 user $opt_auth_user
LINE 1259 EOT

to

LINE 1256 cat <<-EOT
LINE 1257 auth login
LINE 1258 user $opt_auth_user
LINE 1259 EOT

hopefully future update will not change this....

so now my plesk can send out emails to customers when i create their account, or they can use forgot password.....yipee!
 
Last edited:
Further reading at

http://msmtp.sourceforge.net/doc/msmtp.html

The following user / password methods are supported:

  • ‘PLAIN’
    Another simple plain text method (with base64 encoding) support by almost all servers.
  • ‘SCRAM-SHA-1’
    A method that avoids clear-text passwords.
  • ‘CRAM-MD5’
    An obsolete method that avoids clear-text passwords.
  • ‘DIGEST-MD5’
    An overcomplicated obsolete method that avoids clear-text passwords, but is not considered secure anymore.
  • ‘LOGIN’
    A non-standard clear-text method similar to (but worse than) PLAIN.
  • ‘NTLM’
    An obscure non-standard method that is now considered broken. It sometimes requires a special domain parameter passed via ntlmdomain. Do not use it.
make sure you use lower case value....you can choose either authentication method your external mail server support...but "on" does not seem to work with my mail server at all.

*on is automatically select the method
 
Back
Top