1

Topic: Change domain admin email address

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 0.9.9 MYSQL edition
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version: Ubuntu Ubuntu 18.04.1 LTS
- 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.
====

During installation, I randomly entered a "Mail domain admin" like postmaster@abc.com for test purpose like below:

* Storage base directory:               /var/vmail
* Mailboxes:
* Daily backup of SQL/LDAP databases:
* Store mail accounts in:               MySQL
* Web server:                           Nginx
* First mail domain name:               gcamvdo.com
* Mail domain admin:                    postmaster@abc.com
* Additional components:                Roundcubemail netdata iRedAdmin Fail2ban

After installed, daily system reports like "Logwatch", "cron", "netdata notification", "*** SECURITY information for xxxx" & etc... are all delivered to this designated email.

Now, I want to change it to a formal one.  It seems to me this involves changes of few different files.
Can you show me the instructions?  Thanks in advance.

----

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

2

Re: Change domain admin email address

You need to check few config files and SQL tables:

- SQL tables: vmail.mailbox, vmail.domain_admins, vmail.forwardings.
- Files:

/etc/postfix/aliases
/opt/www/iredadmin/settings.py

Another solution: if this server is not in production yet, you can reinstall server OS then install iRedMail with proper domain name.

3 (edited by jw202 2019-01-25 10:29:08)

Re: Change domain admin email address

ZhangHuangbin wrote:

You need to check few config files and SQL tables:

- SQL tables: vmail.mailbox, vmail.domain_admins, vmail.forwardings.
- Files:

/etc/postfix/aliases
/opt/www/iredadmin/settings.py

Another solution: if this server is not in production yet, you can reinstall server OS then install iRedMail with proper domain name.

Thanks ZhangHuangbin!

It works!

Just a bit of note for other users: after edited /etc/postfix/aliases, it has to run "sudo newaliases" to apply the changes.