On 19 Oct 2003 Keith C. Ivey ([EMAIL PROTECTED]) wrote: > Nancy McGough <[EMAIL PROTECTED]> wrote: > > > I have a related question: How can I have _HITS_ display only > > one digit after the decimal point. For example, instead of 8.42 > > just display 8.4? It's fine if I need to edit the code and > > recompile SA. > > Look in PerMsgStatus.pm for the lines like this (there are > two): > > $tag =~ s/_HITS_/sprintf("%05.2f", $self->{hits})/e; > > Changing the "%05.2f" to "%04.1f" (or whatever you prefer) > should do it. There's no need to recompile anything. Just > restart spamd if you're using it.
Thanks very much -- it worked! Now some more questions: * This file had permission 444 and I changed it to 644 to edit it. Is there any problem leaving it 644? Procmail has problems with some permissions so I'm just wondering if SA does too. * Is there any problem if I leave a file named PerMsgStatus-ORIGINAL.pm in that directory? I've read that, for example, all the .cf files are used in another SA directory so I'm wondering if something like that could be a problem here. * It seems to me that one decimal place is enough for most people so I wonder if that should be the default? Thanks again, Nancy -- Nancy McGough <http://www.ii.com> Infinite Ink Writing about procmail, imap, pine, spam-deflexion strategies & more ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk