iredmail-cli icon indicating copy to clipboard operation
iredmail-cli copied to clipboard

Add MARIADB support to version

Open jisse44 opened this issue 7 years ago • 2 comments

What: in Debian 9 (stretch), MARIADB is not recognized as MySQL server

Error: iredmail-cli version No MYSQL version info found in release file /etc/iredmail-release

File is: cat /etc/iredmail-release 0.9.8 MARIADB edition. # Get professional support from iRedMail Team: http://www.iredmail.org/support.html

In file version.go, line 43:

re := regexp.MustCompile(^\d\.\d\.\d\s*MYSQL\s*edition)

should be:

re := regexp.MustCompile(^\d\.\d\.\d\s*(MYSQL|MARIADB)\s*edition)

jisse44 avatar Nov 08 '18 10:11 jisse44

I have this issue as-well. Could we make a new binary release to fix this?

corvy avatar Aug 21 '20 07:08 corvy

Most of the forks have fixed this.

I forked https://github.com/noxpost/iredmail-cli , updatyed to use go modules, and published pre-built binaries as version 0.3.0

https://github.com/eddiewebb/iredmail-cli/releases/tag/v0.3.0

eddiewebb avatar Dec 13 '21 19:12 eddiewebb