Email Level Plugin

Let me check this.
Seems I found the issue, new tar.gz file has email_level folder inside the tar so it doesn't find the path. (Installing it will fail as well):

# cd email_level/
# ls
available_version.txt email_level plugin.conf plugin.tar.gz
 
Hello, i just installed this plugin version 2.0.2. Afters installing, i do get login screen but not able to login. Just get "Please enter valid password"
On debian 10, php 7.3, all software up to date.

https://server.domain.com:2222/CMD_CHANGE_EMAIL_PASSWORD this works

Thanks
Some of the original DA code is filtering characters from the password input based on a regex expression. I wonder if your password has a character that is excluded in the regex expression?

I've never tested on Debian, but wouldn't expect it to stop working in any other case.
 
I have just tried this plugin and found that at the login page it always return

"You have entered and invalid email or password"​

I tried creating new email and try logging in with that new one without success. (Tried both full email address and only inbox name without @domain. Nothing works!)

In Web Error Log, there are only PHP Notice like these;

Code:
PHP Notice:  Undefined index: user in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 145
PHP Notice:  Undefined index: pass in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 145
PHP Notice:  Undefined index: query in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 148
PHP Notice:  Undefined index: error in /home/username/domains/my-domain/public_html/email/login.php on line 92
PHP Notice:  Undefined index: text in /home/username/domains/my-domain/public_html/email/login.php on line 94', referer: https://my-domain/email/index.php

==========

What should I do to fix this problem?
 
I have just tried this plugin and found that at the login page it always return

"You have entered and invalid email or password"​

I tried creating new email and try logging in with that new one without success. (Tried both full email address and only inbox name without @domain. Nothing works!)

In Web Error Log, there are only PHP Notice like these;

Code:
PHP Notice:  Undefined index: user in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 145
PHP Notice:  Undefined index: pass in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 145
PHP Notice:  Undefined index: query in /home/username/domains/my-domain/public_html/email/include/httpsocket.php on line 148
PHP Notice:  Undefined index: error in /home/username/domains/my-domain/public_html/email/login.php on line 92
PHP Notice:  Undefined index: text in /home/username/domains/my-domain/public_html/email/login.php on line 94', referer: https://my-domain/email/index.php

==========

What should I do to fix this problem?
What version of DA and PHP are you running?
 
I am also seeing the same using DA 1.641, Simplificare Email Level 2.0.2 on Centos 7 with CloudLinux. PHP 5.6.40 (need it for legacy reason on this one server)

If I use a password with any non-alphanumeric chars in it then I cannot login. If I use a simple alphanumeric password then it works fine.

RoundCube login works for both.
 
What version of DA and PHP are you running?
My DA has just been updated to 1.641 on Jun 9 (3 weeks ago).
I have just updated main PHP from 5.6.x to 7.4.x a few weeks ago (after my comment above).

All mail addresses and password is simple alphanumeric characters.

The result is exactly the same as I said above.

Thanks.
 
Sorry guys, I don't have time to work on the plugin at the moment. Feel free to fork the repository or edit the code yourself to troubleshoot/resolve your issues.
 
Hello,

Here you can find a quickly patched version of the plugin https://github.com/poralix/email_level which is made to work under PHP 8.x. No other issues are addressed. Original design and so on.

To install the plugin run the following commands:

Bash:
cd /usr/local/directadmin/plugins
git clone https://github.com/poralix/email_level.git
cd email_level
./scripts/install.sh

The installation script will overwrite data/include/config.php with a servername and port taken from Directadmin.
 
Back
Top