Commit Graph

20 Commits

Author SHA1 Message Date
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 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
Alan Garcia 1ad994af8d File de la mechant dash 2014-03-27 17:39:28 +00:00
Benjamin Sonntag bf7e3604bc removing -x 2013-10-18 13:47:22 +00:00
Steven Mondji-Lerider 47dfb1ba01 a mistake in one of the parameters 2013-02-26 17:03:42 +00:00
Steven Mondji-Lerider 249f24658e Modifying mysql.sh add support of installation on a remote sql server 2013-01-09 15:18:27 +00:00
Steven Mondji-Lerider c07d7fbac4 Bugfixes gestions des droits 2012-06-26 08:08:49 +00:00
Steven Mondji-Lerider 9bdae49cea Mise à jour pour la génération du paquet alternc, pour tout ce qui est mail.
Gros changement : comme discuté sur la ML, alternc.install n'est plus lancé automatiquement lors de l'installation, l'utilisateur doit le lancer manuellement
pour finir l'installation.

Changements significatifs :
 - l'installation génére et applique les template dovecot et postfix
 - un utilisateur MySQL dédié est maintenant créé pour postfix et dovecot (mail_user).
 - ajout d'un utilisateur systeme pour dovecot pour le mail delivery
2012-04-24 15:51:47 +00:00
Steven Mondji-Lerider f402a5fcc0 Dev in progress 2012-04-16 14:21:10 +00:00
Benjamin Sonntag 90c77142b4 - remember 'empty' value when the user answer empty value in templates
- changelog 
- MX is a DNS field, not an IP field !
- don't ask for mysql password if we already got it
- code cleanup  
- added "secondary MX DNS entry" domain type
2011-03-28 08:04:18 +00:00
Antoine Beaupré cf484070de remove a bashism: don't use the function keyword to declare functions,
it's not POSIX.

Note that there might be some other bashisms around, but this is the
only one I am aware of now, so...

Closes: #1122
2008-04-24 15:35:33 +00:00
Antoine Beaupré 30057bba56 add a [mysql] block to our my.cnf that contains the database= settings
so that mysqldump and other utilities using this file don't get a
warning.

Note that we do not convert existing configuration so that
milestone:0.9.8 installs will have to be manually patched to remove
the warning on mysqldump.

See #1127 and ["Errata_0.9.8"].
2008-04-24 15:24:41 +00:00
Antoine Beaupré c92074b1e6 document that mysql.sh needs MYSQL_CLIENT 2008-04-15 15:07:14 +00:00
Antoine Beaupré d5a4c72e4a Major redesign of the MySQL backend interface to fix a security issue.
See: #318.

As of now, the MySQL configuration used everywhere by AlternC is not
stored in the main configuration file (/etc/alternc/local.sh) but in a
MySQL configuration file in /etc/alternc/my.cnf, which enables us to
call mysql without exposing the password on the commandline.

The changes here are quite invasive but will allow us to factor out
the MySQL configuration better. See #364.

This includes a partial rewrite of the mysql.sh logic, which is now ran
from the postinst script (and not alternc.install) which will allow us
to actually change the MySQL root user properly. See #601.

This commit was tested like this:

 * clean install on etch (working)
 * upgrade from a clean 0.9.7 (working)
2008-04-13 04:35:19 +00:00
Antoine Beaupré 62cd8a201b fix typo 2007-12-12 22:16:17 +00:00
Antoine Beaupré 556cf1c5bb instead of assuming that SHOW TABLES; gives us GRANT privileges, simply try to GRANT with our multiple techniques
Fixes: #1060
2007-08-27 16:33:31 +00:00
Benjamin Sonntag 5f59a52a6f Now we use MYSQL_HOST in mysql.sh. Should work with remote mysqld. Updates #1013 (to be tested though) 2007-08-23 08:24:15 +00:00
Benjamin Sonntag e1b905c76a changing mysql.sh for install/upgrade time so that it work with mysql5 debian version also (debian-sys-maint with limited rights) 2006-05-12 09:42:59 +00:00
Pierre Gilles Mialon 6ca8255f49 AlternC Plugin are now part of AlternC svn repository\n Migration Phase 2 2006-04-26 12:28:53 +00:00