1 (edited by Thempra 2010-08-23 17:21:17)

Topic: [Solved] Problem with Alias and mailForwardingAddress

Hi,

  I migrated iredadmin to comunity edition to full version (1.2.0) with the how to. (http://www.iredmail.org/forum/topic466- … ition.html)

  Now, when I try to create an alias I get the error:

   object class 'mailAlias' requires attribute 'mailForwardingAddress' Object class violation

I created the alias account with a Forwarding in account properties, but I want to create alias correctly.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: [Solved] Problem with Alias and mailForwardingAddress

Sorry, can you please tell me the actual steps of creating alias?

3

Re: [Solved] Problem with Alias and mailForwardingAddress

1.Authenticate at portal

2. Access to aliases menu
    ( go to url:  https://mail.domain.com/iredadmin/aliases )

3. Select the domain form combobox
   ( go to url: https://mail.domain.com/iredadmin/creat … temail.com )

4. Fill two textbox

5. Click create button

Error: object class 'mailAlias' requires attribute 'mailForwardingAddress' Object class violation

4

Re: [Solved] Problem with Alias and mailForwardingAddress

I guess your iRedMail was setuped with iRedMail-0.5.0 or older version, because you didn't update your LDAP scheme file.

In iRedMail-0.5.0 and older version, when you create a mailAlias object, it requires two attributes: mail, mailForwardingAddress. But it requires only 'mail' since 0.5.1.

You can fix it with steps:
* Backup your old ldap schema file: /etc/openldap/schema/iredmail.schema
* Download lastest iRedMail LDAP schema file: http://iredmail.googlecode.com/hg/tags/ … ail.schema
* Copy it to /etc/openldap/schema/iredmail.schema. (It will override old schema file)
* Restart openldap service.

It should work as expected now.

5

Re: [Solved] Problem with Alias and mailForwardingAddress

Thank you !! This is the problem. All ok.