Commit Graph

178 Commits

Author SHA1 Message Date
Steven Mondji-Lerider e3b0ad0c95 Templatizing apache envvars file to use AlternC environement variable in sendmail script. 2013-02-19 14:10:39 +00:00
Steven Mondji-Lerider 42307ffc2b Fixing permissions of update_domains.log 2013-02-19 08:56:47 +00:00
Alan Garcia f23cd145d9 Templating postfix/postconf OK 2013-02-18 18:20:12 +00:00
Alan Garcia 5134362254 Lot de bugfixes pour Debian Compliance 2013-02-18 18:09:43 +00:00
Steven Mondji-Lerider dd070fd43e Template for apache_logformat.conf 2013-02-18 17:22:28 +00:00
Steven Mondji-Lerider 227698b83d Templatising postfix.cf for the maildir_base variable + moving it to the postfix directory 2013-02-18 16:31:51 +00:00
Steven Mondji-Lerider d09618eab6 adding the new call to templatized file apache2.conf 2013-02-18 16:07:58 +00:00
Alan Garcia efb98fbb70 Hop-là 2013-02-18 16:03:55 +00:00
Alan Garcia eb11bb790d Divers patchs
Le paquet se construit
2013-02-18 14:43:55 +00:00
Alan Garcia 5582e8314b Creations des sous-répertoires mails passent du rules vers le alternc.install 2013-02-18 14:00:25 +00:00
Alan Garcia 1fe0e4594e Ca continue encore et encore 2013-02-18 13:11:25 +00:00
Benjamin Sonntag e171f30eb2 alternc.install in english 2013-02-08 13:05:54 +00:00
Alan Garcia 999612142f Ajoute le nl_NL 2013-02-08 10:53:13 +00:00
Alan Garcia 77bc119213 En fait, pas besoin de /etc/incron.allow 2013-01-29 07:08:32 +00:00
Alan Garcia 26a4171139 J'enfreind la regle. Je rajoute une feature.
A tester et valider, mais maintenant on peux reloader update_domain en un clic ;)

