Added option to check sender's MX records

This commit is contained in:
M66B
2019-07-16 14:44:21 +02:00
parent 4fb3f3c638
commit b8203fe0f0
10 changed files with 1935 additions and 44 deletions

View File

@@ -99,6 +99,7 @@ public class EntityMessage implements Serializable {
public Boolean dkim;
public Boolean spf;
public Boolean dmarc;
public Boolean mx = null;
public String avatar; // lookup URI from sender
public String sender; // sort key
public Address[] from;
@@ -251,6 +252,7 @@ public class EntityMessage implements Serializable {
Objects.equals(this.dkim, other.dkim) &&
Objects.equals(this.spf, other.spf) &&
Objects.equals(this.dmarc, other.dmarc) &&
Objects.equals(this.mx, other.mx) &&
Objects.equals(this.avatar, other.avatar) &&
Objects.equals(this.sender, other.sender) &&
MessageHelper.equal(this.from, other.from) &&