This has come up (and has been answered) a number of times in the SnertSoft mailing list:
Always make sure that you compile and link libsnert with the same version of BerkeleyDB that your sendmail binary is linked with. Otherwise you will experience access.db errors (it fails to open).