Topic: Amavis Error when upgrading to 0.9.8
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.8
- Linux/BSD distribution name and version: Ubuntu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I've succesfully upgraded everything to 0.9.8 except the last part for amavist maddr.email_raw
Here's the error I got when running: \i /tmp/amavisd.pgsql
psql:/tmp/amavisd.pgsql:2: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:3: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:4: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:6: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:7: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:8: ERROR: relation "msgs" does not exist
psql:/tmp/amavisd.pgsql:11: ERROR: relation "maddr" does not exist
psql:/tmp/amavisd.pgsql:14: ERROR: relation "maddr" does not exist
psql:/tmp/amavisd.pgsql:15: ERROR: relation "maddr" does not exist
psql:/tmp/amavisd.pgsql:16: ERROR: relation "maddr" does not exist
CREATE FUNCTION
psql:/tmp/amavisd.pgsql:36: ERROR: relation "maddr" does not exist
Any idea what might cause this ?
Thanks
EDIT: I think there is an error in the doc. It says:
psql -U amavisd -d vmail
Shouldn't that be this instead ?:
psql -U amavisd -d amavisd
EDIT2: Running it on the right DB generated no error. The Top Sender and Top Receiver is still not working (see attached image).
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.