We're looking at embedding a Postfix mail setup into an existing web (php / mysql) product so that it can offer inbuilt email send/recieve support along with mail account management (its a CRM).

Ideally I don't want to be polling via POP3 or IMAP every so often to see if an account has new mail - is there a way to configure postfix so that it runs a script every time it receives a new mail?

That way, as long as it includes details of the recipient, I could setup a notification for the user within the CRM and not have to constantly poll the mail accounts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.