[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: NetBSD, sendmail with AUTH and TLS
On Thu, 13 Dec 2012, Michael Parson wrote:
I followed the wiki entry for this on my NetBSD/i386 5.0.2 system:
And it worked beautifully. However, that system died, and now:
Trying the same thing on my amd64 6.0 system, and it's not working.
The sendmail binary claims it can do TLS, but when you check on the port, the
# telnet localhost 587
telnet: connect to address ::1: Connection refused
Connected to localhost.
Escape character is '^]'.
220 testhost ESMTP Sendmail 8.14.5/8.14.5; Thu, 13 Dec 2012 12:15:49 -0600
250-testhost Hello localhost [127.0.0.1], pleased to meet you
221 2.0.0 testhost closing connection
You will note, however, that it claims to allow AUTH LOGIN.
This doesn't seem to be working either. In my /var/log/authlog, I see
the probable problem, but I don't know how to solve it:
Dec 13 12:15:46 testhost sm-mta: unable to dlopen
/usr/local/lib/sasl2/libsasldb.so.2: Cannot dlopen non-loadable
From what I can tell from searching google and reading the dlopen
manpage, something is trying to load libsasldb.so, but that something
isn't also linked against libpthread.so.
I've tried twiddling with mk.conf, trying with and without this line:
And with and without it looking like this:
I've rebuilt sendmail, cyrus-sasl, cyrus-saslauthd, and cy2-login after each
So, any pointers so I can quit chasing my tail here?
I forgot to mention one thing, saslauthd does seem to be working, at
least, it can pass its own tests:
$ testsaslauthd -u mparson -p NotMyPassword
0: OK "Success."
$ testsaslauthd -u mparson -p badpass
0: NO "authentication failed"
Just doesn't seem to be working from inside of sendmail.
Main Index |
Thread Index |