Topic: e-mail aliases

Hello I have iredmail installed, I have a task to make some aliases for some users, for example from finance@example.com to user1@example.com and user2@example.com is there a way how to do this by using phpldapadmin, I want to buy iredadmin ent in future but this is still to be discussed with financial dept.


Re: e-mail aliases

Of course you can do it with phpLDAPadmin. Sample LDIF data of alias account:

dn: mail=testing@demo.iredmail.org,ou=Aliases,domainName=demo.iredmail.org,o=domains,dc=iredmail,dc=org
accountStatus: active
cn: testing
enabledService: mail
enabledService: deliver
mail: testing@demo.iredmail.org
mailForwardingAddress: user2@demo.iredmail.org
mailForwardingAddress: user1@gmail.com
mailForwardingAddress: user1@demo.iredmail.org
objectClass: mailAlias


Re: e-mail aliases

Can you please explain what steps I need to do in phpLDAP admin to do this?


Re: e-mail aliases

I created a simple tutorial moment ago:
http://www.iredmail.org/wiki/index.php? … pLDAPadmin

Hope it's useful for you.


Re: e-mail aliases

Thanks, very useful tutorial.


Re: e-mail aliases

So this could be used in place of the usual /etc/aliases that most systems use correct? I am looking to move to iRedMail here soon but this is one of the questions I had also. Our current setup uses the /etc/aliases to do things like longer usernames, groups, etc.


Re: e-mail aliases

You can also use /etc/aliases in iRedMail.


Re: e-mail aliases

Hi ZhangHuangbin,

What about MySQL backend version?


9 (edited by cemdogan 2011-09-07 15:23:55)

Re: e-mail aliases

There is an alias table with a working example. You can modify with phpmyadmin.