1 (edited by NoOne1337 2010-03-28 03:11:56)

Topic: Domain Alias with Aliases (LDAP Backend)

Hi @all,

how do I use Aliases with Domain Alias?

1. I looked into this http://www.iredmail.org/forum/topic354- … ckend.html and added the domainAliasName to the Domain an the shadowAddress to the User.

2. Tested that this works as expected -> WORKING

3. Added a alias for aliasname@domainName

4. Tried to send a mail to aliasname@domainName -> WORKING
5. Tried to send a mail to aliasname@domainAliasName -> NOT WORKING
6. Added a mail entry to aliasname to aliasname@domainAliasName
7. Tried to send a mail to aliasname@domainAliasName again -> NOT WORKING

Any ideas ?

BTW: Too many things to todo to add an aliasdomain. It should be only something like add a mapping for the domain only (PostfixAdmin with MySQL supports this)

Thanks,

Robert

2

Re: Domain Alias with Aliases (LDAP Backend)

NoOne1337 wrote:

3. Added a alias for aliasname@domainName

5. Tried to send a mail to aliasname@domainAliasName -> NOT WORKING
7. Tried to send a mail to aliasname@domainAliasName again -> NOT WORKING

The problem is we don't add 'shadowAddress' in mailAlias and mailList object, and postfix won't lookup this attribute from LDAP. i will improve iRedMail -current to make it work later.

BTW: Too many things to todo to add an aliasdomain. It should be only something like add a mapping for the domain only (PostfixAdmin with MySQL supports this)

LDAP is not SQL.
In SQL, you can query result against two or more tables in one command, but this is impossible in LDAP.

3

Re: Domain Alias with Aliases (LDAP Backend)

Hope to implement this in iRedAdmin-Pro.

4

Re: Domain Alias with Aliases (LDAP Backend)

@NoOne1337: Already implement shadowAddress support in mail alias.
http://code.google.com/p/iredmail/sourc … c5f26d3f12

If you want to use this new feature now, please don't forget to use the newest LDAP schema file, so that you can use attribute 'shadowAddress' in alias object.