Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: RE: Liferay 7.3.5 CE GA6 Mail Server
Hi!
Liferay's new version have a mail verification to login in the portal, i think in the last version haven't this mail verification to login, so, i'm stucked in this verification because it isn't sending the verification code to the mail, returning this error below:
[liferay/mail-2][MailEngine:637] Unable to connect to a valid
mail server. Please make sure one is properly configured: Couldn't
connect to host, port: localhost, 25; timeout -1
Mail Verification Screen
I followed this tutorial to setup liferay in my laptop "https://youtu.be/2HUgcCfCuk4?t=623" and i've got stucked in 10:23, in the tutorial he have Liferay version 7.3.1 GA2 and he got a security question to login, in my 7.3.5 GA6 version i've got an email verification to login. When i was using HSQL DB instead of MySQL it was working normaly, i could login.
So, i have some questions below:
Maybe this happend because of different versions (7.3.1 GA2 and 7.3.5 GA6)?
Does i need to set up a mail server mannualy?
Maybe this happend when i changed the DB from HSQL from MySQL?
Or is it better i try to downgrade liferay's version to 7.3.1 GA2 or setup again from the beginning?
Thanks
It's a change that happened some time up to 7.3 GA6: You can find the accumulated changes of default configurations (and their old version) here: https://github.com/liferay/liferay-portal/blob/b7782f082c82a5208519c0b29ec500ceaaf423a5/portal-impl/src/portal-legacy-7.3.properties#L1
If you want to revert the old behavior, the settings from the *-legacy-*.properties show what the default was before the last change, and those changes typically need to go into your own portal-ext.properties. Documentation for the entry is here https://github.com/liferay/liferay-portal/blob/7.3.x/portal-impl/src/portal.properties#L2057
...verify=true is the new default - that's what you're "suffering" from. Rather set it to false.
I've tryed setting to false but didn't work, still requesting the mail verification.
My mouse slipped and I accidentally hit "delete" - sorry
for removing the base post for this reply.
After each change to
portal-ext.properties you'll need to restart. Also, make extra extra
extra sure that neither the key, nor the value, have any typo.
Powered by Liferay™