Am 06.02.2014 14:41, schrieb Konstantin:
> I have postfix-2.10.2 with milter and amavis as smtpd_proxy_filter installed.
> All information stored in database and at 1st min of each hour domains and 
> recipients copied to local files. Then
> postmap command performed.

don't run postmap just for fun
learn your script to make a tmp file and verify if there are changes

* sha1sum current config
* generate new tmp config
* sha1sum new tmp config
* atomic mv if changes happened
* postmap only if changes and mv happened

> At the same time between "16:01:37" - "16:09:25" a lot of mail accepted by 
> postfix (the same domain also).
> 
> My question why is this happen?
> What is the safe way to update recipients tables and another hash files?

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

http://www.postfix.org/DATABASE_README.html

Reply via email to