Dynamic procmail filters

Posted by WombaT on Server Fault See other posts from Server Fault or by WombaT
Published on 2012-11-19T11:04:51Z Indexed on 2012/11/19 11:10 UTC
Read the original article Hit count: 314

Filed under:
|
|

i need procmail to place incoming mail into specific folder depending on some set of rules. I know how i can accomplish this, but i need to write static set of rules in a specific file. What i really need is to configure procmail to use rules stored in mysql database. How i can do this? I've read a bit about that and one solution i found is to pipe message to a php/perl script and return a folder name to place message. But i have completely no i idea how to use php script as a rule and then use its return value.

© Server Fault or respective owner

Related posts about php

Related posts about email