[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: [Courier-imap] VIRTUAL HOST Paul Ronald Tue Apr 03 04:00:19 2012


i use the init script that comes into the sources "courier-imap.sysvinit".

The problem, is that the script do not understand the variable TLS_CERTFILE
with two certs.

This is the part of code:

                if test -x $COURIERTLS
                # First time we start this, generate a dummy SSL

                        if test ! -f $TLS_CERTFILE
                                echo -n " generating-SSL-certificate..."
                                ${datarootdir}/mkimapdcert >/dev/null 2>&1
                        /usr/lib/courier-imap/libexec/imapd-ssl.rc start
                        echo -n " imap-ssl"

Has anybody this  working? i would to see their configs, please.

2012/3/27 Todd Lyons <[EMAIL PROTECTED]>

> On Tue, Mar 27, 2012 at 4:43 AM, Paul Ronald <[EMAIL PROTECTED]>
> wrote:
> > /etc/init.d/courier-imap.sysvinit restart
> > Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
> > Starting Courier-IMAP server: imap generating-SSL-certificate... imap-ssl
> >
> > Is not using my certs, use "Automatically-generated IMAP SSL key"
> Your init script is likely looking for ssl keys, and not finding them
> so it creates new ones.  The issue here is where the init script is
> expecting them to be and where your daemon is actually configured to
> have them.  Now, I don't use this type of ssl cert configuration, so I
> do not know the specifics of how it should actually work.  But the
> thing to do IMHO is to look at the init scripts, find the part that
> says "Automatically-generated" and then look around there to figure
> out what it's trying to do.
> ...Todd
> --
> Always code as if the guy who ends up maintaining your code will be a
> violent psychopath who knows where you live. -- Martin Golding
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
Courier-imap mailing list
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap