Phplist

From SME Server
Jump to navigationJump to search

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

Configuration

You need to update your httpd.conf to define the alias in Apache.

 [root@sme8 ~]# expand-template /etc/httpd/conf/httpd.conf 

Then restart Apache.

 [root@sme8 ~]# sv t /service/httpd-e-smith/

Initialise the Mysql template database

 [root@sme8 ~]# expand-template /etc/e-smith/sql/init/phplistdb

Then execute the script.

 [root@sme8 ~]# sh /etc/e-smith/sql/init/phplistdb

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

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.