Topic: Get a list of vmail.alias table, and remove incorrect entries
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.6
- Linux/BSD distribution name and version: Debian
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx):Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I need to be able to list the aliases that I have defined using the following command so I can see everyone in there, and also know how to delete a given alias as I apparently fat fingered the relay target address on 3 I added and will need to remove them and readd.
insert into vmail.alias (address, goto, islist, accesspolicy, domain, active) values ('useremail@domain.com', 'emailforwardedto@otherdomain.com', 1, 'public', 'rpedocs.com', 1);
Any help would be much appreciated!
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.