AWS – Email – “Error Sending Mail – Message Reject : Email address is not verified. The following identities failed the check in region”

Background

Trying to send out an email email over an SMTP Server residing in AWS.

Error

Image

emailAddressInNotVerified.20190107.0253PM.PNG

Textual

An error occurred while sending mail.
The mail server responded : Message rejected: Email address is not verified.
The following identities failed the check in region 

Remediation

Outline

  1. Launch web browser
  2. Enter Region Specific URL
  3. SES
    • Domain Identities
      • Listing
        • All Domain Identities are listed
      • Add Domain
        • If your domain is not listed, please prepare to register it by clicking on the “Verify A New Domain” button
    • Email Addresses
      • Listing
        • All Email Addresses are listed
      • Verify a new email address
        • If your email address is not listed, please prepare to register it by clicking on the “Verify A New Email Address” button
      • Registration
        • In the “Verify New Email Address” window
          • Enter the Email Address
          • Click the “Verify this Email Address” button
      • Validation Email
        • Wait for the validation email
        • Read, Review, and Click in registration link

Steps

SES Home Page

Enter URL to the SES Home Page.

The generic URL to the SES Home Page is https://console.aws.amazon.com/ses/home.

For us, we are in US-WEST-2, and we can connect to the region specific URL by going here ( https://console.aws.amazon.com/ses/home ( https://us-west-2.console.aws.amazon.com/ses/home?region=us-west-2 ).

Domain Identities

From the left frame, please click the “Domains” link.

Please review the registered Domain Identities.

If your Domain is not listed, please click the “Verify a New Domain” button.

Listing

domainidentities.20190109.0102pm

Verify New Domain Identity

AmazonSimpleEmailService.verifyANewDomain.20190109.0106PM.PNG

Email Address Identities

From the left frame, please click the “Email Addresses” link.

Please review the registered “Email Addresses Identities“.

If the “Email Addresses Identifiers” is not listed, please click the “Verify a New Email Address” button.

Listing

Registered “Email Address Identifiers” are listed.

emailAddressIdentities.listing.20190109.0115PM.PNG

Verify New Email Address

In the “Verify a New Email Address” window, please enter the email Address that you will be using as the “Sending Address”.

Click the “Verify this Email Address” to confirm.

verifyanewemailaddress.20190109.0118pm

Validation Email

You will receive an email in email address you entered earlier.

Within 24 hours, please review the email and click on the Link.

Samples

Here are sample emails :-

Image

validation.email.20190109.0148PM.PNG

Textual

Dear Amazon Web Services Customer,

We have received a request to authorize this email address for use with Amazon SES and Amazon Pinpoint in region US West (Oregon). If you requested this verification, please go to the following URL to confirm that you are authorized to use this email address:

https://email-verification.us-west-2.amazonaws.com/?Context=458828384081&X-Amz-Date=20180913T234020Z&Identity.IdentityName=daniel.adeniji%40edriving.com&X-Amz-Algorithm=AWS4-HMAC-SHA256&Identity.IdentityType=EmailAddress&X-Amz-SignedHeaders=host&X-Amz-Credential=AKIAJJHD5MBOFZDF5APA%2F20180913%2Fus-west-2%2Fses%2Faws4_request&Operation=ConfirmVerification&Namespace=Bacon&X-Amz-Signature=7cccbc70dddc08dc9d93c91cb1febb2a6792ce4f86083d26d3fa1668b2155063

Your request will not be processed unless you confirm the address using this URL. This link expires 24 hours after your original verification request.

If you did NOT request to verify this email address, do not click on the link. Please note that many times, the situation isn't a phishing attempt, but either a misunderstanding of how to use our service, or someone setting up email-sending capabilities on your behalf as part of a legitimate service, but without having fully communicated the procedure first. If you are still concerned, please forward this notification to aws-email-domain-verification@amazon.com and let us know in the forward that you did not request the verification.

To learn more about sending email from Amazon Web Services, please refer to the Amazon SES Developer Guide at http://docs.aws.amazon.com/ses/latest/DeveloperGuide/Welcome.html and Amazon Pinpoint Developer Guide at http://docs.aws.amazon.com/pinpoint/latest/userguide/welcome.html.

Sincerely, 

References

  1. Amazon
    • Amazon Simple Email Service
      • AWS Documentation » Amazon SES Documentation » Developer Guide » Sending Email with Amazon SES » Setting up Email with Amazon SES » Verifying Identities in Amazon SES » Verifying Email Addresses in Amazon SES
        Link
      • AWS Documentation » Amazon SES Documentation » Developer Guide » Sending Email with Amazon SES » Setting up Email with Amazon SES » Verifying Identities in Amazon SES » Verifying Email Addresses in Amazon SES » Verifying an Email Address
        Link

 

em Client

Background

A little over a month ago, I needed to research some past email correspondences.

I am not that satisfied with Microsoft’s Outlook web site.

I find it to be slow and its performance is uneven.

It might be the advertisement, might be that I keep too much emails in my inbox, or the HTML/JavaScript client.

I have a reasonably fast Internet Connection at work and at home and so it is not network throughput.

Save a dozen other posts for Outlook.com.

 

Windows Live Mail

Thought back to yesteryear, downloaded Windows Live and stubbornly installed Windows Live Mail.

Stubborn is the active word here.

My struggles is acknowledged here.

Help

The only good that comes from been stubborn is that a few people let in that they were just as stubborn.

And, that if you really want an email client for your desktop, em-client is a tool that one should shortlist.

Download

em Client is available here.

Install

Screen Shot

End User License Agreement

enduserAgreement_20180410_0615PM

 

Ready to install eM Client

readyToInstall_20180410_0616PM

 

Installing eM Client

installing_20180410_0616PM

 

Your eM Client is installed

installed_20180410_0618PM

 

Revised

Image

installed_20180410_0618PM_B

Textual
  1. Set eM Client as default application => unchecked
  2. Run on Windows startup => unchecked
  3. Launch eM Client => checked

 

Configure

Email Provider

Hotmail

Screen Shot

Welcome

welcome

 

Import data from other software
Image

importFrom

 

Textual

As I currently have both Microsoft’s Outlook and Windows Live Mail installed on my desktop, was given an opportunity to import data from them.

New Account – Setup an Account

setupAccount_hotmail_04102018

 

 

New Account – Account Details

setupAccount_hotmail_accountDetails_04102018

 

New Account – Finish

setupAccount_hotmail_almostDone_04102018

 

Gmail

Screen Shot

Accounts

Currently only the Hotmail Account is configured.

New Account – Set up an account

New Account – Account Details

New Account – Finish

New Account – Browser – Sign in with Google

New Account – Password Required – em Client request access

em Client requesting access to gmail.

New Account – You are all set!

Review Accounts

Here is where we are upon adding gmail account.

SSRS – Validating Smart Host – Using Mozilla Thunderbird

Background

A few posts ago, we provisioned a Smart Host.

Let us quickly test it out.

 

Lineage

Here are other posts in this multi-series:

  1. SSRS – Setting up Smart Host
    Link

Scenario

To make sure that we understand the specificity of Microsoft’s Office 365 SMTP service, we will install a free, durable email client; specifically Mozilla Thunderbird.

 

Wireshark

Filter

  1. tcp.port == 25 || tcp.port == 465 || tcp.port == 587

Mozilla Thunderbird

Download

Download Mozilla Thunderbird from here.

Installation

Installation is straightforward.

Configuration

Images

Session – 1

Configuration
SMTP Server Settings

 

Output
Netstat

WireShark

 

Session – 2

Configuration
SMTP Server Settings

Output
Netstat

WireShark

WireShark – SMTP ( Destination Port 587 ) – 01
WireShark – Explanation
  1. Connection to SMTP Host
WireShark – SMTP ( Destination Port 587 ) – 02

WireShark – Explanation
  1. Reply from SMTP Host

 

Session – 3

Configuration
SMTP Server Settings

WireShark

WireShark – Explanation
  1. We see a fuller conversation

 

Item Port :- 465 /
Connection :- SSL/TLS
Port :- 587 /
Connection Start :- SSL/TLS
Port :- 587 /
Connection Start :- STARTSSL
Server Name smtp.office365.com smtp.office365.com smtp.office365.com
Port 465 587 587
Connection Security SSL/TLS SSL/TLS STARTTLS
Authentication Password Normal Password Normal Password Normal Password
Results SYN/SENT  Truncated Conversation  Full Conversation

 

Network Ports

  1. Port :- 25
    • SMTP
      • Server to Server email
        • Message relay port
      • (-)
        • Not Authenticated
        • Blocked by a lot of firewall
  2. Port :- 465
    • SMTP
      • (-)
        • Not widely adopted
  3. Port 587
    • SMTP
      • Mail Submission Port
      •  (+)
        • Authenticated emails

 

References

  1. Microsoft
    • Office
      • Support
        • POP and IMAP settings for Outlook Office 365 for business
          Link
        • How to set up a multifunction device or application to send email using Office 365
          Link
    • technet
      • blogs.technet.com
        • Andrew Stobart – Useful Wireshark Filters for Mail Flow Troubleshooting
          Link
  2. Mozilla.Org
    • Mozilla Support
      • cannot send mail. Connected to smtp.office365.com but times out.
        Link
  3. Stanford University
    • Stanford | University IT
      • How to Configure Thunderbird for Office 365 Using IMAP
        Link
  4. StackOverflow
    • Network Ports
      • What is the difference between ports 465 and 587?
        Link
  5. JSCAPE
    • Managed File Transfer and Network Solutions
      • John Carl Villanueva
        • Still Confused With SMTP Ports? Read This
          Link
  6. FastMail
    • SSL vs TLS vs STARTTLS
      Link