1

Topic: unable to login iredadmin but i can login to mailbox using postmaster

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD 14.3-STABLE
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi zhb, long time no see brother. how are you today? remember me, andy. we use to chat using blackberry long time ago.

is there something wrong here? i see no tables at ADMIN inside VMAIL.. is that normal?

by the way in my monitor screen ( i use FanlessPC to installed at local intranet)

" [WARN] the "listen ..... http2" directive is deprecated. use the http2 directive instead in /usr/local/etc/nginx/sites-enableb/00-default-ssl.conf:6

thanks ZHB.. cheers..

Andy "m1m1n" from Indonesia

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: unable to login iredadmin but i can login to mailbox using postmaster

Hi Andy. smile

4ndym1m1n wrote:

is there something wrong here? i see no tables at ADMIN inside VMAIL.. is that normal?

It's correct. The postmaster account created during iRedMail installation is a mail user with global admin privileges, it's stored in `vmail.mailbox` table.

4ndym1m1n wrote:

" [WARN] the "listen ..... http2" directive is deprecated. use the http2 directive instead in /usr/local/etc/nginx/sites-enableb/00-default-ssl.conf:6

Remove `http2` from the `listen ...` directive, then add one line in /usr/local/etc/nginx/nginx.conf, inside `http {}` block:

http2 on;

3 (edited by 4ndym1m1n 2025-07-10 23:09:09)

Re: unable to login iredadmin but i can login to mailbox using postmaster

ZhangHuangbin wrote:

Hi Andy. smile

4ndym1m1n wrote:

is there something wrong here? i see no tables at ADMIN inside VMAIL.. is that normal?

It's correct. The postmaster account created during iRedMail installation is a mail user with global admin privileges, it's stored in `vmail.mailbox` table.

4ndym1m1n wrote:

" [WARN] the "listen ..... http2" directive is deprecated. use the http2 directive instead in /usr/local/etc/nginx/sites-enableb/00-default-ssl.conf:6

Remove `http2` from the `listen ...` directive, then add one line in /usr/local/etc/nginx/nginx.conf, inside `http {}` block:

http2 on;

done. it's still the same. i can't login...

4

Re: unable to login iredadmin but i can login to mailbox using postmaster

Any suggest?

5

Re: unable to login iredadmin but i can login to mailbox using postmaster

Hello, I have the same problem here, I made a fresh install on two freebsd 14.3 servers and I have the same errors, I can't to logon in iredadmin console, show me INVALID CREDENTIALS in both servers.

6

Re: unable to login iredadmin but i can login to mailbox using postmaster

I solved the problem, using this method to connect in iRedAdmin
- Open iRedMail folder tools, /iRedMail-1.7.4/tools;
- Execute the script to create a new user: bash create_mail_user_SQL.sh 'newuser@domain' 'password';
- Open mysql/mariadb database, select vmail database, past the script result to create the user;
- Give admin permission to new user using:
UPDATE mailbox SET isadmin=1, isglobaladmin=1 WHERE username='newuser@domain.com';
INSERT INTO domain_admins (username, domain) VALUES ('newuser@domain.com', 'ALL');
- Open iRedAdmin Console using new user;
- Change password from postmaster.

Problem solved.



4ndym1m1n wrote:

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.7.4
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: FreeBSD 14.3-STABLE
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): NGINX
- Manage mail accounts with iRedAdmin-Pro? NO
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

hi zhb, long time no see brother. how are you today? remember me, andy. we use to chat using blackberry long time ago.

is there something wrong here? i see no tables at ADMIN inside VMAIL.. is that normal?

by the way in my monitor screen ( i use FanlessPC to installed at local intranet)

" [WARN] the "listen ..... http2" directive is deprecated. use the http2 directive instead in /usr/local/etc/nginx/sites-enableb/00-default-ssl.conf:6

thanks ZHB.. cheers..

Andy "m1m1n" from Indonesia