1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-11-22 02:17:26 +00:00
mailinabox/setup
guyzmo 041b5f883f Support for rsync+ssh backup target (#678)
* Added support for backup to a remote server using rsync

* updated web interface to get data from user
* added way to list files from server

It’s not using the “username” field of the yaml configuration
file to minimise the amount of patches needed. So the username
is actually sorted within the rsync URL.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* Added ssh key generation upon installation for root user.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* Removed stale blank lines, and fixed typo

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* fix backup-location lines, by switching it from id to class

* Various web UI fixes

- fixed user field being shadowed ;
- fixed settings reading comparaison ;
- fixed forgotten min-age field.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* Added SSH Public Key shown on the web interface UI

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* trailing spaces.

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* fixed the extraneous environment

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* Updated key setup

- made key lower in bits, but stronger (using -a option),
- made ssh-keygen run in background using nohup,
- added independent key file, as id_rsa_miab,
- added ssh-options to all duplicity calls to use the id_rsa_miab keyfile,
- changed path to the public key display

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* added rsync options for ssh identity support

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* removed strict host checking for all backup operations

Signed-off-by: Bernard `Guyzmo` Pratz <guyzmo+github@m0g.net>

* Remove nohup from ssh-keygen so errors aren't hidden. Also only generate a key if none exists yet

* Add trailing slash when checking a remote backup. Also check if we actually can read the remote size

* Factorisation of the repeated rsync/ssh options

cf https://github.com/mail-in-a-box/mailinabox/pull/678#discussion_r81478919

* Updated message SSH key creation

https://github.com/mail-in-a-box/mailinabox/pull/678#discussion_r81478886
2016-11-12 09:28:55 -05:00
..
bootstrap.sh v0.20 2016-09-23 07:49:13 -04:00
dkim.sh use "127.0.0.1" throughout rather than mixing use of an IP address and "localhost" 2016-05-06 09:10:38 -04:00
dns.sh use /dev/urandom for DNSSEC key generation, fixes #596, partially reverts #115 (69f0e1d07a) 2015-11-19 07:00:33 -05:00
firstuser.sh suppress some status output regarding new automatic aliases on first installation 2015-08-19 16:30:32 -04:00
functions.sh silence all of the installing/already installed package messages on installation 2015-08-19 15:58:35 -04:00
mail-dovecot.sh Configured Dovecot to log into its own logfile 2016-06-06 08:21:44 -04:00
mail-postfix.sh disable nested checker checks (#972) 2016-10-18 14:15:33 -04:00
mail-users.sh Dovecot LMTP accepted all mail regardless of whether destination was a user, broken by ae8cd4ef, fixes #852 2016-06-02 08:05:34 -04:00
management.sh clean up apt_install lines and comments in setup/management.sh 2016-02-18 06:59:38 -05:00
migrate.py make the system SSL certificate a symlink so we never have to replace a certificate file, and flatten the directory structure of user-installed certificates 2015-11-29 02:02:01 +00:00
munin.sh needed libcgi-fast-perl and chown log files 2016-01-13 23:55:45 -05:00
network-checks.sh prevent apt from asking the user any questions 2015-02-13 13:41:52 +00:00
owncloud.sh Check if apc is disabled during ownCloud setup, if so enable it (#983) 2016-10-24 07:59:34 -04:00
preflight.sh lower memory requirements to 512MB, display a warning if system memory is below 768MB. (#952) 2016-10-15 15:41:25 -04:00
questions.sh spelling box->Box 2016-02-14 20:24:00 +01:00
spamassassin.sh change bayes_file_mode to world writable (merges #931) 2016-09-23 15:14:21 -04:00
ssl.sh drop the CSR_COUNTRY setting and ask within the control panel 2015-12-26 11:48:23 -05:00
start.sh fail2ban won't start until the roundcube log file is created 2016-08-18 08:32:14 -04:00
system.sh Support for rsync+ssh backup target (#678) 2016-11-12 09:28:55 -05:00
web.sh move nginx-ssl to be a global configuration file rather than including it into each server block 2015-09-27 17:13:11 +00:00
webmail.sh Use Roundcube identities to populate Z-Push From name 2016-09-19 11:10:44 -04:00
zpush.sh Use Roundcube identities to populate Z-Push From name 2016-09-19 11:10:44 -04:00