Matteo Bini via Postfix-users:
> Hello Postfix users,
> I have a very quick and easy question for you.
> 
> Is it possible to use a texthash database for both alias_database and
> alias_maps parameters?
> 
> I tried writing
> 
> alias_maps = texthash:/etc/aliases
> 
> However upon restart I got the following error.
> 
> warning: /etc/aliases, line 8: record is in "key: value" format; is this an 
> alias file?
> 
> Is there any of you who uses a texthash database for aliases? If yes,
> how?
> 
> Thank you very much for the support.

The texthash parser expects that input has the form

    key whitespace value

which is also the format that the postmap command expects.

Aliases files use a different parser, the one in the postalias
command.

        Wietse
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to