Reinstall Email

This commit is contained in:
Bob Mottram 2014-08-04 20:28:50 +01:00
parent 86bea36678
commit 367012e986
1 changed files with 8 additions and 0 deletions

View File

@ -7351,6 +7351,14 @@ GRANT ALL PRIVILEGES ON redmatrix.* TO 'redmatrixadmin'@'localhost';
quit
mysql -u root -p redmatrix -o < /var/backups/redmatrix_daily.sql
#+END_SRC
Since IMAP seems entangled with mysql it may also be necessary to reinstall Exim and Dovecot.
#+BEGIN_SRC: bash
apt-get remove --purge exim4\*
#+END_SRC
Then follow the instructions in [[Install Email]], [[Spam filtering]] and [[Install Dovecot]].
** Regenerating SSL certificates
If a security vulnerability arrises which requires you to regenerate your SSL certificates, such as [[http://filippo.io/Heartbleed]["heartbleed"]], then this can be done as follows: