On Friday, December 26, 2008 at 06:09 CET,
"J. Bakshi" <[email protected]> wrote:
> > > Apparently, your Postfix tries to use NIS for alias_maps, and some
> > > SYSTEM LIBRARY function reports an error. Perhaps you need to
> > > update the main.cf:alias_maps setting.
>
> Thanks for your suggestion. I have checked the main.cf and found the
> "alias_map" is commented.
>
> ~~~~~~~~~~~~~~~~`
> #alias_maps = hash:/etc/aliases
> ~~~~~~~~~~~~~~~~~~~~~~
Unless you have some other alias_maps line in main.cf, Postfix uses the
default value (which is OS dependent). Use "postconf alias_maps" to find
out what value Postfix is actually using. You'll probably see something
like "nis:mail.aliases" in that string. Remove that part unless you
really want to use NIS for alias lookups.
> But there is one more configuration for virtual_alias_map like
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> virtual_alias_maps =
> mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> may be it required to uncomment the alias_map option.
virtual_alias_maps is unrelated.
--
Magnus Bäck
[email protected]