[Greylist-users] Can't get it to work

Carlos Laviola claviola at ax.net.br
Thu Aug 28 21:38:37 PDT 2003


Hi,

I believe I've done everything right, but I still can't get relaydelay
to work.  I am trying to run it on a RedHat 8.0 machine, which the MySQL
database on a Debian box on the same network (100 mbps switched LAN).
I get a segfault after some time of it (apparently) running -- some 30
seconds or so.  It seems like it isn't creating anything on MySQL
either, even though it connects just fine.  RedHat 8.0 comes with DBI
1.30 by default but, since I segfaulted upon even running it, like Dave
Corcoran seemed to experience.  'sample.pl' from Sendmail::Milter runs
just fine, so I don't know what could possibly be wrong.  Can anyone
shed some light into this?

Here are some logs which might be relevant.

Thanks,
Carlos.

Run #1:

Loading Config File: /etc/mail/relaydelay.conf
Using connection 'local:/var/run/relaydelay.sock' for filter relaydelay
DBI Connecting to DBI:mysql:database=relaydelay:host=zeus:port=3306
Starting Sendmail::Milter 0.18 engine.

=== 2003-08-28 20:37:45 ===
Stored Sender: <microssoft at hotmail.com>
Passed Recipient: <escolarizzo at alternex.com.br>

=== 2003-08-28 20:37:45 ===
Stored Sender: <mala at saopaulo.catho.com.br>
Passed Recipient: <cpda at alternex.com.br>
Attempt to free unreferenced scalar at /usr/local/sbin/relaydelay.pl line 432.
Attempt to free unreferenced scalar at /usr/local/sbin/relaydelay.pl line 432.
Segmentation fault

Run #2:

Loading Config File: /etc/mail/relaydelay.conf
Using connection 'local:/var/run/relaydelay.sock' for filter relaydelay
DBI Connecting to DBI:mysql:database=relaydelay:host=zeus:port=3306
Starting Sendmail::Milter 0.18 engine.
  IN ABORT CALLBACK - PrivData: 0<mailer at mailer3.elefante.com.br>
  IN ABORT CALLBACK - PrivData: 0<mailer at mailer3.elefante.com.br>

=== 2003-08-28 20:39:07 ===
Stored Sender: <vlby at mailmac.com.br>
Passed Recipient: <spmtjbs at alternex.com.br>

=== 2003-08-28 20:39:07 ===
Stored Sender: <superprecos at velox.com.br>
Passed Recipient: <eladio at alternex.com.br>

=== 2003-08-28 20:39:08 ===
Stored Sender: <apicorelli at globo.com>
Passed Recipient: <mark at germetec.com.br>
Attempt to free unreferenced scalar at /usr/local/sbin/relaydelay.pl line 432.
Attempt to free unreferenced scalar at /usr/local/sbin/relaydelay.pl line 432.
Attempt to free unreferenced scalar at /usr/local/sbin/relaydelay.pl line 432.
Segmentation fault

Output from perl -V:

Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=linux, osvers=2.4.18-11smp, archname=i386-linux-thread-multi
    uname='linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15 06:41:59 edt 2002 i686 i686 i386 gnulinux '
    config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dmyhostname=localhost -Dperladmin=root at localhost -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-O2 -march=i386 -mcpu=i686',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm'
    ccversion='', gccversion='3.2 20020822 (Red Hat Linux Rawhide 3.2-5)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
    libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so
    gnulibc_version='2.2.92'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl): 
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Sep  1 2002 23:56:49
  @INC:
    /usr/lib/perl5/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/5.8.0
    /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/site_perl/5.8.0
    /usr/lib/perl5/site_perl/5.6.1
    /usr/lib/perl5/site_perl
    /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
    /usr/lib/perl5/vendor_perl/5.8.0
    /usr/lib/perl5/vendor_perl/5.6.1
    /usr/lib/perl5/vendor_perl
    .

-- 
Carlos Laviola <claviola at ax.net.br>
AlterNex S/A - (21) 2530-7007


More information about the Greylist-users mailing list