289210Re: Does an option "include" exist?
- Nov 1, 2012Hi,
>> I have a trivial question: I have several smtpd blocks in myI wasn't sure if "my" idea was good or bad. I simply thought about reducing redundancy and therefor lowering the risk of doing mistakes, if changes in config are required.
>> master.cf. Most of the time with similar options, but maybe just
>> single options change. Is there some "include" option that I could
>> cut these options and paste them in a separate file and include it
>> where needed?
> Since it is not documented in master(5), it's safe to assume it does
> not exist. I doubt Wietse is interested in implementing such a
> feature, but he can of course answer for himself.
> A workaround which can accomplish the same thing is to create aYes, that seems a good idea for now. So this would lead in something like a template system, where "make" builds the final master.cf.
> Makefile and use make(1).
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich
- << Previous post in topic Next post in topic >>