Hello,
Thank you for your answer.
I managed to track down the problem.
For the rest of the world not using the default startup scripts provided
by Mr. Sam, please check your startup scripts for changes in the
environment variables used.
The problem was caused by the fact that the John Simpson's Daemontools
run script did not export the IMAP_STARTTLS environment variable.
After exporting this variable also the STARTTLS capability was
advertised and everything went as usual.
The Daemontools run script for the imap service should look like below:
TLS_CACHEFILE=""
. ${prefix}/etc/imapd-ssl
. ${prefix}/etc/imapd
# un-comment this section ONLY if you are using courier-imap 3.x or earlier
#LIBAUTHMODULES=""
#for f in `echo $AUTHMODULES`
#do
# LIBAUTHMODULES="$LIBAUTHMODULES
/usr/lib/courier-imap/libexec/authlib/$f"
#done
# any overrides can be done here
#ADDRESS=
#PORT=
export IMAP_STARTTLS=$IMAPDSTARTTLS
export TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL
exec tcpserver -v -c 40 -R $ADDRESS $PORT \
${exec_prefix}/sbin/imaplogin \
$LIBAUTHMODULES \
${exec_prefix}/bin/imapd Maildir
Note that this is only a part of the run script not the whole file !
Note to Mr. Sam Varshavchik:
I think that it would be useful to mention in the ChangeLog
modifications to the environment variables used in order to avoid this
type of issues in the future. I used previous versions of Courier 4.X.X
without any problems starting the service with the same run script.
As a side note, i use Daemontools for running all of the services of a
Qmail toaster i maintain in order to avoid managing services with
different tools and settings.
Sam Varshavchik wrote:
> Toma Daniel writes:
>
>> I use the the Daemontools run script made by John Simpson
>> (http://qmail.jms1.net/scripts/service-imap-run) and
>> (http://qmail.jms1.net/scripts/service-imapssl-run).
>
> Please follow the instructions in Courier-IMAP's INSTALL file, to set up
> the server using its standard startup script. The above scripts offer no
> apparent benefit over Courier's standard scripts, and most people around
> here are familiar only with Courier's script, and not somebody else's.
>
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you. Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users