Refresh your imap SSL-Certificate

    If you need to update your Imap SSL-Certificate for courier you can do it like this:

    Open the config-file /etc/courier/imapd.cnf with your favorite editor. Then edit the following things:

    C=DE
    ST=NRW
    L=Wuppertal
    O=Bios-Blog
    OU=IMAP
    CN=imap.example.com
    emailAddress=someone@example.com

    Then just type:

    mkimapdcert

    into a console…

    The last thing to do is to restart your imapd with something like:

    sudo service courier-imapd-ssl restart

    And off you go with a brandnew Imap SSL-Certificate
    That’s all folks:)