Commit Graph

458 Commits

Author SHA1 Message Date
Benjamin Sonntag 654edab277 [fix]  simplify restart of services for apache2 2018-10-25 16:47:52 +02:00
Benjamin Sonntag f5d153c161 [fix] removing apache_logformat from tar 2018-10-25 16:14:45 +02:00
Benjamin Sonntag 15ec54d41c [fix] adding SYSTEMD detection in alternc.install to run opendkim properly 2018-10-25 15:50:26 +02:00
Benjamin Sonntag 7e8d5487e3 [fix] (for 3.5) adding has https option for autodiscover type 2018-10-25 15:38:06 +02:00
Kienan Stewart 4371bb59d5 Fix sed invocation to it runs in-place 2018-10-25 14:59:33 +02:00
Kienan Stewart 5a5fc801f8 Generate opendkim configuration in stretch when alternc.install is run
The default configuration in stretch doesn't work very well and
needs a couple of tweaks. This will generate the service files and
make sure opendkim is run as the opendkim user instead of root.

The alternc opendkim.conf template is updated so that the connection
can be made locally through a socket.
2018-10-25 14:59:33 +02:00
Benjamin Sonntag 8c6dcadca0 [fix] fixing default_spf_value and default_dmarc_value NOT being initialized at runtime. Do it at alternc.instal time. 2018-10-25 14:58:18 +02:00
Benjamin Sonntag 4770c268d8 [fix] (for 3.5) fixing mysql.sql not setting has_https_option to TRUE on vhost 2018-10-23 18:47:25 +02:00
Kienan Stewart 36fb528818 Deploy alternc.conf apache configuration 2018-10-23 17:19:44 +02:00
Kienan Stewart 9052e6ac31 Deploy dovecot configuration for SSL 2018-10-22 17:14:28 +02:00
Benjamin Sonntag e06e2b3abd dkim domaine type is taking TXT as paramter 2018-07-17 18:21:25 +02:00
Benjamin Sonntag 1e4f2783d8 [fix] bug that make it impossible to launch upgrades properly : alternc_status is overwriten at postinst :/ 2018-07-17 17:03:28 +02:00
Benjamin Sonntag 7445439654 [enh] proper name for autodiscover + fix global in m_dom 2018-07-17 15:50:29 +02:00
Benjamin Sonntag 5725cd89ce [fix] no need for www-data to be in ssl-cert group 2018-07-17 15:11:31 +02:00
Benjamin Sonntag f50f453707 [fix] missing global + proper shebang on upgrade script 2018-07-17 15:10:08 +02:00
Benjamin Sonntag 9b7332f354 [enh] adding DKIM and AUTODISCOVER management in SUB_DOMAINES, finishing BIND update_domains.php 2018-07-08 22:03:27 +02:00
Benjamin Sonntag 2ad744ecc7 [fix] replacing /var/run by /run everywhere we can (not everywhere: postfix chroot or old compatibility is maintained 2018-07-04 17:42:42 +02:00
Benjamin Sonntag a1ed5a4ad6 [fix] 3.4.10 and 3.4.11 where NOT executed during upgrades (sort -n :/ ) so we migrate those sql updates to 3.5.0.1.sql 2018-07-04 17:17:22 +02:00
Benjamin Sonntag 2695db49a2 [enh] preparing for the future : let's allow us to add \n into DNS entries, preparing for ... IPv6 \o/ 2018-06-25 16:48:12 +02:00
Benjamin Sonntag 144ff1e27a [enh] removing latest lintian exceptions, no Error, no Warnings ! 2018-06-24 19:40:22 +02:00
Benjamin Sonntag 7945034004 [fix] name of variable + fix of upgrade script 2018-06-24 19:05:59 +02:00
Benjamin Sonntag 5f27d551d8 [fix] enable ssl module for Apache 2018-06-24 18:17:10 +02:00
Benjamin Sonntag a4c488ae70 [enh] debian compliance work, almost no warning in lintian 2018-06-24 17:18:01 +02:00
Benjamin Sonntag bb3bd0b14c [enh] ssl : reload-certs for sysadmin + misc ssl fixes (including set_variables) 2018-06-24 17:04:55 +02:00
Benjamin Sonntag 178823a9f0 [merge] feature-ssl in master 2018-06-24 16:52:24 +02:00
Benjamin Sonntag 5f72126420 [fix] ftp human name error 2018-06-24 16:50:52 +02:00
Benjamin Sonntag e2237a2ed9 [fix] roundcube to core javascript disable conf apache2 2018-06-24 16:50:08 +02:00
Benjamin Sonntag e83a526c57 [fix] mysql.sql fix : do not create certificates table if already exists 2018-06-24 16:10:08 +02:00
Benjamin Sonntag 6fd89455fb [fix] alternc.install misc fixes: mysql_query heredoc + phpmyadmin test 2018-06-24 16:09:28 +02:00
Benjamin Sonntag 404ba2803b [enh] testing JS packages dependencies instead of including our own copy 2018-06-24 16:09:11 +02:00
Benjamin Sonntag 5a3b9c7a13 [fix] next ssl step: we start to use /etc/ssl/(certs|private)/alternc-<servicename>.(pem|key) as location for system service certificates, also, trying to use PdoException in case of PDO error (better for bug tracking) 2018-06-24 15:43:23 +02:00
cam.lafit 1bc8b59da9 Now apache.pem is always set
* We can configure apache2, postfix, proftpd, dovevot with tls features
by default
2018-06-23 17:01:49 +02:00
cam.lafit ecfa105982 Provide a snakeoil certificate
* By default AlternC will use a snakeoil certificate
* Is set as default as 0 id to failback when no certificate provider can
set a certificate
2018-06-23 11:00:53 +02:00
Benjamin Sonntag 6007a3dea2 adding provider to certificates + fixing cert search function 2018-06-22 22:49:43 +02:00
azerttyu 29c200da8e [enh] Provide an insertion date
* When a certificate is added , we store his creation date
2018-06-22 18:37:08 +02:00
Benjamin Sonntag 5079aa2e03 [enh] change the name of some variables 2018-06-22 17:37:04 +02:00
azerttyu 2ca592aa8a [enh] Migrate https status on each sub domains
* Rename type vhost
* Clean duplicate vhost
* Apply certificate id on each sub domain
2018-06-22 17:35:51 +02:00
Benjamin Sonntag 09bb693480 [enh] adding HTTP/HTTPS/BOTH UI in the subdomain editor. 2018-06-22 16:31:23 +02:00
alban 7a69abd660 [fix] alternc.install should have a --no-fixperms option + help + usage 2018-06-22 15:04:21 +02:00
Benjamin Sonntag 7ec1d068c8 [enh] ssl start of implementation 2018-06-22 11:24:03 +02:00
Benjamin Sonntag 976296c833 removing temporary diffs from squeeze 2018-06-21 18:17:29 +02:00
Benjamin Sonntag f48618d0e5 Merge remote-tracking branch 'origin/pr-235'
Fix #227: Use stronger password hashes #235
2018-06-21 17:44:53 +02:00
Benjamin Sonntag c88db87db3 Merge branch 'stable-3.1' 2018-06-21 17:36:34 +02:00
Benjamin Sonntag f930bde36d adding all patched from squeeze to wheezy then jessie. 2018-06-21 17:29:42 +02:00
cam.lafit c8d94d2a50 SSL massive backport
* Now we integrate all alternc-feature in native alternc
* Files are backported as waiting by alternc
* Some files was renammed or moved to follow alternc installation
process
2018-06-21 17:26:27 +02:00
Kienan Stewart 88f3457191 Use sha512 crypt to store ftp password hashes 2018-04-16 22:46:05 -04:00
Kienan Stewart bbb3e7c0e3 Lengthen member's pass column to 255 characters 2018-04-15 18:25:58 -04:00
Benjamin Sonntag 6d804d1a95 [fix] fixing lastlogin default value for mariadb (which is more strict...) 2018-02-23 16:12:59 +01:00
Benjamin Sonntag f5cb7ad3a6 adding DEFAULT for lastlogin, crashes on MariaDB 2017-12-12 19:50:48 +01:00
azerttyu 53c516a59d [fx] Update dbserver default following my.cnf value
In some case alternc/my.cnf can divege with values stored db_server.

my.cnf is authorative then we update db_server data in any case
2017-10-08 14:46:11 +02:00