Changes

Jump to navigation Jump to search
2,516 bytes added ,  20:08, 20 March 2022
no edit summary
Line 1: Line 1:  +
 +
=== Version ===
 +
{{ #smeversion: smeserver-ezmlm-web}}
 +
{{ #smeversion: ezmlm-idx}}
 +
 
===Install and configure ezmlm-web on SME Server===  
 
===Install and configure ezmlm-web on SME Server===  
   −
Before starting, uninstall any previous versions of ezmlm you have installed as this version is not compatible with earlier versions.
+
Before starting, uninstall any previous versions of ezmlm (prior ezmlm-idx-std-5 and ezmlm-idx-7.2.2) you have installed as this version is not compatible with earlier versions.
 
  −
The ezmlm contributed rpms are works in progress and newer versions may be released with different functionality so check the download sites to see if any later versions have been released.
      
Thanks to Gordon Rowell for developing the rpms.
 
Thanks to Gordon Rowell for developing the rpms.
   −
For further information please refer to the ezmlm.idx manual and faq at http://www.glasswings.com.au/ezmlm/
+
For further information please refer to the ezmlm.idx manual and faq at http://www.glasswings.com.au/ezmlm/ or http://untroubled.org/ezmlm/faq/
or from the EZFAQ at http://ezmlm.org/faq/index.html
      +
====Installation====
 +
<tabs container><tab name="For SME 10">
 +
yum install --enablerepo=smecontribs smeserver-ezmlm-web
   −
====Installation====
+
then go to you server-manager for configuring your first mailing lists
+
</tab>
Download the required rpms into an empty folder on your sme server using the Linux wget command
+
<tab name="For SME 9 and earlier">
   −
wget http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/rpms/ezmlm-idx-std-5.0.2-7sme1.i386.rpm
  −
wget http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/rpms/ezmlm-web-2.3-01sme02.i386.rpm
  −
wget http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/rpms/perl-Ezmlm-0.07-1.noarch.rpm
  −
wget http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/rpms/smeserver-ezmlm-web-1.1.2-11.noarch.rpm
     −
Install the RPMS
+
Install the packages with yum
   −
  yum localinstall *.rpm
+
  yum install --enablerepo=smecontribs smeserver-ezmlm-web
    
After the RPMS have been installed do
 
After the RPMS have been installed do
   −
  signal-event remoteaccess-update
+
  signal-event post-upgrade
  signal-event email-update
+
  signal-event reboot
   −
If required to get the panel to appear in the correct location in server manager under Collaboration (ignore all warnings that appear on screen)
+
Alternatively you can
   −
  /etc/e-smith/events/actions/navigation-conf
+
  expand-template /etc/ezmlm/ezmlmwebrc
 +
expand-template /etc/httpd/admin-conf/httpd.conf
 +
expand-template /etc/httpd/conf/httpd.conf
 +
expand-template /home/e-smith/files/ezmlm/lists/webusers
 +
service httpd-admin restart
 +
service httpd-e-smith restart
 +
config set UnsavedChanges no
   −
 
+
# Upgrading from other versions
====Upgrading from other versions====
      
Refer this thread http://forums.contribs.org/index.php?topic=40851.new;topicseen#new
 
Refer this thread http://forums.contribs.org/index.php?topic=40851.new;topicseen#new
Line 45: Line 51:     
Backup your ezmlm data first ie all of /home/e-smith/files/ezmlm/
 
Backup your ezmlm data first ie all of /home/e-smith/files/ezmlm/
 +
 +
</tab>
 +
</tabs>
 +
 +
    
====Configuration====
 
====Configuration====
    
When you log on to server manager, you will find a new menu item under Collaboration called Mailing Lists. This allows you to create a list with a set of modifiable default settings and set the list owner, the list administrator and also add subscribers either individually or from an existing text file and modify other configuration settings. The web interface panel allows you to select configuration options by checking tick boxes.
 
When you log on to server manager, you will find a new menu item under Collaboration called Mailing Lists. This allows you to create a list with a set of modifiable default settings and set the list owner, the list administrator and also add subscribers either individually or from an existing text file and modify other configuration settings. The web interface panel allows you to select configuration options by checking tick boxes.
 +
 +
    
==='''Creating, Configuring and Using Mail Lists'''===
 
==='''Creating, Configuring and Using Mail Lists'''===
   −
To be added
  −
This section deals with how to set up and use mail lists, and the various commands available to Manage lists remotely.
      +
The initial panel to create and manage access rights:
   −
===Additional information===
+
[[File:Mailinglist-ezmlm.png]]
 +
 
 +
The ezmlm-web interface where you can handle all possible options to manage your list.
 +
 
 +
[[File:Ezmlm-Subscribe.png]]
 +
 
 +
 
 +
There is also a panel userpanel-mailinglist to allow you to delegate only management of designated lists to one or more users. You will need to install also [[UserManager]] to allow access to this interface and more.
   −
If you receive an error message when trying to Modify the list Configuration then you need to change the ezmlm folder so it has the correct permissions by doing the following:
     −
  chown ezmlm:ezmlm ~ezmlm
+
If you want you can also use various commands available to Manage lists remotely or from command line. Please refer to the documentation at  http://untroubled.org/ezmlm/
      Line 66: Line 84:     
The switches and their meaning is summarized here.  
 
The switches and their meaning is summarized here.  
Both the FAQ and manual for ezmlm should be read fully to give you a complete understanding of the functionality of ezmlm.
+
Both the [http://untroubled.org/ezmlm/faq/ FAQ] and [http://untroubled.org/ezmlm/manual/ manual] for ezmlm should be read fully to give you a complete understanding of the functionality of ezmlm.
   −
The check boxes set the following switches. An important point to remember is that leaving these switches out will not prevent a list behavior necessarily. Most switches have a default value that will be used if you leave a setting out - check the faq carefully. The switches set are good safe settings but they may not serve your purposes.  
+
The check boxes set the following switches. An important point to remember is that leaving these switches out will not prevent a list behaviour necessarily. Most switches have a default value that will be used if you leave a setting out - check the faq carefully. The switches set are good safe settings but they may not serve your purposes.  
    
=====Default settings=====
 
=====Default settings=====
Line 176: Line 194:     
Users are encouraged to carefully read the manual and test the behavior of their list to ensure it does what you require.
 
Users are encouraged to carefully read the manual and test the behavior of their list to ensure it does what you require.
  −
  −
====Known bugs for fixing in next release====
  −
  −
The description field for the plain English description of each list can only be set when the list is first created.
  −
  −
The description is not modifiable later (it was in earlier versions).
  −
  −
You can modify it from the command prompt by doing:
  −
  −
/sbin/e-smith/db accounts setprop mylist Description "Description of list"
        Line 195: Line 202:  
Remember though, that if you have a large list of subscribers and send a message with a large attachment to the list, your server may be busy (and slow) for quite a while as the message with attachment is sent to all subscribers individually.
 
Remember though, that if you have a large list of subscribers and send a message with a large attachment to the list, your server may be busy (and slow) for quite a while as the message with attachment is sent to all subscribers individually.
   −
cd ~ezmlm/lists/listname
  −
  −
or
  −
  −
cd /home/e-smith/files/ezmlm/lists/listname
  −
  −
pico msgsize
  −
  −
change the value from
  −
  −
30000:2
  −
  −
to say
  −
  −
1000000:2
  −
  −
Press Ctrl+O to save.
  −
  −
Press Ctrl+X to exit.
      
Alternatively you can include in the message a URL link to a website or ftp location where the attachment can be read or downloaded. This avoids sending large attachments to list subscribers who may not wish to receive them and also helps to reduce web traffic. The list subscriber can visit the web or ftp site if they wish to obtain the file attachment.  
 
Alternatively you can include in the message a URL link to a website or ftp location where the attachment can be read or downloaded. This avoids sending large attachments to list subscribers who may not wish to receive them and also helps to reduce web traffic. The list subscriber can visit the web or ftp site if they wish to obtain the file attachment.  
Line 220: Line 208:  
====Modifying the default configuration====
 
====Modifying the default configuration====
   −
The default configuration of each new list is controlled by the contents of /etc/ezmlm/ezmlmrc.  
+
The default configuration of each new list is controlled by the contents of '''/etc/ezmlm/ezmlmrc'''.  
   −
Information about customizing ezmlmrc including these modifications can be found [http://ezmlm.org/faq/ezmlmrc.5.html here].  
+
Information about customizing ezmlmrc including these modifications can be found [http://untroubled.org/ezmlm/man/man5/ezmlmrc.5.html here].  
   −
The following changes alter the default message attachmemt size (from 30,000 to 500,000) and change the reply to address to be the list address.
+
You can edit the applicable sections of ezmlmrc to alter the default.
   −
Download the English configuration file from the following location:
+
<u>Note that these new settings are applied when you create a new list.</u>
   −
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/ezmlmrc-config/english/ezmlmrc
+
If you have existing lists and wish to apply these changes then you will need to either:
 +
* configure manually to the new settings your list via the web interface (recommended)
 +
* configure manually to the config files present in the list individual folder i.e. /home/e-smith/files/ezmlm/lists/MYLISTNAME/
 +
* delete all your lists, then download and replace the ezmlmrc file, and then recreate the lists. Upon recreation of the list the new defaults will be applied.
   −
and replace the current file located in /etc/ezmlm/ folder.  
+
If you wish to retain the data in existing lists, then you will need to backup your lists first.
 +
If you want back up the existing users, backup the folder /home/e-smith/files/ezmlm/lists/listname/subscriber/ for each list.
 +
Then, when you have finished recreating the list, copy your subscribers backup folders into each list.
   −
A modified Spanish version of ezmlmrc is here:
     −
http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/contribs/ezmlm/ezmlmrc-config/spanish/ezmlmrc
+
====Other usage tips====
   −
You can compare the files to see the differences using the diff command (assuming you copy the new file to /tmp) eg
+
If you wish to allow list users to send html messages or any other type of attachments, go to the configuration of the list and delete all entries under "Mime types to strip from all outgoing mail". Note that you can selectively remove entries that are applicable to the type of attachment you wish to only allow.
 +
 
 +
===Additional command line actions you might need===
   −
diff /etc/ezmlm/ezmlmrc /tmp/ezmlmrc
  −
  −
Note that these new settings are applied when you create a new list.
     −
If you have existing lists and wish to apply these changes then you will need to delete all your lists, then download and replace the ezmlmrc file, and then recreate the lists. Upon recreation of the list the new defaults will be applied.
+
====Other usage tips====
 +
If you receive an error message when trying to Modify the list Configuration then you need to change the ezmlm folder so it has the correct permissions by doing the following:
   −
If you wish to retain the data in existing lists, then you will need to backup your lists first.
+
chown ezmlm:ezmlm ~ezmlm
If you want back up the existing users, backup the folder /home/e-smith/files/ezmlm/lists/listname/subscriber/ for each list.
  −
Then, when you have finished recreating the list, copy your subscribers backup folders into each list.
     −
Alternatively you can edit the applicable sections of ezmlmrc
+
====modify description after creation====
 +
The description field for the plain English description of each list can only be set when the list is first created.
   −
around line 330
+
The description is not modifiable later (it was in earlier versions).
   −
# max & min message size
+
You can modify it from the command prompt by doing:
   −
  </msgsize#x/>
+
  /sbin/e-smith/db accounts setprop mylist Description "Description of list"
   −
30000:2
+
====list migration from a domain to another====
   −
Change this to suit your requirements eg
+
you might need to move a list from a domain to another, following the forum (http://forums.contribs.org/index.php/topic,49078.0.html) you might execute this :
 +
#! /bin/sh
 +
read -p "Please enter name of existing mailing list: " list
 +
olddomain=`/sbin/e-smith/db accounts getprop $list Domain`
 +
echo ".. and the new domain name as one of the following:"
 +
/sbin/e-smith/db domains keys
 +
read -p ".. new domain name: " newdomain
 +
echo "Changing mailing address for list $list"
 +
echo "from $list@$olddomain"
 +
echo "to   $list@$newdomain"
 +
read -p "OK? (y/n) " yn
 +
if [ "$yn" != "y" ]
 +
then
 +
echo "Exiting ..."
 +
exit
 +
fi
 +
/sbin/e-smith/db accounts setprop $list Domain $newdomain
 +
/sbin/e-smith/signal-event mailinglist-modify $list
 +
for f in config editor owner bouncer mailer moderator headeradd prefix listid inhost outhost
 +
do
 +
  file = "/home/e-smith/files/ezmlm/lists/$list/$f"
 +
  [ -a $file ] && sed -i.bak s/$olddomain/$newdomain/g $file
 +
done
 +
for file in /home/e-smith/files/ezmlm/lists/$list/text/*
 +
do
 +
  sed -i.bak s/$olddomain/$newdomain/g $file
 +
done
   −
# max & min message size
+
====migration from a server to another====
   −
</msgsize#x/>
     −
500000:2
+
if you need to move mailing list from a server to another you can do the following from the new server:
   −
around line 314
+
rsync  -ravpzHogt --bwlimit=3000 root@oldserverip:/home/e-smith/files/ezmlm/  /home/e-smith/files/ezmlm
 +
rsync -arzu /home/e-smith/db/accounts /home/e-smith/db/old/
 +
cd /home/e-smith/db/old/
 +
grep mailinglist  accounts>/home/e-smith/db/accounts
 +
signal-event mailinglist-update
   −
# Headeradd needs to always exist but leave out stuff for sublists
+
doing so, you will only need to reintegrate manually your subscribers, as all I saw is that the subscribers are still listed but can not send receive mail or being deleted through the manager. All other configurations and archives seems to be kept
 +
mkdir /root/oldsubscribers
 +
mv /home/e-smith/files/ezmlm/lists/afc/subscribers/* /root/oldsubscribers*
 +
cd /root
 +
cat -e /root/oldsubscribers/*|sed -e 's/T//g'|sed -e 's/\^@/\n/g'>/root/mylistsubs.txt
   −
</headeradd#E^0/>
+
then you only import the subscribers in the server-manager.
   −
# Good for mailing list stuff (and vacation program)
+
Of course if you also change the domain you have to check what's above.
   −
Change this to suit your requirements eg
+
====Sorry, only subscribers may post.====
 +
after changing server, or upgrading from aprevious version this could occurs for members previously on the list, while newly added members can post, or ut could occurs that you are not able to use the web panel and you get an error while trying to update the list. On the last version of smeserver-ezmlm-web we added few scripts to make the lists compatibles but in some cases you might need to run manual steps on every old list with issues to make them compatibles, Mostly it would be
 +
  ezmlm-make -++ /home/e-smith/ezmlm/lists/MYLIST
 +
  ezmlm-idx /home/e-smith/ezmlm/lists/MYLIST
   −
# Headeradd needs to always exist but leave out stuff for sublists
+
For very old lists version some more complex steps might be needed refers to the file /usr/share/doc/ezmlm-idx-7.2.2/UPGRADE for details
   −
</headeradd#E^0/>
+
== Bugs ==
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
and select the smeserver-ezmlm component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-ezmlm|title=this link}}.
   −
Reply-To: <#L#>@<#H#>
+
{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc |component=smeserver-ezmlm|noresultsmessage="No open bugs found."}}
   −
# Good for mailing list stuff (and vacation program)
+
==Changelog==
 +
Only released version in smecontrib are listed here.
   −
====Other usage tips====
+
{{ #smechangelog: smeserver-ezmlm-web}}
   −
If you wish to allow list users to send html messages or any other type of attachments, go to the configuration of the list and delete all entries under "Mime types to strip from all outgoing mail". Note that you can selectively remove entries that are applicable to the type of attachment you wish to only allow.
        Line 292: Line 321:  
[[Category:Contrib]]
 
[[Category:Contrib]]
 
[[Category:Mail]]
 
[[Category:Mail]]
 +
[[Category:Mail:Mailinglists]]
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,250

edits

Navigation menu