On Thu, 25 Sep 2003 11:16:16 +1200, Jason Haar wrote: > Sorry, but I don't want to see another 30K of perl added for such a simple > thing. Don't forget, EACH instance of Q-S would have to load that 30K worth > of code - just to get around a problem with find. (that's why I'd rather fork > a standard util to do it). > > To be honest, if Solaris find can't do the job, then I'd rather just > document it and let the Solaris sites write a separate cronjob that does a > find to do it. Arg - but you say the Solaris find commands can't... Ga... > > What to do, what to do.... > > Now I'm heading back to your original suggestion of exiting with an error if > it can't find a decent find :-} (i.e. install GNU find)
It certainly would add unnecessary overhead to qmail-scanner for everyone who doesn't use Solaris. Perhaps it could be included as a standalone program in the distribution, or even just referenced in the sFAQ, with a link to it there. That's how I use it on my server, standalone from cron. About the only way I think stock solaris cron would handle it is if you ran two seperate +mtime finds against /var/spool/qmailscan/working and some other directory where the systemname.timestamp/ directories were housed, like /var/spool/qmailscan/expand. Then it would never touch the quarantine or archive directories at all, nor the .log / .txt / .db files in /var/spool/qmailscan. A third option would be to check the error code from find when you run the -z cleanup, and log errors, and explain in the faq what causes these errors. When I was running it before I fixed it, it would just chug on along and say everything had ran great when it really had done nothing. Running the checks in ./configure and telling them to install GNU find would work as well. A couple items of note are that since I commented out the Sys::Syslog lines due to their problem with Solaris 5.8, and started using ripmime instead of reformime, I haven't had all the errors that would cause qmail-scanner to abort in the unpacking and leave all those directories behind in the first place. Reformime was complaining about a write: error 0 on a goodly number of mime messages. -- Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general