On Tue, 2009-04-21 at 10:33 +0430, amir reza rahbaran wrote: > I ran sa-update and nothing was wrong . After completing its work I > run "stat /var/lib/spamassassin/3.002004/" and show following results:
Please note that sa-update is silent, unless there are errors -- regardless whether there was an update or not. You can check the exit code to see if anything has actually been updated. http://wiki.apache.org/spamassassin/RuleUpdates > File: `/var/lib/spamassassin/3.002004/' > Access: 2009-04-21 08:08:36.000000000 +0430 > Modify: 2009-04-16 08:46:46.000000000 +0430 > Change: 2009-04-16 08:46:46.000000000 +0430 > > The first question is that why Change Date has not changed yet > (Today`s Date: 2009-04-21) ? Because there is no update since April 16. > Second how can I get spamassassin update date ? The per-channel cf file probably is a good indication about when you last run sa-update *and* an update actually was available. (It is not the date of the update being pushed, though.) $ ls -l /var/lib/spamassassin/3.002005/updates_spamassassin_org.cf guenther -- char *t="\10pse\0r\0dtu...@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}