> Oh yes - you're right there. In that case Q-S would crash due to an > out-of-memory error and tempfail wouldn't get called - so there would be > debris... I call that a feature ;-)
Sorry, I promise this is my last message on this point! Is it possible to guard against this scenario ? ie, let's assume (I haven't looked/tested/tried this) that sending an email with a suitably large From address will cause qmail-scanner to crash due to out of memory. Assume the From size required is 400kB. I can just send the same message again and again, and eventually cause qmail-scanner to run out of disk space if I send enough of them in time. So, is there some method to tell perl, if you run out of memory, give me a signal so I can fail nicely instead of just exiting. > [The documentation does suggest that everyone runs > "qmail-scanner-queue.pl -z" every few days to clean out such messes... But > typically they don't happen] Yes, it does, but I tend to prefer to know when something goes wrong, so my monitoring threshold for disk space is around 20% full, (because normal is around 10% full) so I see these things when they happen. Also, it is made worse because some mail servers see a tempfail and will immediately retry, instead of waiting a while. (I also noticed a *constant* 64kbps of inbound bandwidth in use over a 4 day period, before I noticed what was happening.... I suppose the sender only had 64kbps of bandwidth :) Regards, Adam _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general