On Thu, Mar 08, 2007 at 09:35:31AM +0000, TJ wrote:
> I'm having an issue with courier-imap on Fedora Core 5, where imaplogin
> isn't offering STARTTLS even though all the required environment
> variables are set by the scripts.
> 
> To test it I'm launching it from a shell script that logs the
> environment just before calling imaplogin, which confirms the variables
> are set. 
> 
> Altering them changes the behaviour of imaplogin so I'm pretty sure it
> is seeing all the variables.
> 
> The essence of the problem seems to be that
> 
> courier-imap/imap/capability.c have_starttls()
> 
> isn't seeing IMAP_STARTTLS=Y or COURIERTLS=/usr/bin/couriertls
> 
> Any suggestions on how I can further debug this?

Add some printf's into the code. Find out whether the environment variables
have been set. If not, find out why not. Compare the startup scripts which
Fedora provide with the ones the native courier-imap source tarball
provides. Then if necessary report upstream to Fedora.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to