[SOLVED] Re: (no report template found) - no 10_misc.cf but sa-update shows correct paths
On 28/09/2010 12:45, Karsten Bräckelmann wrote: On Tue, 2010-09-28 at 10:36 +0100, Edward Prendergast wrote: clear_report_template - I don't have this set in any of my configs It's part of 10_default_prefs.cf of the stock rule-set. To get the no template found error I'm running: spamassassin -C /etc/opt/mail/spamassassin/ -t /path/to/message ^^ Why are you using that option? The given path looks like your site config dir, not the default rule-set dir. The latter, which is what -C sets, also is the dir where sa-update puts the rules. See 'man spamassassin-run'. Also see 'man spamassassin' for the dirs used by default on your site, as set during configure. Not sure if it's OK to paste debug output here (20k) - if so (and it's wanted) please let me know and I'll include it/ It is OK -- or use a pastebin, if you prefer. Right you are - thanks! I should have been using the --siteconfigpath= switch for a more accurate test. Thanks The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any action taken or omitted to be taken in reliance on it, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited and may be unlawful. If you have received this E-mail message in error, please notify us immediately. Please also destroy and delete the message from your computer.
(no report template found) - no 10_misc.cf but sa-update shows correct paths
Hi, I'm seeing (no report template found) on: SpamAssassin version 3.3.2-r929478 running on Perl version 5.12.2 This is a build of perl installed in /opt/perl5. Took SpamAssassin from the SVN repo to get around the taint issue as this doesn't seem to have made it onto CPAN yet (https://svn.apache.org/repos/asf/spamassassin/branches/3.3/ The docs I've seen from googling all seem to point to: clear_report_template - I don't have this set in any of my configs Failure to access 10_misc.cf - I don't have this on my system, but it also doesn't seem to exist on other systems which are working? To get the no template found error I'm running: spamassassin -C /etc/opt/mail/spamassassin/ -t /path/to/message Not sure if it's OK to paste debug output here (20k) - if so (and it's wanted) please let me know and I'll include it/ Any pointers in the right direction would be much appreciated! Thanks, Edward The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, any action taken or omitted to be taken in reliance on it, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this E-mail message is strictly prohibited and may be unlawful. If you have received this E-mail message in error, please notify us immediately. Please also destroy and delete the message from your computer.
Re: (no report template found) - no 10_misc.cf but sa-update shows correct paths
On Tue, 2010-09-28 at 10:36 +0100, Edward Prendergast wrote: clear_report_template - I don't have this set in any of my configs It's part of 10_default_prefs.cf of the stock rule-set. To get the no template found error I'm running: spamassassin -C /etc/opt/mail/spamassassin/ -t /path/to/message ^^ Why are you using that option? The given path looks like your site config dir, not the default rule-set dir. The latter, which is what -C sets, also is the dir where sa-update puts the rules. See 'man spamassassin-run'. Also see 'man spamassassin' for the dirs used by default on your site, as set during configure. Not sure if it's OK to paste debug output here (20k) - if so (and it's wanted) please let me know and I'll include it/ It is OK -- or use a pastebin, if you prefer. -- 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;il;i++){ i%8? c=1: (c=*++x); c128 (s+=h); if (!(h=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}