My OS is Freebsd. > opening a directory for reading and processing over the entries once, > might take a few seconds. but thereafter the inodes are stored in whats > called the inode cache, so future cycles will not consume so many cycles > as a bulk of the work has already completed.
Do you think that qmail works like this way (scan directories periodly) ? > if you are breaking your mail server into chunks so that you have > control/queue files in certain locations, that are not part of the > incomming mail process, why not just execute the sending process from > within the process that accepts the mail? would avoid having to store > the mail for the first instance. If the process that accepts the mail can't work as what I want , it should place the file in a directory, so I have to use another process scan the direcoties later to retry.
