From owner-freebsd-questions Thu May 31 9: 1:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp1.mastery.ca (comp1.mastery.ca [209.202.88.60]) by hub.freebsd.org (Postfix) with ESMTP id 2025A37B422 for ; Thu, 31 May 2001 09:01:10 -0700 (PDT) (envelope-from mail@max-info.net) Received: from 78kw954 ([209.202.88.150]) (authenticated) by comp1.mastery.ca (8.11.3/8.11.1) with ESMTP id f4VG0s666531; Thu, 31 May 2001 12:00:54 -0400 (EDT) (envelope-from mail@max-info.net) Message-ID: <00f401c0e9ea$de8a5280$3200a8c0@Intranet> From: "Ryan Masse" To: "Tony Wells" Cc: "FreeBSD-Questions" References: <3B16661C.A8366572@journalstar.com> Subject: Re: Compiling sendmail with SASL support problem Date: Thu, 31 May 2001 12:00:52 -0400 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG download the newest source from sendmail.org and extract it into a temp directory. Once that is finished you will want to create; > pwd /$tempdir/sendmail-8.11.3/devtools/Site > more site.config.m4 APPENDDEF(`confENVDEF', `-DSASL=1') APPENDDEF(`conf_sendmail_LIBS', `-lsasl') APPENDDEF(`confLIBDIRS', `-L/usr/local/lib') APPENDDEF(`confINCDIRS', `-I/usr/include/sasl') > jump back to the base dir and do a ./Build . after u'll want to do a make and make install. After you've succesffuly recompiled sendmail with SASL support you will need compile the sendmail.cf with the sasl support. Do do this you will need a .mc file similar to the below. > pwd /usr/src/contrib/sendmail/cf/cf > more site-sasl.mc divert(-1) # divert(0)dnl VERSIONID(`$Id: site-sasl.mc,v 8.10 1999/02/07 07:26:02 gshapiro Exp $') OSTYPE(bsd4.4)dnl DOMAIN(generic)dnl MAILER(local)dnl MAILER(smtp)dnl FEATURE(use_cw_file) FEATURE(relay_based_on_MX) FEATURE(mailertable) FEATURE(access_db) FEATURE(virtusertable) FEATURE(blacklist_recipients) TRUST_AUTH_MECH(`GSSAPI DIGEST-MD5')dnl define(`confAUTH_MECHANISMS', `PLAIN LOGIN')dnl define(`confDEF_AUTH_INFO', `/etc/mail/auth/auth-info')dnl FEATURE(`no_default_msa')dnl turn off default entry for MSA DAEMON_OPTIONS(`Port=25, Name=MTA, M=E')dnl > if you get lost anywhere on the way just email me back > Hi all, > > I'm trying to compile sendmail with sasl support since I have several > computers that I need to be able to send and receive email from. I have > cyrus-imap running just fine, but right now I have to add domains with > relay permission to be able to send mail.(Bad) I would much rather use a > password based system that didn't care where you were coming from. > > So anyways, when I try and compile sendmail in the > /usr/src/usr.sbin/sendmail directory with the command: > > make SENDMAIL_CFLAGS='-DSASL=1524 -I/usr/local/include/sasl' > > And I get a bunch of errors. I noticed in the > /usr/src/contrib/sendmail/src directory that it suggests you use the > 'Build' script, which of course doesn't exist. > > Has anyone successfully gotten sendmail compiled with sasl support? > Will sasl free me from domain-dependent relaying rules? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message