On Thu, 2009-07-23 at 09:22 -0700, Mike Cappella wrote: > Just as an FYI. I have had (only) one experience where a positive > download contained a corrupted SOUGHT rule file, and an amavis restart > failed.
What exactly do you mean by "corrupt rule file"? Sounds to me like lint testing should have failed already. Also, how exactly do you restart amavis after an sa-update? Are you listening to the exit codes? > http://marc.info/?l=amavis-user&m=116189238122548&w=2 Hmm, the advice in the first post is wrong. I don't use amavis myself, but AFAIK you actually do need to restart amavis after any rule changes, contrary to what the post claims. Same with spamd, FWIW. Also, one does not need to call 'spamassassin' to lint check. sa-update does this. (Any lint check is not strictly necessary anyway, but a very sensible safety measure.) > http://marc.info/?l=amavis-user&m=116213281631150&w=2 And here someone mixes up the dirs. sa-update does not use the site- config dir for its channels -- that is, not unless one specifically tells it to, which isn't a good idea. -- 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; }}}