Morning Everyone, This is something that I have tried discussing with a few people before in the IRC arena.
Now in the qmail or sendmail arena for an email address you can have the incoming email piped to a script or you can have it piped to a script and remain in the inbox of the user. I was wondering if there is a way to be able to when a message is received in and placed into the database by dmail to have dbmail call to a script (php, perl, shell, it doesn't matter) to run. If this has to be done per user that is fine, preferrably I would like to be able to do this on a global aspect. Currently I have postfix with dbmail and I have postfix call to my shell script that then passes on the message to dbmail as well as it calls my script. The reason for me asking is because not all people may have this option and I am working on a webmail interface application for dbmail that I would like to have message filtering as an option to people that use it, but to be able to do this some sort of script will have to be called upon message received so that it can "categorize" (filter) as need per the user's settings. (I hope that made sense). If anyone has some ideas, I would appreciated it. Thanks, -Erik