Topic: Unable to set up required aliases for mailman using iredmail with ldap
==== Provide required information to help troubleshoot and get quick answer ====
- iRedMail version: 0.7.4
- Linux/BSD distribution name and version: Debian
- Any related log? Log is helpful for troubleshooting.
====
I've installed mailman and are trying to integrate it with iredmail. I found a tutorial, howtoforge.com/installing-iredmail-and-mailman-on-debian-squeeze , which uses SQL backend, I'm trying to wrap my mind around how to make the same settings in OpenLDAP.
What I did was create a new domain called lists.somedomain.xx
# LDIF for lists.somdomain.xx
version: 1
dn: domainName=lists.somedomain.xx,o=domains,dc=somedomain,dc=no
objectClass: mailDomain
objectClass: top
domainName: lists.somedomain.xx
accountStatus: active
enabledService: mail
mtaTransport: mailman:
Then I went to the original domain and tried to setup aliases, for example I want mailman@somedomain.xx to be forwarded to mailman@lists.somedomain.xx. The LDIF for this entry is:
dn: mail=mailman@somedomain.xx,ou=Aliases,domainName=somedomain.xx,o=domains,dc=somedomain,dc=no
objectClass: mailAlias
objectClass: top
objectClass: mailUser
mail: mailman@somedomain.xx
uid: mailman
accountStatus: active
cn: GNU Mailman
enabledService: forward
enabledService: deliver
mailForwardingAddress: mailman@lists.somedomain.xx
By running "postmap -q mailman@somedomain.xx ldap:/etc/postfix/ldap/virtual_alias_maps.cf" I get no output. Anyone got any suggestions on how I should configure this?
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.