Welcome to FreeBSDFreaks.net!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Sendmail libsasl2 error

 
   FreeBSD Hosting (Home) -> FreeBSD Ports RSS
Next:  first? patch [ HEADS UP: xorg 7.2 ready for testi..  
Author Message
Schiz0

External


Since: May 12, 2007
Posts: 1



(Msg. 1) Posted: Sat May 12, 2007 2:03 pm
Post subject: Sendmail libsasl2 error
Archived from groups: mailing>freebsd>ports (more info?)

Hey,

I'm running FreeBSD 6.2-RELEASE-p3. When I rebuilt my system, I added the
options in make.conf so it does not rebuild sendmail, then I installed the
updated version of sendmail from ports. My make.conf options for the
sendmail port are:

SENDMAIL_WITHOUT_IPV6=yes
SENDMAIL_WITHOUT_MILTER=yes
SENDMAIL_WITHOUT_NIS=yes
SENDMAIL_WITHOUT_SEM=yes
SENDMAIL_WITH_TLS=yes
SENDMAIL_WITH_PICKY_HELO_CHECK=yes

When I run "make maps" in /etc/mail/ I get the following error:

---------------------------------------
# make maps
/usr/sbin/makemap hash access.db < access
/libexec/ld-elf.so.1: Shared object "libsasl2.so.2" not found, required by
"makemap"
*** Error code 1

Stop in /etc/mail.
---------------------------------------

"make cf" "make aliases" and "make install" all work fine. But "make maps"
fails with that error. Anyone know why and/or have solutions?

I don't want to use sasl auth. I just want to use the access db to
explicitly allow IPs which can use the server any way they want, and deny
everyone else.

Thanks in advance!
_______________________________________________
freebsd-ports.RemoveThis@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

 >> Stay informed about: Sendmail libsasl2 error 
Back to top
Login to vote
Polaris75




Joined: Sep 26, 2011
Posts: 1



(Msg. 2) Posted: Mon Sep 26, 2011 11:07 am
Post subject: Re: Sendmail libsasl2 error [Login to view extended thread Info.]

I know this is a REALLY old thread but after having this problem myself and searching Google for a fix I couldn't find one, but I did find this thread so after solving it myself I figured I should post the fix in case anyone else comes searching with the same problem Smile


I got the same error as the OP while trying to `make` in /etc/mail after disabling SASL support and basically following the instructions this blog post in reverse (just rebuilding sendmail from the src tree basically) -

http://www.clearchain.com/blog/posts/setting-up-sendmail-with-tls-auth-support-under-freebsd (http://www.clearchain.com/blog/posts/setting-up-sendmail-with-tls-auth...pport-u)

It did NOT include rebuilding makemap though (which was built against libsasl when I had SASL enabled and built world), so I figured maybe it would work if I did that as well, and it did!

Code:

cd /usr/src/usr.sbin/makemap
make clean
make obj
make
make install


gave me the following error (on `make`) -

Code:

cc: /usr/obj/usr/src/usr.sbin/makemap/../../lib/libsmdb/libsmdb.a: No such file or directory
*** Error code 1

Stop in /usr/src/usr.sbin/makemap.


So I -

Code:

cd /usr/src/lib/libsmdb
make clean
make obj
make


and then repeated the first set of commands in /usr/src/usr.sbin/makemap and it built and makemap no longer gave me an error -

Code:

[root@host /etc/mail]# make
/usr/sbin/makemap hash access.db < access
chmod 0640 access.db
[root@host /etc/mail]# make install
install -m 444 host.domain.tld.cf /etc/mail/sendmail.cf
install -m 444 host.domain.tld.submit.cf /etc/mail/submit.cf
[root@host /etc/mail]#

 >> Stay informed about: Sendmail libsasl2 error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
sendmail from porst vs vase sendmail (problems) - I'm trying to help out a friend who has created a mess. We are working on a relatively current (perhaps 2 weeks old) 4 STABLE machine. This machine will ultimately be exposed to the Internet without a firewall. He is convinced that the version of..

sendmail-X - dear all, has anyone porting sendmail-X (http://www.sendmail.org/sm-X/index.html) ? regards, -- -dikshie- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To...

sendmail port does not compile - Helo I try to install sendmail from the ports (cvsup today). Some system information: ficher# uname -a FreeBSD ficher.foobar.lan 5.2.1-RELEASE-p3 FreeBSD 5.2.1-RELEASE-p3 #0: Mon Mar 22 17:28:54 CET 2004 ..

sendmail starts too early? - There is a problem using sendmail with milters, which usually lives in /usr/local/* and starts from /usr/local/etc/rc.d/* Currently, sendmail starts before them, which produce this example diagnostic: Starting sendmail. WARNING: Xsentinel: local..

mail/sendmail & libmilter - I have no sendmail in base system (NO_SENDMAIL=true in /etc/make.conf). After I've installed mail/sendmail I can't to build mail/milter-* ports. As I can see mail/sendmail has installed PREFIX/lib/libmilter.a but no libmilter.so* and libsm*. -- Sem. ...
   FreeBSD Hosting (Home) -> FreeBSD Ports All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]