At 1:21 AM -0700 3/29/02, Mark Derbyshire wrote:
>cyradm and perl are the two cesspools for Mac OS X. Some cryptic 
>notes that migtht help:
>
>The perl stuff fails to link with -lsasl because it doesnt't accept 
>the LDFLAGS from the
>config files.
>
>Changed Makefile.in in perl to have:
>
>LDFLAGS=@LDFLAGS@
>imap/Makefile: imap/Makefile.PL
>        (cd imap; \
>         SASL_LIB="$(SASL_LIB)" SASL_INC="$(SASL_INC)" CC="$(CC)" 
>LDFLAGS="$(LDFLAGS)" \
>           $(PERL) Makefile.PL PREFIX=$(prefix))
>
>Changed Makefile.PL in perl/imap to have:
>
>my $LDFLAGS  = $ENV{LDFLAGS};
>   'LIBS'      => ["-L../../lib -L/$LDFLAGS -lcyrus $SASL_LIB -lssl -lcrypto"],
>
>Changed Makefile.PL in perl/sieve/acap to have:
>
>my $LDFLAGS  = $ENV{LDFLAGS};
>    'LIBS'      => ["-L../../../acap/ -L/$LDFLAGS -lacap $SASL_LIB 
>-L../../../lib/ -lcyrus -lssl -lcrypto"],   # e.g., '-lm'
>
>Changed Makefile.PL in perl/sieve/managesieve to have:
>
>my $LDFLAGS  = $ENV{LDFLAGS};
>    'LIBS'      => ["-L../lib/ -L/$LDFLAGS -lisieve $SASL_LIB 
>-L../../../lib/ -lcyrus -lssl -lcrypto"],


Hmm- that didn't get cyradm running.

Can someone comment (or point me to rtfm) how cyradm works?

Is it just sending data over the imap port? Is there an alternative?

I'm baffled by the Decoding Error in syslog- usually, there's some 
indication  from Google what's going on. But no Decoding Errors 
(outside of TLS, which I'm not currently using) seem to be mentioned 
in reference to cyrus imapd.

To recap- cyradm locally fails, because it can't find my sasl libs. 
(annoying, since they're working fine for imapd authentication, ldap 
and others). From my linux box- using cyradm I can log in, but any 
interactive command fails with the following error:

Mar 29 15:53:32 elric imapd[2212]: Decoding error: generic failure 
(-1), closing connection

Can someone tell me what a Decoding error is? Running strings on imapd I get:

strings /usr/cyrus/bin/imapd | grep Decoding
Decoding error: %s (%i)

Ideas?

Thanks-





thanks-

-- 

Reply via email to