In setting up my mail server running OpenSUSE 12.3 I ran into a number of issues with LDAP when trying to configure email aliases. How do I go about adding email aliases like I would in the /etc/postfix/aliases text file in ldap?

I am a newbie to LDAP but believe I have it working properly. All of my DNS and DHCP configuration is stored in LDAP and is working as well as the domains I configured for suseMailClient using YaST.

I was able to add the suseMailClient configuration using ldapadd as well but so far I haven't had any luck setting up the mail aliases. An example would be very helpful since the postfix site doesn't cover the SuSE extensions.

I figure I would need something like this for my ldif:

dc: ou=Aliases,ou=Mailserver,dc=mydomain,dc=org
objectClass: top
objectClass: suseMailTable
tableKey: aliasemailname
tableValue: myemailname

I then run ldapadd -f myaliases.ldif -h localhost -D "cn=Administrator,dc=mydomain,dc=org" -W but nothing seems to happen.

In my Mailserver.ldif I have the following:

dn: ou=Mailserver,dc=mydomain,dc=org
objectClass: organizationalUnit
ou: Mailserver

dn: ou=Aliases,ou=Mailserver,dc=mydomain,dc=org
objectClass: organizationalUnit
ou: Aliases


dn: ou=Canonical,ou=Mailserver,dc=mydomain,dc=org
objectClass: organizationalUnit
ou: Canonical



dn: suseMailClient=192.168.0.0/24,ou=Mailserver,dc=mydomain,dc=org
objectClass: suseMailAccess
suseMailAction: OK
suseMailClient: 192.168.0.0/24


dn: suseMailClient=WW.X.Y.ZZZ,ou=Mailserver,dc=mydomain,dc=org
objectClass: suseMailAccess
suseMailAction: OK
suseMailClient: WW.X.Y.ZZZ


dn: suseMailClient=AAA.BB.0.0/16,ou=Mailserver,dc=mydomain,dc=org
objectClass: suseMailAccess
suseMailAction: OK
suseMailClient: AAA.BB.0.0/16


dn: suseMailClient=192.168.1.0/24,ou=Mailserver,dc=doofus,dc=org
objectClass: suseMailAccess
suseMailAction: OK
suseMailClient: 192.168.1.0/24


dn: suseMailClient=192.168.0.0/24,ou=Mailserver,dc=mydomain,dc=org
objectClass: suseMailAccess
suseMailAction: OK
suseMailClient: 192.168.0.0/24



Any suggestions on how to configure LDAP properly with the mailserver would be greatly appreciated. I would also like to configure other aspects of the mail server via LDAP but it doesn't seem to be well documented and YaST seems to be rather limited at least in 12.3.