Marek Kozlowski:
[ Charset ISO-8859-2 converted... ]
> :-)
> 
> The scenario:
> 
> For some reasons there are two mail servers: `myshost.mydomain' and
> `mydomain'. `myhost.mydomain' uses LDAP servers (pam_ldap, nss_ldap) as
> an authentication source. Users' email addresses are stored as an LDAP
> attributes which are accessed via:
> 
> virtual_alias_maps = ldap:/etc/postfix/ldap-aliases.cf
> 
> "For future development" ("migration in progress") some users have this
> attribute set to:
> 
>       name.surname@myhost.mydomain
> 
> while others:
> 
>       name.surname@mydomain
> 
> `mydestination' on `myhost.mydomain' is set to:
> 
>       mydestination = $myhostname, $myhostname.$mydomain,
>               localhost, localhost.$mydomain,
> 
> So it DOES NOT contain `$mydomain' itself.
> 
> Expected results:

Maybe you can read "man 5 virtual" first, before asking a question
about the handling of virtual aliases.

        Wietse

Reply via email to