|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: postmap / makemap compatible?
From: Michael Mee (mike
westside.com)Date: Mon Jun 19 2000 - 22:32:23 CDT
- Next message: Ralf Hildebrandt: "Re: Preventing email abuse"
- Previous message: Andrew McNamara: "Re: Unknown Cyrus users (was: CRAM-MD5 problem SOLVED)"
- In reply to: Brad Knowles: "Re: postmap / makemap compatible?"
- Reply: Michael Mee: "Re: postmap / makemap compatible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Brad Knowles, June 14, 2000 5:16 AM
>
> At 3:14 AM -0700 2000/6/14, Michael Mee wrote:
>
> > Similarly, poprelayd / the perl routines (DB_File) can't read a
> > postmap generated file. (Perl version 5.00503, Postfix-19991231-
> > pl04, Linux 6.1). I've tried both the postmap -N and -n options with
> > no (evident) difference.
>
> It's almost certainly using different interfaces, and perhaps
> different file formats, for different versions of Berkeley db.
> Postfix only supports the db 1.85 interface, while DB_File has
> probably been updated to support version 3.x. They may even be using
> two different versions of the Berkeley db libraries.
>
> I think you may need to get these two in sync.
Thanks Brad! To close the loop on this, I did some followup research, and
this seems to be the case. Unfortunately its hard to verify for sure, as
noted in the Perl DB_File package (1.73) docs:
" Newer versions of Linux (e.g. RedHat 6) ship with a C library that has
a version of Berkeley DB linked into it. This makes it very difficult to
build DB_File with anything other than the version of Berkeley DB that
shipped with your Linux release.
As yet I haven't found a satisfactory way around this problem. ... <snip>"
(I'm running RH6.1). I also found references to new hash/struct sizes in the
later releases that makes them incompatible with 1.85. So... assuming I'm
not completely confused by all of this (entirely possible), I'm back to
hacking the poprelayd perl script to generate & update a text file and
letting postfix read that. Bummer. Fortunately I'm not dealing with high
mail volumes so the perf difference doesn't matter...
thx, michael
- Next message: Ralf Hildebrandt: "Re: Preventing email abuse"
- Previous message: Andrew McNamara: "Re: Unknown Cyrus users (was: CRAM-MD5 problem SOLVED)"
- In reply to: Brad Knowles: "Re: postmap / makemap compatible?"
- Reply: Michael Mee: "Re: postmap / makemap compatible?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]