Changes

From SME Server
Jump to navigationJump to search
26 bytes removed ,  00:16, 24 November 2020
no edit summary
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]
 +
 
 +
We have now added it to the contribs repo and are updating it for v10.
 +
 
 +
It needs the smeserver-dovecot-extras rpm
 +
 
 +
https://wiki.contribs.org/Dovecot-extras
 +
 
 +
 
 +
{{ #smeversion: smeserver-unjunkmgr }}
 +
 
 +
(currently in smedev)
    
==Description==
 
==Description==
Line 15: Line 26:  
==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
 +
 
 +
for SME10 you need the epel repository:
   −
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.3-1.noarch.rpm
+
  yum install --enablerepo=smecontribs,epel smeserver-unjunkmgr
  yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.3-1.noarch.rpm
     −
====Upgrading====
+
and then
 +
expand-template /etc/crontab
 +
expand-template /etc/httpd/conf/httpd.conf
 +
/etc/rc.d/init.d/httpd-e-smith restart
   −
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.3-1.noarch.rpm
+
or
  yum  --enablerepo=smecontribs --enablerepo=base localupdate sme-unjunkmgr-1.1.3-1.noarch.rpm
+
  signal-event post-upgrade; signal-event reboot
   −
{{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.}}
+
====Upgrading====
    +
  yum upgrade --enablerepo=smecontribs smeserver-unjunkmgr
 
====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.
Line 218: Line 235:     
|}
 
|}
 +
 +
=== Bugs ===
 +
Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla]
 +
Use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-unjunkmgr|title=this link}}.
 +
{{#bugzilla:columns=id,product,version,status,summary |sort=id|order=desc |component=smeserver-unjunkmgr|noresultsmessage="No open bugs found."}}
 +
 
----
 
----
 
[[Category:Mail]]
 
[[Category:Mail]]

Navigation menu