|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: "Extra" main.cf variables
From: Wietse Venema (wietse
porcupine.org)
Date: Wed Sep 24 2003 - 18:19:33 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Dean Gibson (Mail Administrator):
> I was going to ask the following question here:
>
> Can I insert a new variable in main.cf; eg:
>
> LOOKUP_DIRECTORY = /etc/postfix/lookup
>
> and then use
>
> alias_maps = hash:$LOOKUP_DIRECTORY/aliases
>
> However, I just tried it and it appears to work (in Postfix 1.1.13). So,
> my question is now, is this feature "supported" (in the sense that it
> should work in future versions of Postfix)?
>
> One possible future enhancement to Postfix that would kill this, is
> validating variable names (to detect spelling errors).
It works as intended, and has been used extensively for doing
backwards compatibility hacks, but I can't promise that Postfix
won't ever become smarter so that it can figure out that some name
might be a typo.
For example, some non-existent variable names are defined by the
restriction_classes parameter, but a smart main.cf processor could
recognize that these non-existent variable names are OK.
Wietse
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]