On Sun, May 19, 2013 at 4:24 PM, <manu@...> wrote: > One caveat for the log file: how do we resume operations? We lookup all > addresses in the log until we find one not registered? And we need to > clear older entries after some time, but how can it be done efficiently? > (that is without moving the data within the file toward start) Don't log the addition until you have actually done the nsupdate op, after that it's BINDs responsibility and it uses journaling for the transactions so it should be safe to restart. If the log file is produced by syslog a contributed script can parse it using a marker, extracting timestamp and addresses. Number of hours for removal should be configurable. Even simpler would be to combine it with logrotate and have a script remove all entries in the not current log file. Up to the user to set logrotate intervals. /peter
Message
Re: [milter-greylist] nsupdate support
2013-05-19 by Peter Bonivart
Attachments
- No local attachments were found for this message.