2.1.17 with mysql quirks

From: Andrei Loukinykh (avl at seavenue dot net)
Date: Wed Mar 10 2004 - 09:18:46 EST

  • Next message: Patrick Ben Koetter: "Re: 2.1.17 with mysql quirks"

    Hello all

    I've just installed new SASL 2.1.17 to use it with SMTP AUTH.

    In /usr/lib/sasl2/Sendmail.conf :
    pwcheck_method: auxprop
    auxprop_plugin: sasldb sql
    sql_user: mailuser
    sql_passwd: mailpassword
    sql_database: mail
    sql_select: select %p from mailclient where login = '%u'

    I have a user 'test' in /etc/sasldb2 with password.

    When I'm trying to send mail , authenticating as 'test' - it works Ok.
    But when trying with other user ( which doesnt exist in sasldb) - I get in
    syslog:

    Mar 10 16:05:39 evp sm-mta[20003]: unable to dlopen
    /usr/lib/sasl2/libsql.so.2: libmysqlclient.so.12: cannot open shared
    object file: No such file or directory

     For some reason mysql libraries couldnt be found.. Though I compiled SASL
    with:
    ./configure --with-dblib=berkeley
    --with-bdb-libdir=/usr/local/BerkeleyDB/lib
    --with-bdb-incdir=/usr/local/BerkeleyDB/include --disable-krb4
    --disable-gssapi --disable-digest --with-openssl
    --with-mysql=/usr/local/mysql --disable-otp --enable-login --enable-sql
    --without-pam --without-saslauthd --without-pgsql

    and there IS working mysql in /usr/local/mysql

    BTW: in config.log after executing configure I found:
        gcc: unrecognized option `-R/usr/local/mysql/lib/mysql' ====???

    Any ideas?

    Best regards,
    Andrei V. Lou


  • Next message: Patrick Ben Koetter: "Re: 2.1.17 with mysql quirks"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD