department-of-veterans-affairs / notification-api

Notification API
MIT License
16 stars 8 forks source link

Set up BIMI for emails coming from VA #380

Closed miabecker closed 3 years ago

miabecker commented 3 years ago

Value Statement

As Veteran or non-Veteran Beneficiary I want to see the Department of Veterans Affairs Logo (BIMI) on emails are coming from the Department of Veteran's affairs in my inbox So that I have confidence my information is safe

Acceptance Criteria

GIVEN an email from the Department of Veterans Affairs WHEN it is sent from messages.va.gov and notifications.va.gov THEN the end-user will see a BIMI in their inbox on the same row as the email

Checklist

Assumptions

Additional Info/Resources

https://www.litmus.com/blog/how-to-set-up-bimi/

Out of Scope

-

Open Questions

-

miabecker commented 3 years ago

Is it possible for Granicus?

miabecker commented 3 years ago

@toddstanich to add svg file here

toddstanich commented 3 years ago

BIMI added above.

ffafara-tw commented 3 years ago

https://github.com/department-of-veterans-affairs/vets-website/pull/17162

ffafara-tw commented 3 years ago

Submitted in scope change to RFC-005219 ESECC request.

ffafara-tw commented 3 years ago

https://bimigroup.org/bimi-generator/ claims the SVG has some issues:

SVG Issues You Need To Fix
 Attribute "Data-Name" Not Allowed Here, At Line Number: 1:170
More Details [+]
 Element "Svg" Missing Required Attributes "BaseProfile" And "Version", At Line Number: 1:170
More Details [+]
 Element "Defs" Not Allowed Yet, At Line Number: 1:176
More Details [+]
 Element "Style" Not Allowed Anywhere, At Line Number: 1:183
More Details [+]
 Element "ClipPath" Not Allowed Anywhere, At Line Number: 1:436
More Details [+]
 Element "ClipPath" Not Allowed Anywhere, At Line Number: 1:515
More Details [+]

@toddstanich can you take a look?

toddstanich commented 3 years ago

@ffafara-tw ran it through a conversion tool. How can we verify it meets the requirements?

Attached in this zip folder, github won't let me upload the SVG directly. bimi.zip

ffafara-tw commented 3 years ago

I think we will need to upload it to S3 bucket and use https://bimigroup.org/bimi-generator/ to verify.

ffafara-tw commented 3 years ago

PR to udpate SVG: https://github.com/department-of-veterans-affairs/vets-website/pull/17317

ffafara-tw commented 3 years ago

We might need to add some more DNS entries (SPF, MX) for notifications.va.gov domain.

ffafara-tw commented 3 years ago

BIMI verification passes for messages.va.gov however it's not showing up on gmail. We might need to to obtain a verified mark certificate (VMC)

ffafara-tw commented 3 years ago

We should also test it with Verizon Media (Yahoo)

miabecker commented 3 years ago
  1. Test sending to yahoo email with both domains

@TWs-DevenS

ffafara-tw commented 3 years ago

If it doesn't work for either domain - we have to review what is missing according to https://bimigroup.org/. If it does not work for notifications.va.gov we will need to:

To add MX DNS record we will need to talk to VA Email (Exchange?) group to get their approval for pointing the domain at VA mail servers.

ffafara-tw commented 3 years ago

The BIMI logos are not showing up in yahoo. It's possible that we are not sending enough emails, as yahoo is only showing BIMI Logo for bulk senders: https://easydmarc.com/blog/how-to-configure-bimi-record/

TWs-DevenS commented 3 years ago

Test Plan for testing BIMi logo https://docs.google.com/document/d/1n4UvmiAESUSySw0GdwtqbLxNWIsBzUCQRDY4BL-D-Fc/edit

miabecker commented 3 years ago

Inputted a ticked to Yahoo support today.

miabecker commented 3 years ago

Creating a bug card for yahoo issue.