Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 17th April 2009, 09:30
madmucho madmucho is offline
Senior Member
 
Join Date: Oct 2006
Location: Czech republic, Karlovy Vary
Posts: 158
Thanks: 78
Thanked 11 Times in 11 Posts
Send a message via ICQ to madmucho
Default

When there is no problem no output is made, if you have &> /dev/null in your crontab line you will never get response from updates, if there will be problem, you will not get message becasuse response is pointed to null..

if you look in script writen above this topic there is exit value of sa_update function
if [ $exitcode = 0 ]; then....

elif [ $exitcode = 1 ]; then...
Reply With Quote
Sponsored Links
  #12  
Old 19th April 2009, 15:31
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

Ok, thank you.

Does SA need restart after update?
Any way of checking manually that update was successful?
Reply With Quote
  #13  
Old 19th April 2009, 18:48
bluethunder82 bluethunder82 is offline
Member
 
Join Date: Sep 2006
Posts: 92
Thanks: 0
Thanked 9 Times in 5 Posts
Default

Hi Hagforce,
I may be wrong but spamassassin does not need to be restarted each time a definition is updated. This is not the case if you use it as a daemon.

Not sure if I understand your manual checking but if you want to see what the latest definitions are in your version of spamassassin visit:

HTML Code:
/home/admispconfig/ispconfig/tools/spamassassin/usr/var/spamassassin/

Also, in my original code I tried to get the version of the definitions displayed but never got it to work. That being said the information sent via email regarding the versioning was removed. Currently once a week I get an email telling me if new definitions were downloaded. Otherwise nothing else is done. However, from the operation of my ispconfig server this is sufficient.
Reply With Quote
  #14  
Old 20th April 2009, 13:43
Hagforce Hagforce is offline
Senior Member
 
Join Date: Feb 2006
Posts: 210
Thanks: 37
Thanked 1 Time in 1 Post
Default

Ok thank you.

I see that the files have updated, so the script works, thank you.
But the files in "/home/admispconfig/ispconfig/tools/spamassassin/usr/share/spamassassin" have not updated, is these files not in use?
Reply With Quote
  #15  
Old 20th April 2009, 13:55
madmucho madmucho is offline
Senior Member
 
Join Date: Oct 2006
Location: Czech republic, Karlovy Vary
Posts: 158
Thanks: 78
Thanked 11 Times in 11 Posts
Send a message via ICQ to madmucho
Default

as you can see on this page > sa_update
this file update spamassasin rules, rules which make unwanted mail spam
spamassasin self need to be recompiled or repackaged in your system when new release is out.
Reply With Quote
  #16  
Old 21st September 2009, 08:24
mathewhayden mathewhayden is offline
Junior Member
 
Join Date: Sep 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello..
Thank you very much for sharing this information us. It will be really very helpful for everybody including me. It is really useful. I will also try these instructions on my server. If I get any type of problem,I will surely discuss it with you. You have done a great job and keep doing good work.
__________________
r4
Reply With Quote
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
Fedora 4 TPS mail problem Hagforce HOWTO-Related Questions 13 10th February 2010 18:23
php 5.2.0 update! cybereatl Installation/Configuration 1 15th November 2006 09:22
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
install Net::DNS chrno Installation/Configuration 4 5th September 2006 17:01
WARNING: services not running MicCo Installation/Configuration 31 4th September 2006 12:16


All times are GMT +2. The time now is 16:05.


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