Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
tuto:webapps:install_phplist [26/11/2010 12:26] dani [Procédure] |
tuto:webapps:install_phplist [13/07/2012 10:37] dani Page moved from install_phplist to tuto:webapps:install_phplist |
||
---|---|---|---|
Ligne 7: | Ligne 7: | ||
=====Procédure===== | =====Procédure===== | ||
- | | + | ===Téléchargez l' |
< | < | ||
- | | + | ===Décompressez le fichier et déplacez le répertoire public_html dans le répertoire web de apache=== |
< | < | ||
- | mv public_html/ | + | mv public_html/ |
- | | + | ===Création de la base de données " |
< | < | ||
- | | + | ===On donne les droits nécessaires à l' |
< | < | ||
Ligne 44: | Ligne 44: | ||
A cet instant, nous avons un user " | A cet instant, nous avons un user " | ||
- | | + | ===Configuration de phplist=== |
Dans le fichier de configuration list/ | Dans le fichier de configuration list/ | ||
Ligne 56: | Ligne 56: | ||
</ | </ | ||
- | La page d' | + | ===Création d'un template custom dans SME, pour créer un alias PHPList=== |
+ | |||
+ | Créer un fichier de template custom dans le répertoire / | ||
+ | |||
+ | < | ||
+ | |||
+ | <code perl> | ||
+ | # PhpList Alias | ||
+ | Alias /phplist / | ||
+ | < | ||
+ | # | ||
+ | Options -Indexes | ||
+ | AllowOverride None | ||
+ | order deny, | ||
+ | |||
+ | { | ||
+ | my $access = ' | ||
+ | if (" | ||
+ | { | ||
+ | $OUT .= " | ||
+ | } | ||
+ | elsif (" | ||
+ | { | ||
+ | $OUT .= " | ||
+ | } | ||
+ | } | ||
+ | AuthName " | ||
+ | AuthType Basic | ||
+ | AuthExternal pwauth | ||
+ | require user admin | ||
+ | Satisfy all | ||
+ | AddType application/ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | La page d' | ||
+ | ======Configuration et Sécurité====== | ||
+ | |||
+ | ===Création d'un utilisateur " | ||
+ | |||
+ | Pour le bon fonctionnement de PHPList, il faut une boîte mail bounce@domain.tld. | ||
+ | |||
+ | Pour cela, dans SME, creez un utilisateur " | ||
+ | |||
+ | A partir de cet instant, s' | ||
+ | |||
+ | ===Configuration de l'user bounce dans config.php=== | ||
+ | |||
+ | Modifier le fichier de configuration comme ceci : | ||
+ | |||
+ | <code php> | ||
+ | # Handling bounces. Check README.bounces for more info | ||
+ | # This can be ' | ||
+ | $bounce_protocol = ' | ||
+ | |||
+ | # set this to 0, if you set up a cron to download bounces regularly by using the | ||
+ | # commandline option. If this is 0, users cannot run the page from the web | ||
+ | # frontend. Read README.commandline to find out how to set it up on the | ||
+ | # commandline | ||
+ | define (" | ||
+ | |||
+ | # when the protocol is pop, specify these three | ||
+ | $bounce_mailbox_host = ' | ||
+ | $bounce_mailbox_user = ' | ||
+ | $bounce_mailbox_password = ' | ||
+ | |||
+ | $message_enveloppe = ' | ||
+ | |||
+ | # the " | ||
+ | # the default should be fine but if it doesn' | ||
+ | # one. To do that, add a # before the first line and take off the one before the | ||
+ | # second line | ||
+ | |||
+ | # | ||
+ | $bounce_mailbox_port = " | ||
+ | |||
+ | ===Désactiver l' | ||
+ | |||
+ | Nous allons utiliser l' | ||
+ | |||
+ | Il faut modififier dans le fichier config.php : | ||
+ | |||
+ | <code php> | ||
+ | # set this to 1 if you want PHPlist to deal with login for the administrative | ||
+ | # section of the system | ||
+ | # you will be able to add administrators who control their own lists | ||
+ | # default login is " | ||
+ | # | ||
+ | $require_login = 0</ | ||
+ | |||
+ | ===Permettre l' | ||
+ | |||
+ | Il est possible de planifier l' | ||
+ | |||
+ | Cette fonction envoie tout les messages, sans se soucier de la date à laquelle elle à été programmé. | ||
+ | |||
+ | <code php> | ||
+ | # If you set up your system to send the message automatically, | ||
+ | # to 0, so " | ||
+ | # this will also stop users from loading the page on the web frontend, so you will | ||
+ | # have to make sure that you run the queue from the commandline | ||
+ | # check README.commandline how to do this | ||
+ | define (" | ||
+ | </ | ||
+ |