Hello, I am using postfix in conjunction with squirrelmail to build a business application. One of the requirements that I have is that when an email is received in one of the postfix mail boxes an alert is generated. In our case we will be sending a standard message to another email but in general we might want to run arbitrary code when messages are received by postfix.
It seems that some of the work that has been done with virus scanners uses a server hook to examine all the messages that pass through the server. Can anyone tell me what that is called or provide a pointer to more detail and is this the best way to solve a problem like this? -John Watson