Configuring AWS SES for outgoing, bounce, and incoming email

I just set this up, and I believe that raw message delivery must be DISABLED, not ENABLED.

With raw message delivery enabled, the SNS bounce notifications don’t include the SNS metadata that discourse requires in order to validate the message. My access logs contained entries like this:

"POST /webhooks/aws HTTP/1.1" "Amazon Simple Notification Service Agent" "-" 406 414 "-" 0.008 0.008 "-" "-" "-" "-" "-" "-" "-"

ie. HTTP status 406, “Not Acceptable”.

After disabling raw message delivery, the access logs showed:

"POST /webhooks/aws HTTP/1.1" "Amazon Simple Notification Service Agent" "-" 200 402 "-" 0.022 0.022 "-" "-" "-" "-" "-" "-" "-"

ie. HTTP status 200, “OK”.