OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Compiling problems - Dovecot SASL + SSL/TLS

From: Wietse Venema (wietseporcupine.org)
Date: Tue Jan 01 2008 - 18:49:25 CST


Stephen McHenry:
> I've been trying to do a fairly major upgrade to our mail servers,
> switching to Dovecot (IMAP+SSL) and adding both SASL (we previously
> used POP before SMTP) and SSL/TLS to Postfix (not trying to do
> anything overly complicated with the TLS - just trying to avoid
> sending AUTH passwords in the clear). The Dovecot part works fine. On
> the Postfix side, I tried a "small steps" approach, first adding SASL,
> and then adding TLS to that. The SASL part works fine. Compiles,
> installs, works great.
>
> When I went to add the SSL/TLS part, I did (per the instructions) a
> "make tidy" followed by:
>
> make makefiles CCARGS="-DUSE_SASL_AUTH
> -DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/usr/local/include" \
> AUXLIBS="-L/usr/local/lib -lssl -lcrypto"

You did not follow the SASL_README instructions.

% make makefiles CCARGS='-DUSE_SASL_AUTH -
    DDEF_SERVER_SASL_TYPE=\"dovecot\"'

        Wietse