Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Dieser Artikel ist veraltet. In aktuellen Versionen bitte für die Erneuerung des Zertifikats diese Anleitung beachten:
http://www.faqforge.com/linux/distributions/debian/how-to-renew-ssl-certificates-for-courier-pop3-and-imap-server-on-debian-linux/ 

 

Installation unter LINUX:

Mit dem yast die Pakete imap, openssl und xinetd installieren.

  1. In der Datei /etc/xinet.d/imap editieren und die Protokolle imap und/oder imaps aktivieren: #

    Code Block
    
    # imap - imap mail daemon
    #
    service imap
    {
             disable         = no
             socket_type     = stream
             protocol        = tcp
             wait            = no
             user            = root
             server          = /usr/sbin/imapd
             flags           = IPv4
    }
    #
    # imap - imap mail daemon over tls/ssl
    #
    service imaps
    {         disable         = no
             socket_type     = stream
             protocol        = tcp
             wait            = no
             user            = root
             server          = /usr/sbin/imapd
             flags           = IPv4
    }
    
  2. Für das Protokoll imaps muss es noch einen Schlüssel geben.
    Dieser wird mit folgendem Befehl erzeugt:

    Code Block
    
    TUX:/etc/ssl/certs # openssl req -new -x509 -nodes -out imapd.pem -keyout imapd.pem
    Generating a 1024 bit RSA private key
    ..++++++
    .............++++++
    writing new private key to 'imapd.pem'
    
    ----You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    
    ----Country Name (2 letter code) [AU]:
    State or Province Name (full name) [Some-State]:
    Locality Name (eg, city) [\]:
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:
    Organizational Unit Name (eg, section) [\]:
    Common Name (eg, YOUR name) [\]:
    Email Address [\]:
    TUX:/etc/ssl/certs #
    
  3. den xinetd neu starten:
    /etc/init.d/xinetd restart