Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: jmarcosm on August 16, 2015, 08:31:39 PM

Title: How to remove Jesper Knudsen unjunkmgr from SME V. 9
Post by: jmarcosm on August 16, 2015, 08:31:39 PM
Hi ,

I have installed sme 9 , fully upgraded and performed a restore from a SME 8 vers.

Everything is ok , but the cron is firing messeges : /bin/bash: /usr/local/unjunkmgr/spamchanger.pl: file doesnt exist

Could somebody give me an advace on howto remove completely the unjunkmgr from my system?

Thank you very much in advance

Marcos Migliorini
Title: Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
Post by: Stefano on August 17, 2015, 11:54:42 AM
hi, please post the output of

Code: [Select]
/sbin/e-smith/audittools/templates

thank you
Title: Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
Post by: stephdl on August 17, 2015, 12:32:43 PM
looking how works the rpm you have three templates
* crontab
/etc/e-smith/templates/etc/crontab/unjunk
/etc/e-smith/templates/etc/crontab/unjunkstats

*http
/etc/e-smith/templates/etc/httpd/conf/httpd.conf/unjunkmgr

but I don't understand why you have them in your backup ???

normally we don't backup templates, do I'm wrong ?

please answer to stefano, i'm interested to see if the auditools can find them
Title: Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
Post by: Knuddi on August 17, 2015, 12:48:36 PM
unjunkmgr places all its working files in \usr\local\unjunkmgr and then places the templates as specified above. You can basically delete the templates and then expand the crontab file (expand-template /etc/crontab) and the restart cron (/etc/init.d/crond restart).

Does this not work:
http://wiki.contribs.org/Sme-unjunkmgr#Uninstall

/Jesper
Title: Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
Post by: jmarcosm on August 18, 2015, 05:24:25 AM
Hi,

Thank you Jesper for your advice! No everything is ok. Is good to read you again.
Thanks also to Stefano and stephdl for traying to help me.

Kind regards

Marcos