From owner-freebsd-questions@FreeBSD.ORG Wed Sep 28 16:14:30 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 715EB16A41F for ; Wed, 28 Sep 2005 16:14:30 +0000 (GMT) (envelope-from sasa.stupar@gmail.com) Received: from avs3.arnes.si (avs3.arnes.si [193.2.1.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id C34C343D58 for ; Wed, 28 Sep 2005 16:14:29 +0000 (GMT) (envelope-from sasa.stupar@gmail.com) Received: from localhost (avs3.arnes.si [193.2.1.68]) by avs3.arnes.si (Postfix) with ESMTP id 7D9191D792E for ; Wed, 28 Sep 2005 18:14:28 +0200 (CEST) Received: from avs3.arnes.si ([193.2.1.68]) by localhost (avs3.arnes.si [193.2.1.68]) (amavisd-new, port 10024) with ESMTP id 05947-10 for ; Wed, 28 Sep 2005 18:14:28 +0200 (CEST) Received: from MASTER (cmb16-74.dial-up.arnes.si [194.249.51.74]) by avs3.arnes.si (Postfix) with ESMTP id 32B2C1D792D for ; Wed, 28 Sep 2005 18:14:27 +0200 (CEST) From: "Sasa Stupar" To: Date: Wed, 28 Sep 2005 18:14:27 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <433AB09E.4070402@grokking.org> Thread-Index: AcXEPcGY87XBUXWyRWeGsd0Pv9DxLQACQDkg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Message-Id: <20050928161427.32B2C1D792D@avs3.arnes.si> X-Virus-Scanned: by amavisd-new at arnes.si Subject: RE: Problem with compiling sendmail+sasl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 16:14:30 -0000 =20 -----Original Message----- From: owner-freebsd-questions@freebsd.org = [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Greg = Maruszeczka Sent: Wednesday, September 28, 2005 5:03 PM To: freebsd-questions@freebsd.org Subject: Re: Problem with compiling sendmail+sasl Sasa Stupar wrote: > Hi! >=20 > I am new to FreeBSD just migrated from linux. I have installed version = 5.4 and ports collection via cvsup. Then I have used ports for cyrus22 = to build Cyrus and also sasl2. Now I am trying to build sendmail 8.13.5 = but it doesn't build with sasl support. >=20 > In my make.conf I have added: > ------------ > SENDMAIL_CFLAGS+=3D -I/usr/local/include -DSASL=3D2 = SENDMAIL_LDFLAGS+=3D=20 > -L/usr/local/lib SENDMAIL_LDADD+=3D -lsasl2 > ------------ >=20 > And then run make and make install under /usr/ports/mail/sendmail. >=20 > But when I check with : > ---------- > mig29# telnet localhost 25 > Trying ::1... > telnet: connect to address ::1: Connection refused Trying 127.0.0.1... > Connected to localhost.workgroup. > Escape character is '^]'. > 220 xmail.homelinux.net ESMTP Sendmail 8.13.3/8.13.5; Wed, 28 Sep 2005 = > 14:15:32 +0200 (CEST) ehlo localhost 250-xmail.homelinux.net Hello=20 > localhost.workgroup [127.0.0.1], pleased to meet you=20 > 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-8BITMIME 250-SIZE 10480760=20 > 250-DSN 250-DELIVERBY 250 HELP > ---------- > I don't have smtp auth. >=20 > Moreover, I found out that it didn't built with SASL with: > -------------- > mig29# sendmail -bt -d0.1 > Version 8.13.3 > Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 = MIME8TO7 > NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS = PIPELINING SCANF > STARTTLS TCPWRAPPERS USERDB XDEBUG > Warning: Option: AuthMechanisms requires SASL support (-DSASL) > Warning: Option: AuthOptions requires SASL support (-DSASL) >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D SYSTEM IDENTITY (after readcf) = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > (short domain name) $w =3D mig29 > (canonical domain name) $j =3D xmail.homelinux.net > (subdomain name) $m =3D workgroup > (node name) $k =3D mig29.workgroup=20 > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D >=20 > ADDRESS TEST MODE (ruleset 3 NOT automatically invoked) > ------------------ >=20 > What am I doing wrong here? >=20 I think you might be getting the BASE sendmail mixed up with the PORT = sendmail. For max flexibility, there are TWO separate versions of = sendmail available. Unless you know you need the version provided in the = ports you should stick with the one provided in the base. Your sendmail-related make.conf syntax looks correct but what you need = to do is rebuild the BASE sendmail with sasl support under /usr/src NOT = /usr/ports. I suggest you remove/deinstall the sendmail version found = under /usr/ports and do a full `make world` as recommended in the = handbook. Others may be able to give you specific directions on = rebuilding ONLY the base sendmail if a full make world is undesirable. cheers, G ----------------------------------------------- Reply ----------------------------------------------- But I have nothing under /usr/src. I have installed minimum of FreeBSD. Regards, Sasa