Zitat von DN Singh <[email protected]>:

Hello group,

I was configuring some restrictions on the Postfix level using access map.
It is in has format.
It is has a pretty good number of domains in it. So, I was wondering, how
large can be the file, without affecting the performance?
These are configured in recipient restrictions, so during each and every
mail, it will do a lookup for that domain.
Please consider the scenario and let me know the limit.

The file based databases are really fast for key->value lookups Postfix is doing, so the limits would be pretty high. I might be that you don't see any difference with the number of keys (domains in your case) as long as the index fit in the db cache. For tuning the used Berkeley DB have a look here:
http://doc.gnu-darwin.org/am_misc/tune.html
For some rough numbers on performance and also for the alternative using cdb have a look here:
http://www.dmo.ca/blog/benchmarking-hash-databases-on-large-data/

Regards

Andreas


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to