protocols = $protocols imap

mail_plugins = $mail_plugins zlib
protocol imap {
    mail_plugins = $mail_plugins imap_zlib
}

service imap-login {
    inet_listener imap {
        port = 10143
    }
    inet_listener imaps {
        port = 10993
        ssl = yes
    }
}