From: Victor Duchovni (no email)
Date: Mon Aug 01 2005 - 14:33:50 EDT
On Mon, Aug 01, 2005 at 05:53:18PM +0200, Magnus B?ck wrote:
> On Monday, August 01, 2005 at 11:50 CEST,
> Tony Earnshaw <> wrote:
>
> > Having looked at the newaliases-style alias map, I understand that
> > it's differently formatted from other maps.
>
> Yes, local alias files in Postfix have this particular format, as
> documented in aliases(5). There is no reason to refer to this format as
> "newaliases-style". It simply is the official local alias file format
> for indexed maps. The fact that a database built with postmap(1) works
> is probably more of an implementation sideeffect rather than a behaviour
> that can be relied on.
>
I disagree. The "key: value" syntax is specifically the input format
for postalias(1) (aka sendmail -bi or newaliases). It is not an accident
that normal lookup "key" => get "value" semantics apply accross all
map types including "hash", "btree", "dbm", ...
The flat file syntax is for Sendmail compatibility, the table syntax is
key/value and supports LDAP, MySQL, ... with no evidence of "key:".
-- Viktor. 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: <mailto:?body=unsubscribe%20postfix-users>
|
|
|