From: Magnus Bäck (no email)
Date: Sat Oct 01 2005 - 16:11:33 EDT
On Saturday, October 01, 2005 at 22:00 CEST,
Rudy Gevaert <> wrote:
> I have set up virtual aliases (for one person) with ldap nicely:
Virtual mailbox, not virtual alias.
[...]
> Running postmap -q gives:
>
> zalm:/etc/postfix# postmap -q \
> ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
> appel.ugent.be/f/fo/foo,appel.ugent.be/w/we/webworm
>
> But delivery of the mail doesn't work:
>
> Oct 1 21:36:00 zalm postfix/virtual[32293]: 34032BEE1:
> to=<>, relay=virtual, delay=1083, status=deferred
> (mailbox
> /home/vmail/appel.ugent.be/f/fo/foo,appel.ugent.be/w/we/webworm: cannot
> create file exclusively: No such file or directory)
Indeed, because virtual(8) expects a single result for a single lookup
key. It will not deliver to two or more recipients.
> My question: how does postfix handle multiple results of an ldap query?
They are concatenated and separated by a comma. See ldap_table(5).
> And how should I configure it so users who have mailAliasAddress set
> should accept mail for that address?
Use virtual aliasing to expand aliases to the actual canonical recipient
addresses so that all successful virtual mailbox lookups return one
result and one result only.
-- Magnus Bäck
|
|
|