[opendmarc-users] History file name
Murray S. Kucherawy
msk at blackops.org
Mon Sep 17 22:28:17 PDT 2012
On Mon, 17 Sep 2012, Marcos wrote:
> I'd like to separate the history file automatically, without using
> flock, as this could cause a pause in opendmarc while other process
> handles the same file. And, using a new file automatically, I wouldn't
> need to clean the file before read data.
If you rename the history file, the next arriving message will just create
a new one and begin locking it. Any locks on the old one will go away as
soon as the last opendmarc thread is done using it, and then your reader
can import or otherwise use the data, and then remove it.
-MSK
More information about the opendmarc-users
mailing list