Koozali.org: home of the SME Server

[ANNOUNCE]: sme-unjunkmgr - second release

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #15 on: August 27, 2008, 02:43:45 PM »
Hi Jader,

Thanks for the feedback. I had written my email address wrongly - it was missing an "n" in the end of knudsen.

ad 2) The package requires the MRTG package which was missing from the original howto. This can be installed easiyl via:
yum install mrtg --enablerepo=base

ad 3) The two emails you get, are they identical? You should only get one email to admin but per user that it finds junkmails newer than 1 week.

ad 4) Good idea - I will add this to the list

ad 5) I only run this once a week - takes a long time to generate and it hasn't been done the last days. It does say 7 users in Brazil though.

ad 6) also makes sense. As you might have noticed then I did the at central.swerts-knudsen.dk

Thanks,
Jesper

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #16 on: August 27, 2008, 03:00:00 PM »
Hi Knuddi

Thanks about the info. Just resend the e-mail to you.

about to get two e-mails... the numbers on e-mail are different. One say I have 10 other 250 spams on junkmail (remember... in debug mode!)
If I understand the admin would receive an e-mail with report of ALL junkmail content of all users. That´s correct ?

I saw the 7 users in Brazil... I just think I have 7 (or more) servers in Brazil... for a long time.

Thanks

Jáder
...

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #17 on: August 27, 2008, 03:08:22 PM »
Admin will receive an email per user just as this user would receive his/her weekly email. So in debug mode you should get multiple emails for those users that have recent junkmail. That is likely to be 10 for one person and 250 for another (unlucky soul).

The summary email should state for which user it is reporting in the "Junk emails blocked for <user> : <number>

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #18 on: August 27, 2008, 03:32:41 PM »
Ok ... thank you...not sure how I do not see it! Maybe because one unlucky soul have 1505 messages and another one has 3066!

When running on debug mode I´m seeing this error message for some users:
Code: [Select]
Use of uninitialized value in substitution (s///) at /usr/local/unjunkmgr/spamreminder.pl line 152, <ORIGINAL> line 33.

...

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #19 on: August 27, 2008, 03:37:01 PM »
Augchh - that is a lot of spam for one week.

I'll get the regex fixed - it happens if an email does not have a subject line...

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #20 on: August 27, 2008, 03:37:36 PM »
Hi Jesper

I've installed and then uninstalled your contrib.. few minutes after "sme-unjunkmgr" I've got this mail:

Quote
/bin/bash: /usr/local/unjunkmgr/spamchanger.pl: No such file or directory

So I've checked /etc/crontab and lines of your contrib are still there.. a simple
Code: [Select]
expand-template /etc/crontab

solve the problem

HTH
Ciao
Stefano

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #21 on: August 27, 2008, 03:43:10 PM »
For a clean un-install, you would properly also need to expand httpd.conf. I will get this into the RPM uninstall section in next release.

Code: [Select]
expand-template /etc/crontab
expand-template /etc/httpd/conf/httpd.conf
/etc/rc.d/init.d/httpd-e-smith restart

Thanks,
Jesper
« Last Edit: August 27, 2008, 04:23:05 PM by Knuddi »

Offline jumba

  • *****
  • 291
  • +0/-0
  • Donations: July 2007 - $ 20.00
    • Smeserver på svenska!
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #22 on: August 27, 2008, 05:31:42 PM »
Another question:

Why do the numbers in "Scanned for Virus" and "Scanned for spam" differ so much???

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - first release
« Reply #23 on: August 27, 2008, 07:05:16 PM »
I think its because the two tests are made sequential (spam first I think) so only non-spam emails are AV scanned.

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Re: [ANNOUNCE]: sme-unjunkmgr - second release
« Reply #24 on: September 01, 2008, 01:56:21 PM »
Just wanted to make sure that you had seen the updated version that has fixed the regex issue as well as doing proper cleanup in case you install..

All future documentation updates will be on: http://wiki.contribs.org/Sme-unjunkmgr