[imp] Make options IMAP

Darien M. Kruss darien@kruss.com
Mon, 1 Apr 2002 15:08:37 -0600


I had success on RedHat 7.2 with:

    cd imap-2001a
    make clean
    make slx SSLTYPE=unix

    Before compiling PHP - need to prepare for imap c-client:
    cd imap-2001a/c-client
    cp c-client.a /usr/lib
    cp rfc822.h mail.h linkage.h /usr/include



>        Hi Everybody !!!
>
>        I have a doubt about 'make' options for IMAP with SSL.
>I want access my mail server on SSL (imaps).
>        I firstly compiled IMAP with:
>             make lnp SPECIALAUTHENTICATORS=ssl
>        and PHP with :
>             ./configure ... --with-imap-ssl --with-imap=../imap-2000c/
>        but it haven't succeded.
>
>        I got the following message :
>
>        Warning: Couldn't open stream
>{MyMailServer:993/imap/ssl/novalidate-cert}INBOX in /export/www/teste.php on
>line 5
>bool(false)
>Warning: Connection failed to MyMailServer,993: Connection timed out 
>(errflg=2)
>in Unknown on line 0
>
>        My configuration :
>
>             RedHat 7.2
>             imap2000c (c-client)
>             courier-imap 1.4.3 (my mail server)
>             PHP 4.1.2
>
>        The question: Which option do I choose to compile IMAP
>c-client for the configuration above ?
>
>        Thanks in advance !!!
>
>        Tiago Fioreze

-- 
    Darien M. Kruss
    darien@kruss.com