[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[postgrey] Re: slackware + postgrey


Zitat von Jardar Eggesbø Abrahamsen <jardar{at}nvg{dot}ntnu{dot}no>:

> Hello. I am new on this list. And I am new to Postgrey.
>
> I have Slackware 10.1 and try to install Postgrey, but when I try to start
> it, it only complains:
> "Your vendor has not defined BerkeleyDB macro DB_AUTO_COMMIT, used at
> /usr/local/sbin/postgrey line 480"
>
> So, now I have tried just about everything. I have removed the Berkeley DB
> libraries (3 and 4) that came with Slackware, installed from the tarball
> (4), installed the BerkeleyDB perl module with CPAM, removed it with modrm
> (http://www.perlpod.com/5.8.4/lib/ExtUtils/Packlist.html), installed it
> from tarball, and tried every combination.

You should not try to replace Berkeley DB as they are used by many components in
the OS. It could get a real mess if you have programs linked to different
versions.

> But still I only get:
> "Your vendor has not defined BerkeleyDB macro DB_AUTO_COMMIT, used at
> /usr/local/sbin/postgrey line 480"
>
> What should I do? Apart from leaving Slackware, that is...

Your Berkeley DB version lacks the DB_AUTO_COMMIT so delete it out in the
postgrey script. Be aware that without this feature you *may* be loosing your
greylist DB in case of a crash.

Regards

Andreas

--
Unsubscribe mailto:postgrey-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:postgrey-request@list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/postgrey
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi