Changes

From SME Server
Jump to navigationJump to search
766 bytes removed ,  17:50, 24 September 2013
Line 1: Line 1:  
==Maintainer==
 
==Maintainer==
This contrib has been developed by [[User:Knuddi|Jesper Knudsen]]  
+
This contrib has been developed by [[User:Knuddi|Jesper Knudsen]] from [http://smeoptimizer.swerts-knudsen.dk SME Optimizer]
    
==Description==
 
==Description==
Line 15: Line 15:  
==Installation==
 
==Installation==
   −
The package needs the Perl-MIME-Lite package to be able to send out HTML formatted emails and MRTG to create the statistics graphs. These packages are available from smecontribs and base respectively.
+
You can install this contribs by yum with the following command. You should use this method as you will have always the newest version.
 +
yum install --enablerepo=smecontribs smeserver-unjunkmgr
   −
  wget http://sme.swerts-knudsen.dk/downloads/unjunkmgr/sme-unjunkmgr-1.1.3-1.noarch.rpm
+
and then
  yum  --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.3-1.noarch.rpm
+
  expand-template /etc/crontab
 +
expand-template /etc/httpd/conf/httpd.conf
 +
  /etc/rc.d/init.d/httpd-e-smith restart
   −
{{Note box|If you are running SME8 (beta), then you need to manually install an extra perl package as. Please issue a yum update perl-Email-Date-Format}}
+
or
 +
signal-event post-upgrade; signal-event reboot
    
====Upgrading====
 
====Upgrading====
   −
wget http://sme.swerts-knudsen.dk/downloads/unjunkmgr/sme-unjunkmgr-1.1.3-1.noarch.rpm
+
  yum upgrade --enablerepo=smecontribs smeserver-unjunkmgr
yum --enablerepo=smecontribs --enablerepo=base localupdate sme-unjunkmgr-1.1.3-1.noarch.rpm
  −
 
  −
{{Note box|Note that I have found a bug in the older releases (1.0.x) causing updates to fail (main directory will be deleted by post install script...). This means that in order to upgrade to 1.1.3-1 you will need to uninstall the old version first and then do the install of the new. Side effect is that your old log files (statistics) will also be deleted. If you want to avoid this you need to save a copy of all *.old and *.log files within /usr/local/unjunkmgr directory. These can be copied back after install is completed.}}
  −
 
   
====Uninstall====
 
====Uninstall====
 
You can simply remove the package again with the usual yum command.  
 
You can simply remove the package again with the usual yum command.  
   −
  yum remove sme-unjunkmgr
+
  yum remove smeserver-unjunkmgr
    
NOTE: If you are uninstalling version '''1.0.0-1''' you also need to also expand templates.
 
NOTE: If you are uninstalling version '''1.0.0-1''' you also need to also expand templates.

Navigation menu