[Mimedefang] greylisting DB_File locking
-ray
ray at ops.selu.edu
Wed Apr 28 14:38:36 EDT 2004
Andrea,
Thanks for the info. I switched to DB_File::Lock and things seem to be
running fine. How many records are in your greylistdb? I accumulated a
little over 38,000 in the past 12 hours, and i'm wondering if i'm
stretching the limitations of the DB_File format.
ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
On Wed, 28 Apr 2004, Andrea Gabellini wrote:
> I saw the same error few month ago. I changed the locking mechanism using:
>
> use DB_File::Lock;
> use Fcntl qw(:flock O_RDWR O_CREAT);
>
> and opening the DB with the command:
>
> $db = tie %GDB, 'DB_File::Lock', $DBFilename, O_CREAT|O_RDWR, undef,
> $DB_HASH, 'write';
>
> Andrea
More information about the MIMEDefang
mailing list