Conversation
Notices
-
Dear !linux #lazyweb: Will #procmail obey rules from ~/.procmailrc after reading /etc/procmailrc, or will it ignore the user specific one?
- Rolf likes this.
-
I think it will, but from its man page I'm not 100% sure.
-
As a general rule, any program will read from /etc first, then ~, which will overrule the global conf.
-
So rules in /etc will be ommited if ~/ contains them too? Maybe copying the global one and adding the user specific ones is the best option.
-
Rules in /etc will be overwritten iff they are different in ~.
-
@mvdan Think of it like cascading stylesheets- a local rule will override a global rule.
-
and @pete - Thanks, that was very helpful. Did not know most programs followed that pattern.