Commit Graph

412 Commits

Author SHA1 Message Date
Kienan Stewart e040c3ad6a 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-06-14 14:12:14 -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
Benjamin Sonntag dfb0329241 [fix] remove dl() and mysql_connect() check, since we now use PDO 2017-10-08 13:46:49 +02:00
Benjamin Sonntag 474bdbd4ae [fix] fixing mysql.sql for Stretch (compatible with previous version) 2017-10-08 13:43:57 +02:00
alban a92331b34e [fix] the alternc_user mysql user show be granted ALL on dovecot_quota 2017-10-08 11:40:58 +02:00
Benjamin Sonntag 945d9c14f8 Merge branch 'stable-3.1' of github.com:AlternC/AlternC into stable-3.1 2017-10-08 10:58:10 +02:00
Benjamin Sonntag 5e697346a2 [fix] fixing primary key issue on csrf 2017-10-08 10:57:50 +02:00
azerttyu 13c761f082 We must check a file not a directory
complete 3f9d2c2729
2017-10-08 10:47:44 +02:00
Benjamin Sonntag 594db5d8b5 [fix] fixing sql script 2017-10-08 10:37:11 +02:00
Benjamin Sonntag 590faa4708 [fix] permission not working, missing CHMOD in enum of actions 2017-10-07 19:02:22 +02:00
azerttyu 46635251ef Solve #139 : Allow standard phpmyadin connection on alternc-sql path
* Panel is run as alterncpanel and phpmyadmin configuration must be
readable by this user
2017-10-07 15:46:24 +02:00
Benjamin Sonntag 835cc00836 adding the removal of domain_type WEBMAIL in default_subdomain for upgrade 2017-10-07 15:15:36 +02:00
Benjamin Sonntag 7d6071197a [fix] fixing 3.4.8 sql script to remove ROUNDCUBE as a default 2017-10-06 16:32:01 +02:00
Benjamin Sonntag 21511e5385 Merging 'feature-message' into main stable branch. Thanks Quenenni ! 2017-10-06 16:02:25 +02:00
Benjamin Sonntag 9d23336e0c [fix] adding csrf table at INSTALL time, not only at UPGRADE time 2017-10-06 16:00:34 +02:00
quenenni 756993878b informations d'installation et mise à jour 2017-08-17 04:26:29 +02:00
Benjamin Sonntag 37c99da74c telling the user it can top fixperm while launching alternc.install, fixes #123 2017-08-14 10:58:50 +02:00
Benjamin Sonntag aaa5a68388 adding missing COMMITS in alternc.install between Jessie and Wheezy, fixes #161 2017-08-12 17:03:03 +02:00
Benjamin Sonntag a320c061fe replacing old url by new one with SSL-fr/en documentation, Fixes #142 2017-06-18 00:15:11 +02:00
Benjamin Sonntag 1c08a3e5a0 Changing MySQL / MariaDB engine to InnoDB, Fixes #121 2017-06-17 21:27:12 +02:00
Benjamin Sonntag fcf14400da emptying body_checks and header_checks => now considered harmful to email delivery 2017-06-07 14:24:33 +02:00
Benjamin Sonntag 6745f82bf6 [fix] Fixes #38 we don't ADD to a .sql in upgrades/ we create a new one for each new release 2016-08-27 14:42:29 +02:00
Benjamin Sonntag 5bae6babfb [FIX] proper links for alternc.ini and php. Fixes #49 2016-08-26 16:33:13 +02:00
Benjamin Sonntag ecbee5c127 [fix] switching every AlternC's tables to InnoDB. Fixes #96 2016-08-09 17:16:30 +02:00
Benjamin Sonntag 6043e9c3d7 [wip] securing *all* forms through CSRF management (requires a new table) 2016-05-20 14:21:47 +02:00
Benjamin Sonntag d9bdfaf1ac [wip] adding csrf form management, to be added everywhere 2016-05-19 17:04:49 +02:00
Benjamin Sonntag bb7d78a48b fixing rules + removing chown to alterncpanel 2016-05-18 14:56:35 +02:00
Benjamin Sonntag d79f83502b [security] fix of most ownership/accessmode issues, fixes possible root escalation 2016-05-17 15:51:33 +02:00
Benjamin Sonntag dd468785e5 adding TLD cc + co 2016-02-24 16:15:00 +01:00
Remi 604592eedd bug fixes in ACL, wildcard on vhost, and some sql bug 2016-02-22 15:52:55 +01:00
Dominique Rousseau b379d2cb34 ajout d'un alter table pour eviter les doublons dans default_subdomains - pas teste, pas sur que ca casse pas un truc - ( refs #1662 ) 2016-01-19 16:14:58 +01:00
Dominique Rousseau 7c0e7c953c fix de la creation de la table default_subdomains ( fixes #1662 ) 2016-01-19 16:14:03 +01:00
Benjamin Sonntag a5c71e4bfb adding Changelog + fixing schema by adding IF NOT EXISTS for table VARIABLE 2015-11-16 09:15:13 +01:00
Benjamin Sonntag 12a3650678 trying a better way of injecting schema file: mysql.sql can now be executed when we want, and YES, mysql.sh, launched at POSTINST, WILL CHANGE alternc_mail mysql user password 2015-11-16 08:50:38 +01:00
Benjamin Sonntag 3f8550802a trying a different install script for mysql.sh : skipping if already installed 2015-11-12 13:43:02 +01:00
Benjamin Sonntag 967aeeeb4f crating /etc/opendkim/TrustedHosts BEFORE searching in it 2015-11-05 18:08:30 +01:00
Benjamin Sonntag c0d656774e fixing #8: alternc.install -- add just a '/' 2015-09-25 17:53:55 +02:00
Benjamin Sonntag b71619c6f5 fixing some missing GLOBAL + issue with variables_set 2015-09-02 11:30:40 +02:00
Benjamin Sonntag b0b0fa408e adding experimental DMARC (relax) and SPF (relax) default support 2015-06-17 19:56:51 +02:00
Benjamin Sonntag f135d17e20 adding CHMOD to actions + fixing Permission bits not properly set 2015-06-16 15:35:14 +02:00
Benjamin Sonntag a406154fb7 CNAME doesn't allow *anything* else 2015-06-16 14:23:37 +02:00
Benjamin Sonntag 2062b1907e [fix] bug in mysql.sql => forgot one comma , to remove 2015-04-29 14:51:53 +02:00
Benjamin Sonntag 1fb006b41a fixing FTP/duplicated variable bug, thanks to jon_d 2015-04-29 14:25:03 +02:00
Benjamin Sonntag f5b309aaca adding permanent fix for custom zones 2015-04-29 10:45:49 +02:00
Benjamin Sonntag af687a61d8 adding permanent fix for custom zones 2015-04-29 10:45:40 +02:00
Benjamin Sonntag 615cadaa07 removing phpmyadmin apache conf 2015-04-20 20:38:58 +02:00
Benjamin Sonntag d82f87a366 ensure that values in sub_domaines are prefixed by / for hosting subdomains 2015-02-18 18:29:29 +01:00
Benjamin Sonntag ab0c1e6a51 [fix] touching opendkim files in alternc.instal to prevent failure at install time 2014-11-27 16:47:16 +01:00