--- áÌÅËÓÅÊ äÏÍÏÒÁÄÏ× <[EMAIL PROTECTED]> wrote: > > > > # ldd /usr/libexec/postfix/smtpd > > > > linux-gate.so.1 => (0xb7fa0000) > > > > libmysqlclient.so.15 => > > > > /usr/local/mysql/lib/mysql/libmysqlclient.so.15 (0xb7f23000) > > > > libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7efe000) > > > > libsasl2.so.2 => /usr/local/lib/libsasl2.so.2 > (0xb7ee7000) > > > your postfix was built with sasl support > > > > > > I think the problem is here; > > > > > > # imtest -a cyrus -m LOGIN localhost > > imtest: /usr/local/lib/libsasl2.so.2: no version information > available > > (required by imtest) > > connect: Connection refused > > failure: Network initialization > > > > > > # ldconfig -p | grep libsasl2 > > libsasl2.so.2 (libc6) => /usr/local/lib/libsasl2.so.2 > > libsasl2.so.2 (libc6) => /usr/lib/libsasl2.so.2 > > libsasl2.so (libc6) => /usr/local/lib/libsasl2.so > > > > libsasl2.so.2 (libc6) is symbolic linked to 2 files. How it comes? > > > Which config file controls it? > > > > > > I suppose the 2nd link is correct. > How did you install cyrus-sasl2?
I followed this howto; http://www.postfixvirtual.net/postfixvirtual.html#cyrussasl installing it from source. > On my system > # dpkg -S /usr/lib/libsasl2.so.2 > libsasl2-2: /usr/lib/libsasl2.so.2 Also the same on my system:- # dpkg -S /usr/lib/libsasl2.so.2 libsasl2-2: /usr/lib/libsasl2.so.2 I have rebuilt postfix. Now it supports both cyrus and dovecot; # postconf -a cyrus dovecot New discovery, on manually running; # su - amavis -c "/usr/local/sbin/amavisd" perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). /usr/bin/perl: symbol lookup error: /usr/local/lib/perl/5.8.8/auto/BerkeleyDB/BerkeleyDB.so: undefined symbol: db_version BerkeleyDB may have problem causing postfix NOT listening. I was NOT aware it because I put the line; su - amavis -c "/usr/local/sbin/amavisd" on /etc/rc.local cpan> test BerkeleyDB (fail) .... .... Can't load '/root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so' for module BerkeleyDB: /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/arch/auto/BerkeleyDB/BerkeleyDB.so: undefined symbol: db_create at /usr/lib/perl/5.8/DynaLoader.pm line 225. at t/unknown.t line 8 Compilation failed in require at t/unknown.t line 8. BEGIN failed--compilation aborted at t/unknown.t line 8. Undefined subroutine &BerkeleyDB::Term::close_everything called at /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm line 1764. END failed--call queue aborted at t/unknown.t line 8. t/unknown......dubious Test returned status 2 (wstat 512, 0x200) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/btree.t 2 512 ?? ?? % ?? t/cds.t 2 512 ?? ?? % ?? t/db-3.0.t 2 512 ?? ?? % ?? t/db-3.1.t 2 512 ?? ?? % ?? t/db-3.2.t 2 512 ?? ?? % ?? t/db-3.3.t 2 512 ?? ?? % ?? t/db-4.4.t 2 512 ?? ?? % ?? t/db-4.6.t 2 512 ?? ?? % ?? t/db-4.7.t 2 512 ?? ?? % ?? t/db-4.x.t 2 512 ?? ?? % ?? t/destroy.t 2 512 ?? ?? % ?? t/encrypt.t 2 512 ?? ?? % ?? t/env.t 2 512 ?? ?? % ?? t/examples.t 2 512 ?? ?? % ?? t/examples3.t 2 512 ?? ?? % ?? t/filter.t 2 512 ?? ?? % ?? t/hash.t 2 512 ?? ?? % ?? t/join.t 2 512 ?? ?? % ?? t/queue.t 2 512 ?? ?? % ?? t/recno.t 2 512 ?? ?? % ?? t/sequence.t 255 65280 ?? ?? % ?? t/strict.t 2 512 ?? ?? % ?? t/subdb.t 2 512 ?? ?? % ?? t/txn.t 2 512 ?? ?? % ?? t/unknown.t 2 512 ?? ?? % ?? 1 test skipped. Failed 25/27 test scripts, 7.41% okay. 0/4 subtests failed, 100.00% okay. make: *** [test_dynamic] Error 2 PMQS/BerkeleyDB-0.36.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports PMQS/BerkeleyDB-0.36.tar.gz Failed during this command: PMQS/BerkeleyDB-0.36.tar.gz : make_test NO # nano /usr/lib/perl/5.8/DynaLoader.pm my $libref = dl_load_file($file, $module->dl_load_flags) or (line 225) croak("Can't load '$file' for module $module: ".dl_error()); # nano /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/t/txn.t use lib 't' ; use BerkeleyDB; (line 6) use util ; # nano /root/.cpan/build/BerkeleyDB-0.36-8xfeFJ/t/txn.t use lib 't' ; use BerkeleyDB; (line 6) use util ; # nano /root/.cpan/build/BerkeleyDB-0.36-pwxlCB/blib/lib/BerkeleyDB.pm { close_everything() ; (line 1764) } B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com