Topic: MySQL: vmail.forwardings, "address" and forwarding" are the same?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.8 (latest)
- Linux/BSD distribution name and version: Ubuntu 16.04 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Nginx
- Manage mail accounts with iRedAdmin-Pro? Yes, latest version 2.9.0
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hello Zhang!
Today I discovered a strange behaviour of our iRedMail server.
When adding a "Forwarding" in iRedMail-Pro MySQL, after clicking save the list is empty.
It looks like the value is never saved.
On the other hand I do have records in MySQL vmail.forwarding table where the value of "address" and "forwarding" are the same.
This looks very strange to me.
First things first: Where can I find the error logs of iRedAdmin-Pro? In uwscgi or nginx log directlory I cannot find error messages of any kind. Only the request from the browser where I try to save.
When I manually modify the affected record in the MySQL table, then iRedMail Pro does show the forwarding correctly in the list.
I'm a bit concerned because I found 88 results for following SQL:
SELECT * FROM vmail.forwardings where address=forwarding;
The table has around 348 entries.
Please share your thoughts. If it helps I'll be happy to spend a coffee or two
Cheers,
Bernhard
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.