Hi,

It seems that pop3d.rc.in and imapd.rc.in load
configuration files (@sysconfdir@/pop3d and
@sysconfdir@/pop3d-ssl, @sysconfdir@/imapd and
@sysconfdir@/imapd-ssl) in the wrong order.

In pop3d.rc.in case, it loads pop3d-ssl and pop3d in this
order in the top level but it loads pop3d and pop3d-ssl in
this order in the start) closure. It seems that load order
in the start) closure is wrong.


Index: imapd.rc.in
===================================================================
RCS file: /cvsroot/courier/courier/imap/imapd.rc.in,v
retrieving revision 1.31
diff -u -p -r1.31 imapd.rc.in
--- imapd.rc.in 2 Jul 2005 01:13:56 -0000       1.31
+++ imapd.rc.in 30 Apr 2008 14:03:40 -0000
@@ -40,8 +40,8 @@ start)
                        [EMAIL PROTECTED]@ ;
                        [EMAIL PROTECTED]@ ;
                        [EMAIL PROTECTED]@ ;
-                               . @sysconfdir@/imapd ; \
                                . @sysconfdir@/imapd-ssl ; \
+                               . @sysconfdir@/imapd ; \
                IMAP_STARTTLS=$IMAPDSTARTTLS ; \
                PROXY_HOSTNAME=$PROXY_HOSTNAME ; \
                TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
Index: pop3d.rc.in
===================================================================
RCS file: /cvsroot/courier/courier/imap/pop3d.rc.in,v
retrieving revision 1.16
diff -u -p -r1.16 pop3d.rc.in
--- pop3d.rc.in 2 Jul 2005 01:13:56 -0000       1.16
+++ pop3d.rc.in 30 Apr 2008 14:03:40 -0000
@@ -32,8 +32,8 @@ start)
                [EMAIL PROTECTED]@ ;
                [EMAIL PROTECTED]@ ;
                [EMAIL PROTECTED]@ ;
-               . @sysconfdir@/pop3d ; \
                . @sysconfdir@/pop3d-ssl ; \
+               . @sysconfdir@/pop3d ; \
                PROXY_HOSTNAME=$PROXY_HOSTNAME ; \
                TLS_PROTOCOL=$TLS_STARTTLS_PROTOCOL ; \
                @courierlogger@ -pid=$PIDFILE -start $LOGGEROPTS \


Thanks,
--
kou

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to