On Fri, 10 Dec 2004 22:48:13 +0100 manu@... wrote: MO> MO> Ivan F. Martinez <ml@...> wrote: MO> MO> > MO> That's not really a bekreley DB related problem, you can do MO> > MO> that with any backend, can't you? MO> > MO> > Yes, I'm just thinking about berkeley because as it is used by MO> > sendmail, any machine where milter-greylist will be installed will MO> > have the berkeley libs. MO> MO> I'm not sure milter-greylist should use Berkeley DB. MO> MO> Sendmail's databases are mostly read-only, and generated from text MO> files. If you crash, it's not a problem: in the worst scenario you MO> crashed during DB regeneration, and you just have to rebuild it. MO> MO> milter-greylist is continously modifying its database. If you crash MO> you can loose the database. The current code is trying hard to avoid MO> database corruption on crashes, and moving to Berkeley DB will MO> probably be a step backward on this front. My idea is to use Berkeley on the big whitelist, not for dynamic part. I'm testing a patch to access the db from sendmail and passing data to milter. The patch is available : http://www.saisp.br/ifm/patches/milter-greylist.c.patch Also a m4 file to configure milter-greylist, and a sample Rule to get data from access.db http://www.saisp.br/ifm/patches/milter-greylist.m4 I'm accepting suggestions to make it better. --
Message
Re: [milter-greylist] Re: The callback
2004-12-11 by Ivan F. Martinez
Attachments
- No local attachments were found for this message.