At 03:48 PM 9/29/2003, Jason Keltz wrote:
1) The first time that SpamAssassin uses razor to process a message,
   the log file ends up in the users home directory -- ~/razor-agent.log
   In all subsequent uses of Razor, the log file ends up in the
   ~/.razor directory.  Why does this happen? Is this a bug?
   (The big problem is that a lot of users see the .razor-agent.log file
    show up suddenly, and they think someone has been using their
    account!)

Hmm, that would appear to be a bug. Not a serious one, but a bug none the less.


It only appears to happen when the .razor directory doesn't exist yet, razor seems to default to creating the log in ~/ when that is the case.

Turning debug output on prevents the creation of razor-agent.log, so it cannot be used to debug this behavior.

Strangely this happens with 2.22 and 2.34 that I have on some older test boxes, so this behavior isn't new.


2) The log file in ~/.razor grows every time SpamAssassin processes a
   message with Razor.  Is there some way to limit the size of the file?
   or will it grow indefinately, thus eventually filling users quotas.

Razor doesn't have a logfile limit. Really all you can do is make the logfile be /dev/null.


Size limit might be a nice feature to add, but I suspect it would be a bit on the painful side to implement. That said, I don't do perl code, so I'd be unaware of any perl language features that would make this easy.





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Razor-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/razor-users

Reply via email to