Difference between revisions of "Phplist"

From SME Server
Jump to navigationJump to search
Line 22: Line 22:
 
   [root@sme8 ~]# yum install --enablerepo=fws smeserver-phplist
 
   [root@sme8 ~]# yum install --enablerepo=fws smeserver-phplist
  
=== Configuration ===
+
=== Requirements ===
 +
You need the [[Fws|firewall-services]] repo to install this contribs
  
You need to update your httpd.conf to define the alias in Apache.
+
=== Installation 8.x 9.x===
 +
This contrib is currently held in the fws repository, so the following commands will install on your smeserver.
  
  [root@sme8 ~]# expand-template /etc/httpd/conf/httpd.conf
+
yum install --enablerepo=fws smeserver-phplist
  
Then restart Apache.
+
You will then need to activate the database changes etc.
 +
The 'official' way is to perform
  
  [root@sme8 ~]# sv t /service/httpd-e-smith/
+
signal-event post-upgrade;  signal-event reboot
  
Initialise the Mysql template database
+
or if you do not want to restart your computer
  
  [root@sme8 ~]# expand-template /etc/e-smith/sql/init/phplistdb
+
signal-event webapps-update
  
Then execute the script.
+
There is no panel in the server-manager, you can go to https://sme-ip/phplist/admin and perform a login with admin and its passwords of your internal ldap.
  
  [root@sme8 ~]# sh /etc/e-smith/sql/init/phplistdb
+
set the first admin account and now you need to fill in all mandatory fields.
 
 
In the last time, you need to set up the config.php of phplist.
 
 
 
  [root@sme8 ~]# expand-template /usr/share/phplist/www/lists/config/config.php
 
 
 
 
 
 
 
'''OR
 
'''
 
  [root@sme8 ~]# signal-event webapps-update
 
  
 
=== Other thing to do ===
 
=== Other thing to do ===

Revision as of 21:11, 6 August 2014

Phplist Contribs

Maintainer

Pierre B. from Firewall Services Daniel B. from Firewall Services

Description

Phplist is an OpenSources Mailing List tool. It's a web application who is using Php and Mysql to work.

It can be setup on SmeServer with the contrib smeserver-phplist.

Important.png Note:
no more available on firewall repository, please ask to the author if needed


Installation

Important.png Note:
To begin, be sure you have the right repository setup on your system.

In my example, I will use the firewall-Services repository.


First, install the smeserver-phplist package. The dependencies will do the others tasks.

This will install two packages, on for Phplist, and the second to adapt Phplist for SmeServer.

 [root@sme8 ~]# yum install --enablerepo=fws smeserver-phplist

Requirements

You need the firewall-services repo to install this contribs

Installation 8.x 9.x

This contrib is currently held in the fws repository, so the following commands will install on your smeserver.

yum install --enablerepo=fws smeserver-phplist

You will then need to activate the database changes etc. The 'official' way is to perform

signal-event post-upgrade;  signal-event reboot

or if you do not want to restart your computer

signal-event webapps-update

There is no panel in the server-manager, you can go to https://sme-ip/phplist/admin and perform a login with admin and its passwords of your internal ldap.

set the first admin account and now you need to fill in all mandatory fields.

Other thing to do

The bounces account

We need, to have Phplist working well, to create an account "bounces@youdomain.tld".

We have to setup a password for this account.

To configure the Bounces account in Phplist :

  [root@sme8 ~]# db configuration setprop phplist BouncesPassword the_password
  [root@sme8 ~]# signal-event webapps-update

Access to the Administrator Panel

By default, only admin user can access to the administrotor panel.

To add new users, you can add login in the DB :

  [root@sme8 ~]# db configuration setprop phplist AdminUsers user1,user2,user3,fws,admin
  [root@sme8 ~]# signal-event webapps-update


Administrate

Now you can access Phplist, you have just to go https://yourserver.tld/lists

The administrator interface was at https://yourserver.tld/lists/admin

The last step is to populate the database.

Go in the administation panel, and follow the Phplist instruction.