1

Topic: deleted virtual host files on server

==== Required information ====
- iRedMail version 0.9.3
- Store mail accounts in which backend :MySQL
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin
- Related log if you're reporting an issue:
====

Is is possible to restore the files located in /etc/apache2/sites-available ? 
iRedmail changed them during the installation, but i made an errorr and did overwrite these files sad

----

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

2

Re: deleted virtual host files on server

How about setup a new VM and install iRedMail, then copy the files you need from new VM to your server?

3

Re: deleted virtual host files on server

ZhangHuangbin wrote:

How about setup a new VM and install iRedMail, then copy the files you need from new VM to your server?

I already solved it by copy apache config lines from antoher server to the one with overwritten files

*************************

Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"
Alias /mail "/opt/www/roundcubemail/"
Alias /iredadmin/static "/opt/www/iredadmin/static/"
WSGIScriptAlias /iredadmin "/opt/www/iredadmin/iredadmin.py/"
Alias /mail "/opt/www/roundcubemail/"

************************************************************