1

Topic: Command line add alias with new table structure

==== Required information ====
- iRedMail version (check /etc/iredmail-release): iRedMail-0.9.7
- Linux/BSD distribution name and version: CentOS7
- 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.
====

Now that there is a new alias table structure does this affect how to manually add a user alias and a domain alias?

I was using this REPLACE INTO alias (address, goto, domain, created ) values ('"$1"', '"$2"', 'magna.net', NOW() );

----

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

2

Re: Command line add alias with new table structure

Please check our tutorial:
https://docs.iredmail.org/sql.create.mail.alias.html