Commit b7bbe075 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix comment

parent ccc6bd33
......@@ -122,7 +122,7 @@ void DKIMCheckFullJob::storeInKeyManager(const QString &key, const QString &doma
void DKIMCheckFullJob::slotCheckAuthenticationStatusResult(const MessageViewer::DKIMAuthenticationStatusInfo &info)
{
qDebug() << "info " << info;
//qDebug() << "info " << info;
DKIMAuthenticationStatusInfoConverter converter;
converter.setStatusInfo(info);
const QVector<DKIMCheckSignatureJob::CheckSignatureResult> lst = converter.convert();
......@@ -130,9 +130,10 @@ void DKIMCheckFullJob::slotCheckAuthenticationStatusResult(const MessageViewer::
qDebug() << " lst" << result;
//TODO verify it.
}
//TODO implement info !
//TODO convert DKIMAuthenticationStatusInfo to CheckSignatureResult
//TODO check info ! if auth is ok not necessary to checkSignature
if (mCheckPolicy.useOnlyAuthenticationResults()) {
//Don't check signature if not necessary.
}
checkSignature();
}
......
......@@ -56,6 +56,7 @@ void DKIMGenerateRuleJob::verifyAndGenerateRule()
DKIMRule rule;
rule.setEnabled(true);
rule.setFrom(mResult.fromEmail);
//TODO add Domain when we create a rule from base domain.
//rule.setDomain(mResult.signedBy); //TODO verify ?
rule.setSignedDomainIdentifier(QStringList() << mResult.sdid);
rule.setRuleType(DKIMRule::RuleType::MustBeSigned);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment