I wanted to know if there's a way to hook into ISPconfig to fire an event/send a request/execute some PHP whenever a new email comes in.
Case
I have a small server running Ubuntu and ISPconfig with one domain, and many email address. I'm trying to create an application that allows members to check their mails directly in the app, and send to other members, even if they dont have an email address. So if you'd send an email to iDontExist@domain.com, the given email would be forwarded to the application and stored inside the iDontExist user internal "mailbox".
Is there any way to achieve this ? I didn't find any kind of events or hooks inside ISPconfig.
Thanks a lot !