1

Topic: how to restore mail server

==== Required information ====
- iRedMail version (check /etc/iredmail-release):      ----------------------------- ---------- 0.9.0
- Linux/BSD distribution name and version:                -----------------------------------------ubuntu14.02
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): -----------------------------mysql
- Web server (Apache or Nginx):-------------------------------------------------------------------nginx
- Manage mail accounts with iRedAdmin-Pro?----------------------------------------------------yes
- Related log if you're reporting an issue:
====

My iRedmail 0.9.0 works well, until i run a cmd "rm /home/* ".
I lost all files under folder /home.

I did try to downlad iRedmail 0.9.0 but cant find this version, and I noticed iRedmail does not support upgrade from 0.9.0 to 0.9.6.

Please help me, Thanks.

----

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

2

Re: how to restore mail server

What error do you get in log files under /var/log/? And what files did you remove under /home/?

You don't need to upgrade to get it back and running, just fix the errors in log files first.

3

Re: how to restore mail server

My /home/iredamail, /home/iredpad, /home/iredadmin folders were deleted because of my faults.

I run "cd /home && rm -rf * /home/xx/*"

Thanks.

4

Re: how to restore mail server

you can create them manually:

mkdir /home/iredapd
chown iredapd:iredapd /home/iredapd
chmod 0700 /home/iredapd

mkdir /home/iredadmin
chown iredadmin:iredadmin /home/iredadmin
chmod 0700 /home/iredadmin

Restart services like Postfix, Dovecot, Amavisd, iRedAPD, check log files under /var/log/ to see whether there's some errors.

5 (edited by masf 2017-04-07 15:42:25)

Re: how to restore mail server

I did not find some errors in /var/log after restart service Postfix, Dovecot, Amavisd iRedAPd.

Now, i can send and receive mail using foxmail.

Successed to open https://my.domain.com/iredadmin.

Thanks.

6 (edited by masf 2017-04-07 11:43:06)

Re: how to restore mail server

Successed to open https://my.domain.com/mail,, and it works well.