Difference between revisions of "Ezmlm-www"
m (Added Template:Repository and minor text changes) |
|||
Line 17: | Line 17: | ||
yum --enablerepo=dag install perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch | yum --enablerepo=dag install perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch | ||
− | + | Install ezmlm-www: | |
− | + | yum --enablerepo=smecontribs install perl-Mail-Ezmlm-Archive smeserver-ezmlm-www | |
− | |||
− | |||
− | |||
− | |||
− | |||
== Configuration == | == Configuration == |
Revision as of 19:11, 29 December 2007
History
Some years ago (2.5) I have published a how-to in the forum http://forums.contribs.org/index.php?topic=27460.0 for install mharc mailist web publisher in sme6. Now I have found a little but good app to do the same: publish ezmlm archives on the web beautify.
Author
The author is Alessandro Ranellucci and the aplication is ezmlm-www and can be found at http://ezmlm-www.sourceforge.net/
Installation
Of course you must have installed and configured ezmlm as described here: Ezmlm
If you do not have the Dag repository configured you should do so:
The following command will configure the Dag repository on SME Server. EDIT NOT COMPLETE!
To create an entry in the database for the epel repository we open put the following commands in a terminal
window or in a shell window:
/sbin/e-smith/db yum_repositories set epel repository \
Name 'SME Server - epel' \ BaseURL 'http://<http://download.fedoraproject.org/pub/epel/7/$basearch' \ EnableGroups yes \ GPGCheck yes \ Visible no \ status disabled
To enable the changes:
signal-event yum-modify
Just to be sure, give yum a fresh start:
yum clean all
After adding it to the database we have to update the changes to the configuration file:
signal-event yum-modify
Install the perl dependancy:
yum --enablerepo=dag install perl-Mail-Box perl-User-Identity perl-TimeDate perl-Email-Simple perl-Plucene perl-KinoSearch
Install ezmlm-www:
yum --enablerepo=smecontribs install perl-Mail-Ezmlm-Archive smeserver-ezmlm-www
Configuration
I have explain the basic steps to run ezmlm-www. You can read the README file under /opt/mailinglist to customize your list.
Open the file config.pm and replace the string PUT_YOUR_LISTNAME_HERE with the name of your ezmlm list.
And say as README file configure the following parameters:
==> name Full e-mail address of list ==> local_part Chars that comes before che '@' sign in list address. ==> host_part Chars that comes after che '@' sign in list address. ==> description Verbose description of list (for indexing purposes). ==> archive Mail::Ezmlm::Archive object, specify list path. ==> conceal_senders Set this to 1 (otherwise to 0) if you want domains to be replaced by '...' in e-mail addresses to prevent spammers to read them. ==> subscription_info Set this to 1 (otherwise to 0) if you want some info about subscribing and unsubscribing to be put on main list page. ==> default_sorting This may be 'thread', 'date' or 'subject'. ==> descending_by_default Set this to 1 (otherwise to 0) if you want threads to be listed in descending order by default. ==> show_html Set this to 1 (otherwise to 0) if you want to display HTML messages. ==> highlight Set this to 1 (otherwise to 0) if you want to highlight parts of messages. such as replies, signatures, URLs. ==> show_inline_images Set this to 1 (otherwise to 0) if you want to display inline images instead of just a link. $lang must be 'br', 'en', 'es', 'de', 'no', 'pt' or 'it' depending on your chosen language.
Access at http://yourserver/mailinlist and see if run ok.
Open the file ez_indexer.pl under search directory and change the string PUT_YOUR_LISTNAME_HERE with the name of your ezmlm list, as above.
Now launch ez_indexer.pl from the command line to index your existing messages (it may take a while!) to use the search function:
/opt/mailinglist/search/ez_indexer.pl --create --verbose
And then add it to crontab. Create a file named ezw-search and add this content:
#!/bin/bash cd /opt/mailinglist/search ./ez_indexer.pl --update
Save and correct perms:
chmod 755 ezw-search chown root.root ezw-search
Then move under /etc/cron.hourly
Note that indexing is done incrementally, so it will be faster when just updating.
The End
This app can run with mod_perl, but I can't do it. Please, read the readme file, and if you can, please tell me howto, and then I update the package.
This is my first RPM package. If you have found a bug, please tell me about that.