List Info

Thread: Problem: STARTTLS capability not activated




Problem: STARTTLS capability not activated
user name
2007-03-08 03:35:31
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?

Secondly, a bug... I think (source package
courier-imap-4.1.2).

The function have_starttls() looks for IMAP_STARTTLS but in
imapd-ssl.dist.in its defined as IMAPDSTARTTLS.

Is this intentional, or has something been inadvertently
changed to
support imaps and inadvertently broken STARTTLS for
imaplogin ?


------------------------------------------------------------
-------------
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
Courier-imaplists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-im
ap

Re: Problem: STARTTLS capability not activated
country flaguser name
United Kingdom
2007-03-08 16:51:07
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
Courier-imaplists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-im
ap

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )