bug-mailfromd


Search for: Advanced

Re: [Bug-mailfromd] renaming greylist to greylist-manual.gdbm


> 
> > > How should format/store timestamps in a custom db?
> >
> > That's entirely up to you.  Using time() value is perphaps the best
> > approach, e.g.:
> >
> >   dbput(mydb, key, time())
> >
> 
> with
> 
> dbput("/var/lib/mailfromd/greylist.gdbm", greylistkey, time())
> 
> I am getting this error, or can't I use dbput with existing db?
> 
> dbput: mf_dbm_open(/var/lib/mailfromd/greylist.gdbm) failed: Operation
> failed
> 
> and with
> dbdel("greylist",greylistkey)
> dbput("greylist", greylistkey, time())
> 
> nothing seems to happen also no error, the greylist key stays unchanged
> when I view it with
> 
> /usr/bin/mfdbtool --list --format=greylist

dbdel("greylist",greylistkey, 1)

Also does nothing