postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: virtual_alias_domains

Re: virtual_alias_domains

From: mouss <mouss_at_nospam>
Date: Mon Oct 18 2010 - 21:31:04 GMT
To: postfix-users@postfix.org

  Le 18/10/2010 22:29, The Doctor a écrit :
> REcently I have noted that virtual_alias_domains is growing.
>
> Is their some way for main.cf to look a file up instead of
> having to read a whole line?
>

http://www.postfix.org/postconf.5.html#virtual_alias_domains
states:
"
Specify a list of host or domain names, "/file/name" or "type:table
<http://www.postfix.org/DATABASE_README.html>" patterns, separated by
commas and/or whitespace. A "/file/name" pattern is replaced by its
contents; a "type:table <http://www.postfix.org/DATABASE_README.html>"
lookup table is matched when a table entry matches a lookup string (the
lookup result is ignored)
...
"

if that's not clear, the following examples may help:

virtual_alias_domains = file:/etc/postfix/virtual_alias_domains.list
virtual_alias_domains = cdb:/etc/postfix/virtual_alias_domains.hash
virtual_alias_domains = proxy:mysql:/etc/postfix/virtual_alias_domains.cf
... etc.