Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th December 2010, 14:01
colskinet colskinet is offline
Junior Member
 
Join Date: Aug 2008
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default SpamSnake 10.10 issue - Quarantine reports

Hi All

I've got my SpamSnake successfully up and running but have a small issue with a cron job which runs.

Code:
# m h  dom mon dow   command
37      5 * * *  /opt/MailScanner/bin/update_phishing_sites
07      * * * *  /opt/MailScanner/bin/update_bad_phishing_sites
58     23 * * * /opt/MailScanner/bin/clean.quarantine
42      * * * *  /opt/MailScanner/bin/update_virus_scanners
3,23,43 * * * *  /opt/MailScanner/bin/check_mailscanner &> /dev/null

30 01 * * * /usr/bin/sa-learn --force-expire --sync -p /opt/MailScanner/etc/spam.assassin.prefs.conf

@daily  manage.py cleanquarantine #Clean quarantine
* * * * 5  manage.py sendquarantinereports #Send quarantine reports
@monthly manage.py  dbclean #Clean maillog
@weekly  manage.py updatesarules #Update spamassassin rules
@daily  manage.py sendpdfreports #Send PDF Reports

@weekly /usr/sbin/fuzzy-cleanmysql #FuzzyOcr DB cleaner

00 04 * * * /usr/bin/clamav-unofficial-sigs.sh -c /etc/clamav-unofficial-sigs.conf &> /dev/null

@monthly /usr/sbin/update-iana &> /dev/null #Update firehol reserved ips
Thats the output of crontab -l

Up until yesterday I was receiving scheduled quarantine reports but I now am getting quarantine reports sent to me every minute! I woke up this morning and had 1400 odd email reports!

Any ideas how to stop this? Have tried the faithful reboot and that's made no difference.

Regards
Colin
Reply With Quote
Sponsored Links
  #2  
Old 24th December 2010, 15:27
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

[QUOTE=colskinet;247470]
Code:
* * * * 5  manage.py sendquarantinereports #Send quarantine reports
Thats your problem, that cronjob is incorrectly setup.

Use @daily instead and restart cron.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 24th December 2010, 15:41
colskinet colskinet is offline
Junior Member
 
Join Date: Aug 2008
Posts: 24
Thanks: 1
Thanked 1 Time in 1 Post
Default

[QUOTE=topdog;247473]
Quote:
Originally Posted by colskinet View Post
Code:
* * * * 5  manage.py sendquarantinereports #Send quarantine reports
Thats your problem, that cronjob is incorrectly setup.

Use @daily instead and restart cron.
Thanks topdog, have just updated my crontab so hopefully this will cure it. Not sure why it's just started doing this though as it was set to * * * * 5 in the tutorial that I copied and pasted from.

Regards
Colin
Reply With Quote
  #4  
Old 25th December 2010, 19:17
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

Quote:
Originally Posted by colskinet View Post
Not sure why it's just started doing this though as it was set to * * * * 5 in the tutorial that I copied and pasted from.
That cron statement means send every second every min every hour, every month on a friday.
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
The Following User Says Thank You to topdog For This Useful Post:
Rocky (28th December 2010)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MailWatch Error: no rows retrieved from database sergio.arnaldo Server Operation 25 21st March 2011 06:05
More Perfect SpamSnake 10.10 probs! colskinet HOWTO-Related Questions 7 19th December 2010 19:51
SpamSnake Daily Quarantine Reports -No luck frogman HOWTO-Related Questions 7 5th January 2010 11:46
MailScanner trouble with DBD-MYSQL sergio.arnaldo Server Operation 11 26th August 2009 18:08
SpamSnake SpamAssassin not working? getrav HOWTO-Related Questions 5 23rd June 2008 23:02


All times are GMT +2. The time now is 18:15.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.