Changes

From SME Server
Jump to navigationJump to search
489 bytes removed ,  07:27, 18 April 2021
Line 2: Line 2:     
===Maintainer===
 
===Maintainer===
[mailto:pierre@firewall-services.com[[User:pierre|Pierre B.]]] from [http://www.firewall-services.com Firewall Services]
+
 
 
[mailto:daniel@firewall-services.com[[User:VIP-ire|Daniel B.]]] from [http://www.firewall-services.com Firewall Services]
 
[mailto:daniel@firewall-services.com[[User:VIP-ire|Daniel B.]]] from [http://www.firewall-services.com Firewall Services]
 +
===Version===
 +
{{#smeversion: smeserver-phplist }}
 +
[[Version::Contrib9| fws]] [[Has SME9::true| ]]
    
=== Description ===
 
=== Description ===
Phplist is an OpenSources Mailing List tool. It's a web application who is using Php and Mysql to work.
+
[https://www.phplist.com/ '''phpList'''] is an open source software for managing mailing lists. It is designed for the dissemination of information, such as newsletters, news, advertising to list of subscribers. It is written in PHP and uses a MySQL database to store the information.
 
  −
It can be setup on SmeServer with the contrib smeserver-phplist.
  −
{{note box|no more available on firewall repository, please ask to the author if needed}}
  −
 
  −
=== Installation ===
  −
 
  −
{{Note box| To begin, be sure you have the right repository setup on your system.
  −
In my example, I will use the  [[Fws|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".
+
=== Requirements ===
 +
You need the [[Fws|firewall-services]] repo to install this contribs
   −
We have to setup a password for this account.
+
{{Warning box|Versions of PHPList above 3.2.x will no longer run on the PHP version included in the stock version of SME v9. See: https://sourceforge.net/p/phplist/mailman/message/35670118/. Please refer to [[PHP_Software_Collections]] on how to install PHP 5.6 or higher.}}
   −
To configure the Bounces account in Phplist :
+
=== 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 ~]# db configuration setprop phplist BouncesPassword the_password
+
yum install --enablerepo=fws smeserver-phplist
  [root@sme8 ~]# signal-event webapps-update
     −
== Access to the Administrator Panel ==
+
You will then need to activate the database changes etc.
 +
The 'official' way is to perform
   −
By default, only '''admin''' user can access to the administrotor panel.
+
signal-event post-upgrade;  signal-event reboot
   −
To add new users, you can add login in the DB :
+
or if you do not want to restart your computer
   −
  [root@sme8 ~]# db configuration setprop phplist AdminUsers user1,user2,user3,fws,admin
+
signal-event webapps-update
  [root@sme8 ~]# signal-event webapps-update
      +
There is no panel in the server-manager, you can go to https://sme-ip/lists/admin and login as SME Server admin and its password.
   −
=== Administrate ===
     −
Now you can access Phplist, you have just to go https://yourserver.tld/lists
+
==== Administration ====
   −
The administrator interface was at https://yourserver.tld/lists/admin
+
To complete the installation you have to go https://yourserver.tld/lists/admin follow the instructions and create an admin user.
   −
The last step is to populate the database.
+
The administrator interface is at https://yourserver.tld/lists/admin
   −
Go in the administation panel, and follow the Phplist instruction.
+
The user interface is at https://yourserver.tld/lists
    +
==== Uninstall ====
 +
yum remove smeserver-phplist
 +
signal-event post-upgrade;  signal-event reboot
 +
==== Bugs ====
 +
Sources for this contribs can be found in Firewall Service's repository [http://gitweb.firewall-services.com/?p=smeserver-phplist;a=summary]
 
[[Category:Contrib]]
 
[[Category:Contrib]]
 +
[[Category:Mail]]
 +
[[Category:Mail:Mailinglists]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,237

edits

Navigation menu