Changes

From SME Server
Jump to navigationJump to search
1,116 bytes removed ,  17:50, 24 September 2013
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
====Install from smecontribs repository====
+
  signal-event post-upgrade; signal-event reboot
You can install this contribs by a yum with the following command
  −
  yum install --enablerepo=smecontribs smeserver-unjunkmgr
      
====Upgrading====
 
====Upgrading====
  −
wget http://sme.swerts-knudsen.dk/downloads/unjunkmgr/sme-unjunkmgr-1.1.3-1.noarch.rpm
  −
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.}}
  −
  −
or this command if you have used yum to install this contrib.
      
   yum upgrade --enablerepo=smecontribs smeserver-unjunkmgr
 
   yum upgrade --enablerepo=smecontribs smeserver-unjunkmgr
Line 38: Line 32:  
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