Hi Kato,
Sorry, I haven't had a chance to go through and get a handle on how the procmail building works within Webmin/Usermin. So I'm just sort of thinking out loud here :-)
Yes, in theory, what you're saying above is correct... given a particular user, you'd want to make a regexp that looks for a given From address.
Also, I'm pretty sure you can give users rights to do this from within Usermin, rather than going into the Procmail server section of Webmin. Once you log into Virtualmin, click Webmin -> Usermin Configuration -> Available Modules, then make sure "Procmail Mail Filter" is there. If you want to limit who can acccess Procmail, you can use the "Module Restrictions" section for that.
In the end, once you configure things the way you need, it would end up adding something like this to the procmail file:
| Code: |
:0:
* From:.*devbot@jsmith.com
| /home/users/jsmith/domains/jsmith.com/includes/egate_helpdesk.php
|
I hope that helps in getting your started! :-)
-Eric