Thank you guys. I was prone to using MailCow or iredMail and now I consider Post as a priority.
Is it still the best option?
Thank you guys. I was prone to using MailCow or iredMail and now I consider Post as a priority.
Is it still the best option?
If you can manage your own IPs, Postal is a dream.
For those that are dealing also with the topic, the return path in Postal is:
https://yourmautic.com/mailer/postal_api/callback
I created a Webhook that deals MessageDeliveryFailed messages (and also MessageBounced).
Unfortunately the contact is not set as bounced in Mautic.
Could it be that Postal v2.1.4 (28.04.2023) has changed this part after the Plugin GitHub - LucasCCS/postal_server_api_transport_for_mautic was created (1.12.2021) ?
The Payload that is sent from Postal is:
{
“message”: {
“id”: 40,
“token”: “Mk…mW”,
“direction”: “outgoing”,
“message_id”: “dbe...4b7fc78@rp.io.ionutojica.com”,
“to”: “testarea-bounce4@ionutojica.com”,
“from”: “contact@ionutojica.com”,
“subject”: “test twig2”,
“timestamp”: 1694125749.090986,
“spam_status”: “NotChecked”,
“tag”: null
},
“status”: “HardFail”,
“details”: “Permanent SMTP delivery error when sending to ionutojica.com (198.20.108.202)”,
“output”: “550 No Such User Here\n”,
“sent_with_ssl”: true,
“timestamp”: 1694125789.5417223,
“time”: 20.1
}
Do you know where I can find details about this?
Hello,
I actually have the same problem.
I’ve looking for a way to handle bounce emails from Mautic using Postal.
I installed the postal_server_api_transport_for_mautic
package from Github that you recommended and now I can send emails with Postal using API.
I also made a Web hook and set up the URL to be: https://mauticserver.com/mailer/postal_api/callback
and for Events I selected MessageDeliveryFailed and MessageBounced
but when I send emails from Mautic to a “fake email” I dont gent the user marked as “bounced”
Im not sure if there is an extra config that I need to do on Mautic or Postal to make this work.
Thanks
Hello, can you start something with this?
It works, unfortunately the solution is not implemented in the plugin on GitHub and I do not know how to implement it. It would be cool to have it implemented there, so that it would be available simply to download and works.
Success !
Hi,
Thanks for the info. I tried that Github repo
php mautic:plugins:reload
https://mauticServer.com/mailer/postal/callback
Still bounce emails doesn’t work, and my web hook on Postal give me a 500 Error.
Im using Postal 3.3.3
and Mautic 4.4.12
I saw on the repo that the plugin was tested on Postal 2.x so Im not sure if it wont work on Postal 3.x
Is there any change that I missed?
It is not enough to clone the Repo, as the improvements to make the bounces to work are not implemented, but are explained in the mentioned Issue.
Can you use this one, as I have made the proper changes as I use the plugin:
@IonutOjicaDe you are a Hero man!!! your changes work perfectly.
I’ve tested using Postal 3.3.3
and Mautic 4.4.12
and its working like a charm.
Thank you so much!!!