#10 Add NH_UTILITY (sid-check) patch to the sid-milter package

v0.2.9
closed-fixed
5
2006-07-20
2005-12-07
Fredrik Pettai
No

It would be nice to include the sid-check "patch" by
Dick St.Peters as part of the distribution of
senderid-milter.
It's really a helpful tool for debuging.

/P

Discussion

  • Fredrik Pettai
    Fredrik Pettai
    2005-12-07

    Logged In: YES
    user_id=370342

    Patch location:
    ftp://ftp.netheaven.com/pub/sid-milter/nh-utility-0.2.9.patch

     
  • Logged In: YES
    user_id=1048957

    sid-filter has a debug mode which does mostly the same thing
    as I believe that patch provides. Try compiling with
    -DDEBUG and feeding it a message of this form:

    C<hostname>
    F<envelope sender>
    .
    <headers>
    <blank line>
    <body>

    ...on standard input, and observe the result.

     
    • labels: --> Feature Request
    • milestone: --> v0.2.9
    • assigned_to: nobody --> sm-msk
     
  • Fredrik Pettai
    Fredrik Pettai
    2005-12-12

    Logged In: YES
    user_id=370342

    Then i try to compile sid-filter with -DDEBUG, it fails with
    this message:

    gcc -O -I. -I../../include -I/opt/csw/bdb4/include
    -I/opt/csw/include -DNEWDB -DNDBM -DMAP_REGEX -DLDAPMAP
    -DSOLARIS=20900 -DSM_CONF_LDAP_MEMFREE -DDEBUG -g -c -o
    t-cf.o t-cf.c
    gcc -o t-cf -L/opt/csw/bdb4/lib -R/opt/csw/bdb4/lib
    -L/opt/csw/lib -R/opt/csw/lib t-cf.o libsm.a -ldb -lresolv
    -lsocket -lnsl -lldap
    gcc -O -I. -I../../include -I/opt/csw/bdb4/include
    -I/opt/csw/include -DNEWDB -DNDBM -DMAP_REGEX -DLDAPMAP
    -DSOLARIS=20900 -DSM_CONF_LDAP_MEMFREE -DDEBUG -g -c -o
    b-strcmp.o b-strcmp.c
    gcc -o b-strcmp -L/opt/csw/bdb4/lib -R/opt/csw/bdb4/lib
    -L/opt/csw/lib -R/opt/csw/lib b-strcmp.o libsm.a -ldb
    -lresolv -lsocket -lnsl -lldap
    gmake[2]: Leaving directory
    `/var/tmp/sid-milter-0.2.10/obj.SunOS.5.9.sun4/libsm'
    gcc -O -I. -I../../libar -I../../libmarid -I../../sendmail
    -I../../include -I/opt/csw/bdb4/include
    -I/opt/csw/include -DSOLARIS=20900 -DSM_CONF_LDAP_MEMFREE
    -DDEBUG -DUSE_ARLIB -g -D_REENTRANT -DXP_MT -c -o
    sid-filter.o sid-filter.c
    sid-filter.c:84: smi-arena.h: No such file or directory
    sid-filter.c:85: smi-string.h: No such file or directory
    gmake[1]: *** [sid-filter.o] Error 1
    gmake[1]: Leaving directory
    `/var/tmp/sid-milter-0.2.10/obj.SunOS.5.9.sun4/sid-filter'
    *** Error code 2
    make: Fatal error: Command failed for target `all'

     
    • status: open --> closed-fixed
     
  • Logged In: YES
    user_id=1048957

    -DDEBUG mode worked without any internal dependencies as of
    v0.2.11. Forgot to close this.