I'm trying to setup postfix to handle incoming mail in a rather unusual way. I don't need any MDA setup, I just want to receive all incoming emails and run a python script on them when they arrive, regardless of the address they are sent to. New email arrives at postfix ([email protected]) -> Python script called to run on new email -> Mail is marked for removal I'm wondering if this kind of setup is even possible without a MDA... is there any way I can hook into postfix to call my python script when a new mail is received? I suppose an alternative method would be to set the python script to run on the postfix mail queue on an interval and check for new mail but I'd prefer to only call the script when necessary. I'd appreciate any advise as to how I can achieve this setup.