Hi,
Thanks for the help so far.
I’ll post the trace logs you asked for, but there are two things here that we might indeed be talking past each other:
1 - I’m not talking about two lookups. I’m talking about this:
```
mailboxa, fedisport.no, postfixadmin, mailserver, etc, ipa.med-lo
dn: uid=mailboxa,cn=fedisport.no,cn=postfixadmin,cn=mailserver,cn=etc,dc=ipa,d
c=med-lo
postfixPasswordChanged: 20260530130918Z
uid: mailboxa
givenName: Mailbox
sn: A
status: TRUE
objectClass: postfixMailbox
objectClass: person
objectClass: inetOrgPerson
objectClass: inetUser
objectClass: top
objectClass: organizationalPerson
cn: Mailbox A
postfixMailAddress: [email protected]
```
The alias:
```
a, fedisport.no, postfixadmin, mailserver, etc, ipa.med-lo
dn: uid=a,cn=fedisport.no,cn=postfixadmin,cn=mailserver,cn=etc,dc=ipa,dc=med-l
o
uid: a
postfixMailAddress: [email protected]
status: TRUE
objectClass: postfixAlias
objectClass: top
postfixMailAlias: [email protected]
```
So, while I have two objects, as you see, the alias object does have the attrEmail mapping to `postfixMailAddress`. So it doesn’t need a second lookup, does it? I’d imagine that, when a mail comes to `[email protected]`, it would be found due my mailbox filter, and the attribute for the mailbox is there. Wouldn’t this work? It isn’t working as of now, and I’m failing to see what’s the problem with my configuration.
2 - I do understand Stalwart’s concept on alias being just for one mail account. But other systems do allow admins to configure an alias for two or more accounts. Postfix, for example, has clear examples for that on their ldap documentation. One can create an alias for two mailboxes and have mail sent to these two. What you’re saying is that Stalwart doesn’t support it this way, so if I end up using Stalwart, I’ll have to cope with this, but it doesn’t mean that it necessarily need to be an e-mail list. It’d be really nice if an alias could point to more than one e-mails, because this is a good behavior for, for example, a company that needs incoming e-mails to be answered by more than one employee when one of them is on vacation.
I’ll provide the trace logs you requested later today. Thanks for your patience and attention so far.