Carlos E. R. wrote:
In my case, it is used a few times a day, or perhaps none. I could do a script to run fetchmail and previously load it.
Well, maybe for that situation it is an abuse of resources, but why bother with a daemon at all when your usage pattern is on-demand and infrequent? Just scan your mails straight from procmail, in particular if you're worried about resource usage.
If I scan from procmail, either I use clamd, in which case the situation is the same regarding memory usage, or I use clamav, which means loading it a hundred times, once per email. It takes a minute to scan a file, clamav is very slow to start up.
You seem to want to have your cake and eat it :-) You want fast scanning, but you don't want clamd to keep the database in memory to enable that. Starting and stopping before and after each batch is perhaps a solution. Not sure you can make that work with xinetd, it usually starts a new instance per request. -- Per Jessen, Zürich (32.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org