|
From: Bennett T. <be...@ra...> - 2002-05-17 13:52:55
|
Whether Postfix supports hash depends more on whether Berkeley DB
was installed and available when Postfix was configured and built,
than on what platform you're on. But if you don't want to install
Berkeley DB then rebuild Postfix, you'll need to find a suitable
map type to use instead. The command "postconf -m" will list the
available map types; you want an on-disk hash table of some sort,
I don't see any reason why DBM won't work. Once you've picked your
hash type, you'll need to adjust the pop-before-smtp script to
use it. Change "use DB_File" to "use NDBM_File", or whichever is
appropriate; "perldoc AnyDBM_File" lists the alternatives. Then
adjust the tie() invocation to whatever parameters are needed
("perldoc NDBM_File" would show the parameters that interrface
takes).
-Bennett
|