Viktor, Thank you for the answer. I will try cdb. When i will change default_database_type to cdb can i also move from: mynetworks = cidr:/etc/postfix/relaynetworks to mynetworks = cdb:/etc/postfix/relaynetworks
or CIDR ip's not supported in cdb? > [email protected] > if you have your information as you said in a database why in the world are you generating static configurations instead use that database directy which leads to no additional magic needed and changes get active in real time We use mongodb to store domains & recipients settings. Server accept 70k mail / day and i prefer to use local files instead any database in this server. Thanks. 2014-02-06 Viktor Dukhovni <[email protected]>: > On Thu, Feb 06, 2014 at 03:41:10PM +0200, Konstantin wrote: > > > My question why is this happen? > > What is the safe way to update recipients tables and another hash files? > > You're asking the right question, fortunately it is already answered: > > http://www.postfix.org/DATABASE_README.html#safe_db > > If you have a Postfix compiled with "cdb" support, consider using > "cdb" for all indexed file tables. The "cdb" on-disk format never > changes, it is faster and uses less RAM. Table rebuilds are atomic. > > The only downside of "cdb" is that it does not support incremental > updates, and thus is not suitable for various volatile Postfix caches. > > -- > Viktor. >
