custom procmail rules on ispconfig

Edit "/root/ispconfig/isp/conf/procmailrc.master" and add the below ".custom.rc" line.


Now include any custom rules that you may have to the ".custom.rc" file in the users home directory.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


It will get over-ridden in an upgrade.

I just run a script after such upgrades to put all customizations back.

custom procmail rules on ispconfig

Great tip, it appears that this only affects users created AFTER the template change is made. That makes sense, I just hadn't realized how those templates were used initially. So if you want to make it work for an already existing user as well, go to their home directory and edit the .procmailrc to append the correct line on the end:


Also, it seems that if you edit "/root/ispconfig/isp/conf/procmailrc.master" it will get overwritten in an upgrade. There is a customized_templates directory where I think you are supposed to put modified templates. I haven't yet upgraded though, so I don't know how it works.