building sendmail-sasl-8.12.10 problems
Matthew Seaman
m.seaman at infracaninophile.co.uk
Sat Oct 4 02:36:01 PDT 2003
On Fri, Oct 03, 2003 at 12:46:12PM -0800, Noah wrote:
> FreeBSD 4.8-STABLE machine
>
> okay I just built sendmail-sasl version 8.12.10 from
> /usr/ports/mail/sendmail-sasl but my system is complaining that SASL support
> is required. what am I doing wrong. why isnt SASL support being recognized?
>
> sasl2 'PORTVERSION= 2.1.15' is in /usr/ports
>
> --- make stop && make start from /etc/mail ---
> # make start [/etc/mail]
> Starting: sendmailWarning: Option: AuthMechanisms requires SASL support (-DSASL)
> Warning: Option: AuthOptions requires SASL support (-DSASL)
> sendmail-clientmqueue.
> --- snip ----
Hmmm... Sounds like you're trying to start up the sendmail from the
base system but using the .mc/.cf files with all of the SASL stuff in
it.
Check the contents of /etc/mail/mailer.conf -- make sure you're
starting up the port version of sendmail, which will be
/usr/local/sbin/sendmail
Either that, or ditch the ports version of sendmail, and add the
following to your /etc/make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2
plus install the the security/cyrus-sasl2 port. (Read the comments in
/etc/make.conf if you prefer to use SASLv1 -- setup is almost
identical) That will build you a SASL enabled sendmail from the base
system.
See
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/smtp-auth.html
for details of setting up the base system with SASL-ized sendmail
using SASLv1. Same instructions work for SASLv2 if you make the
obvious substitutions.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031004/eaac2ac4/attachment.bin
More information about the freebsd-questions
mailing list