first: thanks for poprelay.1.1.4a !
As written in the docu there are some version
incompatibilities of the dbs use by sendmail and the perl
DB_File.
On debian(woody) this is the case and can be easily solved
(not found ;-) by replacing DB_File with BerkeleyDB
attached you find my version of poprelayd
Differences are :
[...]
#use DB_File;
use BerkeleyDB;
[...]
#tie(%db, "DB_File", $dbfile, O_RDONLY, 0, $$dbtype)
||\
# die "Can't open $dbfile: $!";
tie %db, 'BerkeleyDB::Hash',
-Filename => $dbfile,
-Flags => DB_RDONLY
or die "Cannot open file $dbname: $!
$BerkeleyDB::Error\n" ;
[...]
# tie(%db, "DB_File", $dbfile, O_RDWR | O_CREAT, 0,
$$dbtype) || die "Can't open $dbfile: $!";
tie %db, 'BerkeleyDB::Hash',
-Filename => $dbfile,
-Flags => DB_CREATE
or die "Cannot open file $dbname: $!
$BerkeleyDB::Error\n" ;
[...]
pls include this info in the docu or the forum
i have not tested for compatiblility with old versions of the
BerkeleyDB, maybe the solution will be compatible for all
users of poprelay.
BWT: you are granted to make any use of this information
and the attached file, even without mentioning my name ;-)
bye,
Roland
#
# DI Roland Apel
#
# +43 (0) 699 13 14 50 62
#
# roland.apel@apel.biz
#
fixed version of poprelayd
Logged In: NO
Another solution than i got was
update the perl executor ( only file /usr/sbin/perl5.6.1 )
by the older /usr/sbin/perl5.6.0 and make a symbolic link
between /usr/lib/perl5/5.6.1 and /usr/lib/perl5/5.6.0.
Its work ...