Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Knuddi on April 02, 2009, 01:05:48 PM
-
The UnJunk Manager has been updated based on feedback from a great deal of users (thanks for the feedback).
Updates:
- Updated statistics overview to use pie charts for spam and different tables for virus found
- Added new configuration parameters for most commonly asked changes to avoid hard-coding
- Improved log file checks to avoid catching errors and warnings from f.ex ClamAV
- Generally improved code to remove warnings to admin when sending weekly summary emails
Installation/Upgrade:
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.0-1.noarch.rpm
yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.0-1.noarch.rpm
I have updated the Wiki with all the new configuration parameters.
http://wiki.contribs.org/Sme-unjunkmgr
Enjoy,
Jesper
-
Great!
What would be the correct way to update from sme-unjunkmgr-1.0.0-1 ???
-
You change the "localinstall" to a "localupdate"
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.0-1.noarch.rpm
yum --enablerepo=smecontribs --enablerepo=base localupdate sme-unjunkmgr-1.1.0-1.noarch.rpm
/Jesper
-
Yes of course, - stupid me ;) ;) ;)
Thanks for a very quick answer and a great contrib :pint:
-
Hi,
Thanks for your work with this. Not sure whether you want us to report problems here?
I uninstalled the previous version and installed the new version early today and today's (Friday) batch job at 1pm failed with the following email:
syntax error at /usr/local/unjunkmgr/spamreminder.pl line 112, near ") {"
Execution of /usr/local/unjunkmgr/spamreminder.pl aborted due to compilation errors.
-
Found that one - seems that I am not able to spell to "if" :-( I have created a new release which has been sync'ed to the mirrors now.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.1-1.noarch.rpm
Please notice that I have found a bug in the older releases causing updates to fail (main directory will be deleted by post install script...). This means that in order to upgrade to 1.1.1-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.
-
Another question:
If I don't want to send out notifications to users, I execute
/sbin/e-smith/db configuration setprop unjunkmgr useremails no
This seems to disable the admin report mails as well.
Would it be possible to get only admin notifications, but no user notifications?
-
Do I understand correctly that you (admin) want to receive summary emails per user but do not want the users to receive the same? That I didn't include as an option right now I am afraid.
-
Yes Knuddi, you understand me correctly.
The situation I'm trying to adopt this for is a very common one though:
Most users on most servers don't have much problem with spam, and often they get more frustrated than helped by those weekly reports.
But as often, a small number of users attract huge numbers of spam, so the admin still needs those individual reports in order to slam them on the actual users's desk.
Hope you understand what I'm suggesting...
Best Regards!
-
Jumba,
I have now made a new revision with this functionality enabled. If you disable useremails and enable adminemails you should what you were looking for.
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.2-1.noarch.rpm
Enjoy,
Jesper
-
Great!
I just upgraded, and it seems to work.
Found a minor typo in your wiki page though:
wget http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SME7/UnJunkMgr/sme-unjunkmgr-1.1.2-1.noarch.rpm
yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.1-1.noarch.rpm
That last line should of course read:
yum --enablerepo=smecontribs --enablerepo=base localinstall sme-unjunkmgr-1.1.2-1.noarch.rpm
Happy Eastern to you!