I created my own email server using postfix and implemented a catch-all email approach. I am a beginner in creating and running my own email server but read few articles and successfully ran it.
The approach I followed is written in here https://naveenhonestraj.in/creating-an-incoming-email-server-and-sending-data/
My end goal is to catch all the email sent to a specific domain, say (@example.com) and make a POST call(something like a webhook action) with payloads that contains all the information of the email sent.
I successfully made this and now can make those POST call with proper payload, but I am not aware of the problems/cons along running own server with the catch-all approach.
If somebody who worked on the similar lines can share their thoughts and opinions on this, it would be very very helpful. Thanks.