[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recompiling sendmail?
Keep in mind that I haven't done this with OpenBSD 2.9 source yet, so I could be
very wrong, but it worked with the stock sendmail 8.11.4 source and OpenBSD 2.8.
First apply the OpenBSD 2.9 sendmail patch and add the sasl libs (they didn't
completely work in 2.8 hopefully they work in 2.9). I could be very wrong on
this part, but with the stock sendmail 8.11.4 and OpenBSD 2.8 I had to add the
following to sendmail-8.11.4/devtools/OS/OpenBSD file to get things to work:
APPENDDEF(`confENVDEF', `-DSASL')
APPENDDEF(`conf_sendmail_LIBS', `-lsasl')
APPENDDEF(`confLIBDIRS', `-L/usr/local/lib')
APPENDDEF(`confINCDIRS', `-I/usr/local/include')
APPENDDEF(`confINCDIRS', `-I/usr/local/include/sasl')
(The last three lines may or may not be needed, but I had a hell of a time
getting the build to find the sasl libs, or was it the sfio libs...I can't
remember now.)
So I would edit the sendmail/Makefile and add entries for -DSASL and -lsasl if
needed and then build and install according to the instructions in the patch
file.
Look at http://www.sendmail.org/tips/ for more info.
Quoting Ettore Aldrovandi <ettore@hep.fsu.edu>:
> Hi,
>
> I'm running a mailserver on OpenBSD 2.9. Sendmail comes with starttls
> support compiled in (via _FFR__TLS_TOREK).
>
> Am I correct in assuming that AUTH (via SASL) is not compiled in?
>
> If the answer to the above is yes, what is the "politically correct"
> way to recompile sendmail to get AUTH in? I mean: I know I have to
> install the cyrus-sasl libraries (I've seen there is a port), but
> then what is the correct way to make the changes in the source tree?
>
> I have a standard source tree under /usr/src, so the sendmail relevant
> stuff is under /usr/src/gnu/usr.sbin/sendmail/sendmail.
>
> Thanks,
> Ettore
> --
> Ettore Aldrovandi
> ettore@hep.fsu.edu Ph: (850) 644 3289
> http://www.hep.fsu.edu Fax: (850) 644 6735