ud-mailgate: only run ldapmodfiy if we actually have attributes to modify.