On Sat, 9 Apr 2005 17:34:45 -0700 Joshua Tinnin wrote: > On Saturday 09 April 2005 17:10, "Gerald V. Livingston II" > <[EMAIL PROTECTED]> wrote:
> > sa-learn -- anyone have a way to stat() all the SPAM folders and run > > sa-learn only on those that have new messages added by customers? I > > could find them using 'find' by searching on the mod date but I'd have > > to have some way for sa-learn to know the username to run as. > > Run it from each user's crontab. Each user will not HAVE a crontab. This is a full virtual setup. No entries in /etc/passwd, no local accounts at all. Plus, I don't want to run it for every address on the system. Why run sa-learn 7000 times if only 2000 users are actually moving spam to be learned into the proper folders? Gerald