239241Re: Include Config Files?
- Jun 2, 2008On Mon, Jun 02, 2008 at 04:28:56PM +0200, Hannes Erven wrote:
> Hi folks,It is not possible with aliases either. The ":include:" syntax on the RHS
> I was wandering if it was possible to split the main.cf configuration
> file in multiple parts, e.g.:
> mynetworks = ...
> myhostname = ...
> include /path/to/file
> I searched the docs, but including seems only to be possible with aliases.
of the aliases file is not a mechanism for extending the aliases file with
additional "lhs: rhs" entries. Rather it is an indirection mechanism for
a single "rhs" value. Not too dissimilar from "mynetworks = /some/file".
> One possible "workaround" would of course be to concatenate all "source"Concatenate is the answer. make(1) is a good tool for such work.
> config files into main.cf, but that seems not really elegant to me, is it?
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- << Previous post in topic Next post in topic >>