procmail
[Top] [All Lists]

Re: "sub-routine" in procmailrc

2017-10-09 09:52:26
On 2017-10-09 16:43, Zhiliang Hu wrote:

This may be naive but I have not found how to - in procmailrc is it possible to have a sub-set of rules that can be re-used under certain conditions?  I thought of using separate 'rc' files to "go to" from the main rc (/etc/procmailrc or ~/.procmailrc); not sure how to implement the scheme. E.g. Is "incldue" a right way?  Will appreciated any suggestions.

Re. usage of includes, see for example
https://rvtol.home.xs4all.nl/procmail/demo/basic/

-- Greetings, Ruud
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
https://mailman.rwth-aachen.de/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>