Your software
My Mautic version is: 5.0.4
My PHP version is: 8.1
My Database type and version is: MySQL 8
Ubuntu 22.04, Nginx, Cloudflare DNS
Symphony Amazon SES transport
@joeyk Plugin https://github.com/jos0405/mauticawsmailer.git
Your problem
My problem is:
I have been installed succesfully Mautic 5.0.4 with Amazon SES (ses+api), the mauils are sent correctly, I have my subscriptions to the https://mysite.com/mailer/amazon/callback confirmed and running, also I have configured the email notification for my Identity.
When I test a bounce, I receive the email from Amazon but the bounce management via the Amazon SES plugin is never reached because the logs does not have anything and I know that the plugin when a request arrives writes to the log that event.
I tested my endpoint with Postman with a Payload example from Amazon SNS for a bounce and I receive the Mautic Page " Looks like I encountered an error (error #400). If I do it again, please report me to the system administrator!
400 Bad Request
Mautibot"
The payload used to test via POSTMAN was:
{
“bounceType”:“Permanent”,
“bounceSubType”: “General”,
“bouncedRecipients”:[
{
“status”:“5.0.0”,
“action”:“failed”,
“diagnosticCode”:“smtp; 550 user unknown”,
“emailAddress":"recipient1@example.com”
},
{
“status”:“4.0.0”,
“action”:“delayed”,
“emailAddress":"recipient2@example.com”
}
],
“reportingMTA”: “example.com”,
“timestamp”:“2012-05-25T14:59:38.605Z”,
“feedbackId”:“000001378603176d-5a4b5ad9-6f30-4198-a8c3-b1eb0c270a1d-000000”,
“remoteMtaIp”:“127.0.2.0”
}
With headers : Content-Type, application/json
These errors are showing in the log: None, the log is empty
Steps I have tried to fix the problem: using Postman to test the Endpoint