cd7bcb mailserver: fix order of certificate check

Authored and Committed by oreinert 2 years ago
    mailserver: fix order of certificate check