Koozali.org: home of the SME Server

How to remove Jesper Knudsen unjunkmgr from SME V. 9

Offline jmarcosm

  • ***
  • 59
  • +0/-0
How to remove Jesper Knudsen unjunkmgr from SME V. 9
« 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
...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
« Reply #1 on: August 17, 2015, 11:54:42 AM »
hi, please post the output of

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

thank you

Offline stephdl

  • *
  • 1,523
  • +0/-0
    • Linux et Geekeries
Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
« Reply #2 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
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
« Reply #3 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

Offline jmarcosm

  • ***
  • 59
  • +0/-0
Re: How to remove Jesper Knudsen unjunkmgr from SME V. 9
« Reply #4 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
...