Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Installation unter LINUX: Mit dem yast die Pakete imap, openssl und xinetd installieren. # In der Datei
Wiki Markup
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

...

  1. editieren

...

  1. und

...

  1. die

...

  1. Protokolle

...

  1. imap

...

  1. und/oder

...

  1. imaps

...

  1. aktivieren:

...

  1. #

...

  1. Code Block
    # imap - imap mail daemon
    

...

  1. #
    service imap
    {
             disable         = no
             socket_type     = stream
             protocol        = tcp
             wait            = no
             user            = root
             server          = /usr/sbin/imapd
             flags           = IPv4

...

  1. 
    }
    

...

  1. #
    # imap - imap mail daemon over tls/ssl
    

...

  1. #
    service imaps
    {         disable         = no
             socket_type     = stream
             protocol        = tcp
             wait            = no
             user            = root
             server          = /usr/sbin/imapd
             flags           = 

...

  1. IPv4
    }
    

...

  1. Für

...

  1. das Protokoll imaps muss es noch einen Schlüssel geben.
    Dieser wird mit folgendem Befehl erzeugt:

    Code Block
    TUX:/etc/ssl/certs # openssl req 

...

  1. -new 

...

  1. -x509 

...

  1. -nodes 

...

  1. -out imapd.pem 

...

  1. -keyout imapd.pem
    Generating a 1024 bit RSA private key
    ..+++++

...

  1. +
    .............+++++

...

  1. +
    writing new private key to 'imapd.pem'
    
    

...

  1. ----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.
    
    

...

  1. ----Country Name (2 letter code) [AU]:
    State or Province Name (full name) [Some-State]:

...

  1. 
    Locality Name (eg, city) 

...

  1. [\]:
    Organization Name (eg, company) [Internet Widgits Pty Ltd]:

...

  1. 
    Organizational Unit Name (eg, section) 

...

  1. [\]:
    Common Name (eg, YOUR name) 

...

  1. [\]:
    Email Address 

...

  1. [\]:
    TUX:/etc/ssl/certs #
    

...

  1. den

...

  1. xinetd

...

  1. neu

...

  1. starten:

...


  1. /etc/init.d/xinetd

...

  1. restart

...