Quelques FIX de css, pour gérer les domaines très long et/ou les valeurs de sous domaine très longue
2013-01-28 17:05:53 +00:00
Axel ROGER 90875a4cca alternc.install ne deployait pas le master.cf de postfix version alternc 2013-01-22 09:06:13 +00:00
Antoine Beaupré 5ccb3558b9 cosmetic: reorder 2013-01-08 20:44:17 +00:00
Antoine Beaupré a8fe50ccff skip last steps of alternc.install on slaves
otherwise they explode in pain (for example by creating an admin user,
changing permissions on the NFS or trying to access the master
database with the wrong database schema in mind, all fun stuff)
2013-01-08 20:33:28 +00:00
Alan Garcia 5787678d66 Droits sur bureau.log moins laxistes 2012-11-08 19:33:31 +00:00
Steven Mondji-Lerider c8e553840b Fix #1365 creating bureau.log 2012-11-08 16:13:18 +00:00
Benjamin Sonntag 84a730d3c1 fixing language display in menu 2012-10-31 11:42:32 +00:00
Benjamin Sonntag 373157ebc8 sed script of alternc.install now have a fixed name + squirrelmail-install script is using the template system to handle /etc/squirrelmail/alternc-changepass.conf. 2012-10-16 13:50:44 +00:00
Steven Mondji-Lerider 65a321b6cc bugfixing postfix conf templates expension 2012-10-15 09:08:55 +00:00
Steven Mondji-Lerider b62242e60f adding new configuration file in alternc.install for mailman integration. 2012-10-08 16:22:27 +00:00
Steven Mondji-Lerider 0189f5b095 adding a backup of the main database in alternc.install 2012-10-01 13:37:59 +00:00
Steven Mondji-Lerider d23f2035c1 bugfix fixperms (files with spaces) + adding a call in alternc.install 2012-09-27 10:05:25 +00:00
Steven Mondji-Lerider 9fb6c3a1c1 Modification to make the upgrade from 1.0 to 1.1 work 2012-09-26 09:41:41 +00:00
Steven Mondji-Lerider 8d7c7690c8 Editing mistake 2012-09-04 08:35:05 +00:00
Steven Mondji-Lerider fd3f4cef8b Changing Postfix policy script to bash to remove python dep warning 2012-09-04 07:41:17 +00:00
Axel ROGER f2349194e6 Adding Apache2 to the reload services part 2012-08-27 12:36:47 +00:00
Benjamin Sonntag 4a096f265c Squirrelmail CAN'T BE CONFIGURED THROUGH A PROXY, so that configuration is currently commented out. We need to find a way to run the webmail on another web host than the panel one, that's all. No other solution found. So, next step for alternc-squirrelmail is to propose a vhost from the panel index WHEN ADMIN has a 'squirrelmail' type vhost ... 2012-08-26 19:59:12 +00:00
Benjamin Sonntag 6e2a1196cc adding a THIRD Debian Package : alternc-squirrelmail: configures squirrelmail + avelsieve + changepass. BIG change also in alternc.install : uses /usr/lib/alternc/install.d/ with run-parts. Also adding /etc/alternc/apache-panel.d/ for apache2 instructions ONLY in panel vhosts. TO BE TESTED 2012-08-26 17:20:10 +00:00
Alan Garcia d5a94efb17 Clean de postfix-add-policy 2012-08-26 10:32:45 +00:00
Alan Garcia 96103487b9 Authorise tout le monde a lire /etc/mailname 2012-08-22 15:17:11 +00:00
Steven Mondji-Lerider de0bff335b Bugfix oublie de ma part pour la création de la vue alias_view 2012-08-10 17:15:45 +00:00
Steven Mondji-Lerider 1886010400 Bugfixes gérération vue alias_view 2012-08-06 14:12:35 +00:00
Steven Mondji-Lerider b7314e97e8 Ajout d'une vue SQL alias_view pour gérer les alias de mail plus simplement 2012-08-06 09:22:13 +00:00
Steven Mondji-Lerider a465a09e49 Correction template pour postfix + bugfixes des classes de gestion des mails 2012-05-11 15:40:06 +00:00
Steven Mondji-Lerider 7c08903376 Ajout configuration squirrelmail + bugfixes pour postfix 2012-05-09 16:31:58 +00:00
Steven Mondji-Lerider b26cb694b9 Correction template dovecot + configuration d'installation 2012-05-04 08:57:23 +00:00
Steven Mondji-Lerider 4ed5bd918f bugfix+correction droits templatisation 2012-05-03 13:46:04 +00:00
Steven Mondji-Lerider 854719a110 full templating of postfix and dovecot + little bugfixes 2012-05-02 13:03:48 +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
Alan Garcia 2015f21029 Tchô courier 2011-06-04 14:19:10 +00:00
Alexis Lahouze a32762b444 Merged changesets 2976 and 2979 from branch stable 1.0 to trunk. 2011-06-04 09:39:15 +00:00
Alan Garcia d79a1a821d Je préfére mourir que de m'installer sur un truc sans ACL ! 2011-05-23 16:17:52 +00:00
Alan Garcia 19317ccbec Ca fait marcher mpm-itk mais ca casse la génération du .deb 2011-05-22 19:18:43 +00:00
Alan Garcia 0a0f5bc77a On continue mpm-itk 2011-05-22 17:23:59 +00:00
Alan Garcia 5b691210d0 ACL pour MPM-itk 2011-05-22 09:22:45 +00:00
Benjamin Sonntag 7ee9291e61 fixing apache module loading at install time 2011-03-28 06:38:24 +00:00
Benjamin Sonntag 0edb3c4e37 trying to fix #460 by launching update domaines set dns_action='update'; at alternc.install ends 2011-03-27 11:23:28 +00:00
Alexis Lahouze d43f7fdf9d Update postfix destination to add AlternC desktop FQDN when it's not present.\nCloses #1215 2011-03-13 14:37:37 +00:00
Alan Garcia dcff7e616c Des morceaux de Apache1 qui restaient 2011-03-07 08:31:46 +00:00
Alan Garcia 4e0f98b93e Vaguement :
- correction de qques identation (et surement rajout d'erreur)
 - supression de apache 1 (c'est plus maintenu, on va pas s'étaler)
 - suppression du mass vhosting
 - corrections de bugs divers et varié
2011-03-06 18:06:27 +00:00
Alan Garcia 33e70e138a Quand on change le FQDN, utile de recreer les liens symbolique 2011-03-04 13:05:55 +00:00
Alan Garcia b17ab07b99 Dans les script debian, faut du DASH ou du SH, pas du bash...
Toutefois, j'ai quand même rajouté la dependance bash a alternc (besoin pour update_domaines)

Normalement, maintenant ca s'installe sous squeeze.
2011-02-28 16:43:03 +00:00
Alan Garcia e155c6c531 Hop 2011-02-28 15:27:31 +00:00
Alan Garcia 48ddeb9fbf Ok. Toujours le bug 1173, je pensais pas que Alternc voulait ça. Owned 2010-12-20 17:15:34 +00:00
Alan Garcia ff029755d5 Ferme le ticket #1173 2010-12-20 16:56:37 +00:00
Alan Garcia 4fd0c76dd2 Vieux bug : activation de mod_rewrite a l'installation 2010-12-20 16:50:08 +00:00
Benjamin Sonntag 20bf38d89f moving creation of /var/backups/alternc/etc-installed.tar.gz far below, to prevent improper apache/proftpd config file change afterwards 2010-06-03 10:32:12 +00:00
Benjamin Sonntag 20a7bb01c4 reverting a badly made patch 2010-03-04 14:32:02 +00:00
Benjamin Sonntag 7d711eabcf alternc.install proftpd module tls management 2010-03-04 14:23:38 +00:00
Antoine Beaupré 165aa0052d do not overwrite named.conf
we still overwrite named.conf.options and that is where we do our
includes. that seems to be relatively acceptable upstream as they mark
only named.conf as a conffile.

See: #1025
2009-08-04 19:43:10 +00:00
Nahuel Angelinetti 99d319dce5 Update of debian/control for Debian lenny(5.0) compatibility
Update of alternc.install to use force-reload, reload seems to no more be used
2009-02-17 21:20:23 +00:00
Antoine Beaupré daf93a81f2 fix usage instructions 2009-01-29 01:09:40 +00:00
Antoine Beaupré d5a5a929a6 move sessions to a shared /var/alternc/sessions 2008-10-31 17:55:06 +00:00
Antoine Beaupré f47b431596 configure alternc-slave as a primary MX for the main server
this aims to resolve a lot of mail problems we are having on our deployment at Koumbit
2008-10-23 18:37:40 +00:00
Antoine Beaupré 2363fe5b47 fix apache restart sequence so they don't get restarted twice and only if necessary 2008-10-07 20:14:15 +00:00
Antoine Beaupré 7e8e9b1d6c put the listen directive in the apache2-ssl config 2008-10-07 18:39:44 +00:00
Antoine Beaupré b1a6bcf43e create a apache2-specific SSL configuration file 2008-10-07 18:34:02 +00:00
Antoine Beaupré c39d6991bf configure SSL properly, that is, only if a certificate is provided 2008-10-07 18:28:39 +00:00
Antoine Beaupré 72328a9f4b configure SSL on apache2 2008-10-07 18:00:06 +00:00
Antoine Beaupré 57b53fe31b disable the default site in apache2 since it obstructs our configuration 2008-10-07 17:23:09 +00:00
Antoine Beaupré 0184e3c641 move the apache config code into alternc.install
this makes sure that apache is properly restarted after install and factors code out of the two postinst files
2008-10-07 17:21:18 +00:00
Antoine Beaupré 3bcb5159f9 stop overwriting named.conf
starting this release, only named.conf.options will be replaced (as we
need to modify the options {} block and can't just add another one). We
still install a named.conf, a fresh version from Lenny this time, so
that we get a clean start.

Also get rid of the bind_internal parameter that is not really used or
recommended, as it allows for authoritative nameservers to also serve
recursive queries (which is bad practice).

See: #1025
Closes: #1104
2008-10-06 23:58:04 +00:00
Antoine Beaupré 9a79f43537 fix parameter expansion in postconf
See: #1029
2008-10-06 22:48:58 +00:00
Antoine Beaupré ca6dfe5d83 don't warn on main.cf configuration changes 2008-10-06 22:21:37 +00:00
Antoine Beaupré 704bc022ec explicitely backup main.cf configuration even though we don't replace
it totally

See: #1029
2008-10-06 22:20:48 +00:00
Antoine Beaupré 77ddb5002f do not override Postfix's main.cf: instead, we use a /etc/alternc/postfix.cf to hold our configuration changes and apply that on postinst.
Closes: #1029
2008-10-06 22:12:41 +00:00
Antoine Beaupré cdb3a1e281 remove alternc/mynetwork debconf parameter, stop overriding it in
postfix

also split the config prompts between slave and non-slave package

See: #1029
2008-10-06 21:13:11 +00:00
Antoine Beaupré 66da56d2df always run tar in C locale so that grep works properly 2008-10-04 18:54:03 +00:00
Antoine Beaupré 0de778c41c move basedirprot call to postinst also 2008-10-04 16:50:14 +00:00
Antoine Beaupré 270c7a6e37 move /var/alternc-specific commands from alternc.install to postinst 2008-10-04 16:48:30 +00:00
Antoine Beaupré 8f43b19340 security precaution: leave the my.cnf readable only to the webserver. we're protected by the openbasedir 2008-07-10 21:37:29 +00:00
Antoine Beaupré 115fe16dbf use the proper variable for database user replacement. Closes: #1124 2008-04-17 23:04:26 +00:00
Antoine Beaupré 7cfa0db5ed fix mysql.cnf regexp for a last time, i hope 2008-04-14 03:22:10 +00:00
Antoine Beaupré becf621bb4 fix quoting again 2008-04-14 03:14:25 +00:00
Antoine Beaupré 21f2254a00 be more verbose in template expansion 2008-04-14 03:10:58 +00:00
Antoine Beaupré 6bedb59def last minute fix: fix template instantiation for mysql passwords 2008-04-14 03:01:13 +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
Pierre Gilles Mialon 75e2f1cba1 Another fix to allow alternc to consider the php5 in an apache2 environnement
AlternC isn't ready to be install in an apache2 only environnement 

- proftd depend on apache-ssl
- the link are built by the deb package and if /etc/apache(-ssl)/conf.d didn't exist the installation failed ...
2007-10-05 14:46:40 +00:00
Pierre Gilles Mialon 03038d18dd Suppress an usueless restart of apache in dopo.sh
This chek is althought apache 1.3 dependent.

Modify the check before enabling the modules for apache2. Now it show be possible to perform an aptitude install apache2 php5 alternc ... 

I hope :)
2007-10-05 14:31:05 +00:00
Benjamin Sonntag 251cb7db6d restart with stop/start instead of restart (...) apache AND apache2 (test) 2007-09-27 08:29:11 +00:00
Benjamin Sonntag df3b3b0769 ensure that php variable is correctly expanded 2007-09-27 08:18:50 +00:00
Antoine Beaupré 6d36e8722f fix php call. Closes: #1064 2007-09-11 21:55:55 +00:00
Antoine Beaupré 4be66099c0 try to rely on the actual .so presence instead of the package for libapache-mod-php* 2007-09-09 20:48:42 +00:00
Antoine Beaupré 06fe7d5e98 remove useless test -x for init.d services, invoke-rc.d takes care of that 2007-09-09 20:32:16 +00:00
Antoine Beaupré 233397e37a try to reload apache2 too, install symlinks for apache2 if available 2007-09-09 20:31:35 +00:00