Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] mx-syncing

2005-06-09 by manu@netbsd.org

Fredrik Nyberg DC <nba@...> wrote:

> > Not yet, but you can write it. That would be simple: a command to ask a
> > peer to dump the whole database. 
> OK, I figured as much, just wanted to check that I don't start writing
> code that exists. I'll look into it.

See in sync.c. The current commands are
add, del, help, quit

You can add two commands:
dump greylist
dump whitelist

That would perform a text dump. The easier was is probably to cat the
dump file. You can also do a dump, but that would require adding locking
logic for that (see dump.c)

-- 
Emmanuel Dreyfus
Le cahier de l'admin BSD 2eme ed. est dans toutes les bonnes librairies
http://www.eyrolles.com/Informatique/Livre/9782212114638/livre-bsd.php
manu@...

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.