From owner-freebsd-questions@FreeBSD.ORG Thu Jan 10 22:01:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8EF216A41B for ; Thu, 10 Jan 2008 22:01:18 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.179]) by mx1.freebsd.org (Postfix) with ESMTP id 70E4E13C467 for ; Thu, 10 Jan 2008 22:01:18 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by el-out-1112.google.com with SMTP id r27so186154ele.3 for ; Thu, 10 Jan 2008 14:01:17 -0800 (PST) Received: by 10.142.154.20 with SMTP id b20mr1390740wfe.13.1200002476731; Thu, 10 Jan 2008 14:01:16 -0800 (PST) Received: from scorpio ( [67.189.206.211]) by mx.google.com with ESMTPS id i35sm8280463wxd.34.2008.01.10.14.01.15 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 10 Jan 2008 14:01:16 -0800 (PST) Date: Thu, 10 Jan 2008 17:01:03 -0500 From: Gerard To: FreeBSD Question Message-ID: <20080110170103.64c7c4fe@scorpio> In-Reply-To: <47869239.5030009@grasslake.net> References: <478583BF.6090406@grasslake.net> <20080110064345.GF70027@roo.7f000001.org> <47867597.2070800@grasslake.net> <141D87EE051918F290E96172@utd59514.utdallas.edu> <47869239.5030009@grasslake.net> Organization: seibercom.net X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd6.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q User-Agent: Claws Mail 3.0.2 (GTK+ 2.12.3; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/6fyNzBzTK2.z5GiIoEa/e1E"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Subject: Re: Postfix with Cyrus SASL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Question List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2008 22:01:18 -0000 --Sig_/6fyNzBzTK2.z5GiIoEa/e1E Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Thu, 10 Jan 2008 15:46:33 -0600 Shawn Barnhart wrote: > Paul Schmehl wrote: > > It should, because it calls this: > > > > .if defined(WITH_SASL2) > > LIB_DEPENDS+=3D sasl2.2:${PORTSDIR}/security/cyrus-sasl2 > > POSTFIX_CCARGS+=3D -DUSE_SASL_AUTH -DUSE_CYRUS_SASL=20 > > -I${LOCALBASE}/include -I${LOCALBASE}/include/sasl > > POSTFIX_AUXLIBS+=3D -L${LOCALBASE}/lib -lsasl2 -lpam -lcrypt > > .endif > > > > Yes, you need to install saslauthd, however, if you checked the > > OPTION when you installed Postfix, it's most likely already > > installed. You *also* need to enable saslauthd in /etc/rc.conf: > > > > [root@mail /usr/ports/mail/postfix]# grep sasl /etc/rc.conf > > saslauthd_enable=3D"YES" > > saslauthd_flags=3D" -a pam -n 2" > > > > (This uses /etc/passwd through pam, btw.) > > > > Look at /usr/local/etc/rc.d/saslauthd.sh for the options and flags=20 > > available or read man (8) saslauthd. > > >=20 > Either I'm totally fubar, or the ports snapshot I have is braindead > as I did select the SASL option when I built postfix and I have sasl > libs in /usr/local/lib and /usr/local/lib/sasl2 but none of the other > sasl components are installed. No saslauthd in /usr/local/etc/rc.d, > no manpage, just libraries mentioned above, and my postfix smtpd does=20 > appear to have a sasl library run-time dependency per ldd. >=20 > Is the better fix to manually re-install the same Cyrus sasl port or=20 > deinstall both it and postfix and rebuild postfix with the sasl > option and hope I get a complete build? It has been awhile; however, if I remember correctly, the 'saslauthd' daemon is not installed by Postfix. I think you are confusing this with SASL in general. You might want to read the 'Complete Book of Postfix" for further information on getting SASL up and running. BTW, unless it has changes, 'saslauthd' only handles plain text authentication. --=20 Gerard gerard@seibercom.net A chronic disposition to inquiry deprives domestic felines of vital qualities. --Sig_/6fyNzBzTK2.z5GiIoEa/e1E Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHhpWn6DWTaTcTwMkRAmqyAKCi2mJ77oxsVdrR53SXYZeyz4xOCQCfa5ED rROCddsguU2Q0fW5UBD0azg= =tz67 -----END PGP SIGNATURE----- --Sig_/6fyNzBzTK2.z5GiIoEa/e1E--