I’m currently exploring the possibility of setting up a hook trigger that activates whenever our hosted Mailcow server receives an email. The objective is to have this trigger execute a script that sends all relevant information from the received email to a custom URL as a request trigger.
I understand that Mailcow offers IMAP for receiving emails, but I’m seeking a more passive approach, ideally avoiding the need for a cron job to scan the IMAP folder. If anyone has experience or suggestions on implementing such a setup, I would greatly appreciate your guidance.
Thank you in advance for your assistance!