Try the fastest and simplest way to install ONLYOFFICE

User activation emails invalid

Adding a first (new) user / portal activity notifications / email / chat

User activation emails invalid

Postby paravis » Sun May 31, 2015 3:18 pm

Hi there,

Beautiful piece of software, I must say.

One thing that I have noticed, and this is the same for both SMTP integration (using our internal mail server) and ONLYOFFICE mail server ...

The initial email activation link for the admin account seemed to work just fine. But for any users that are "invited", it seems that ONLYOFFICE does not parse the %40 inside the user's email address properly. It does, however, parse okay for the initial admin activation.

As stated in another post I saw somewhere, manually changing the %40 -> @ seems to work okay, but that is of course not ideal for the average user. I am mainly wondering why the link works fine for the admin activation, but not for any invited users. Should be the same thing, no?

Thank you for your efforts. I have enjoyed playing with the product, it looks very promising and I am excited to help your development.

~Laz
paravis
 
Posts: 6
Joined: Sun May 31, 2015 3:07 pm

Re: User activation emails invalid

Postby AnaMih » Mon Jun 01, 2015 12:07 pm

Unfortunately we cannot reproduce the issue. Please, click on the activation link in the activation letter. A windows with activation should appear. Could you, please, make a screenshot of this window (including address bar).
User avatar
AnaMih
 
Posts: 264
Joined: Mon Aug 25, 2014 10:15 am

Re: User activation emails invalid

Postby paravis » Mon Jun 01, 2015 1:32 pm

Ah -- so with your response, I went back to the configuration and tried a couple things to ensure I did not have a careless problem. What I found may be of interest to you. (This also applies to my other post at http://dev.onlyoffice.org/viewtopic.php?f=23&t=6158.)

With my setup, I am using Apache as a reverse proxy, since I do not have enough IP addresses to dedicate. I have manually set the DNS "custom domain name" inside ONLYOFFICE to the virtual host specified in Apache config. This does not seem to be the issue.

With the DNS custom name enabled, if I go to the IP address or actual hostname outside of Apache, or through Apache via the virtual hostname (https://10.0.1.71/ or https://office0.example.local/ or https://office.example.com/) and create the user or send the activation email, I get the attached screenshot.

Now, if I remove the DNS custom domain name option and try all of the same operations again, everything works without error as you mention.

I am not familiar with the inner-workings of the software, so I do not know how this setting is used and by what parts. But a similar issue that I am seeing is that ONLYOFFICE seems to put together some of the HTML using its internal hostname, which is not the hostname I wish to use. When accessing the site from a remote network to its global hostname (office.example.com), much of the content is returned with links to its actual hostname (office0.example.local). This is true with or without DNS custom domain name.

What are your thoughts/suggestions? Do you think this is something I am mis-configuring on my end?

FYI I am running Ubuntu 14.04.2 with 3.19 kernel.
Attachments
OO_InvalidEmail.jpg
Error received with DNS custom domain name enabled
OO_InvalidEmail.jpg (43.14 KiB) Viewed 3140 times
paravis
 
Posts: 6
Joined: Sun May 31, 2015 3:07 pm

Re: User activation emails invalid

Postby paravis » Mon Jun 01, 2015 1:38 pm

I would also like to quickly mention ...

While doing my testing and accessing the hostname directly (https://office0.example.int/), the activation email was sent out using a malformed URL with DNS custom domain name off.

For example, the link was sent as: https://office0.exampleint/. It has never done this when using any of the other designated hostnames, only its assigned actual hostname.
paravis
 
Posts: 6
Joined: Sun May 31, 2015 3:07 pm

Re: User activation emails invalid

Postby Dean » Thu Jun 04, 2015 1:32 pm

Unfortunately everything that we can recommend you is not to use Custom DNS parameters. We shall check the issue and try to detect/fix it. Sorry for the inconvenience.
Dean
 
Posts: 700
Joined: Tue Sep 30, 2014 11:04 am


Return to Notification issues

Who is online

Users browsing this forum: No registered users and 1 guest