1

Topic: New User question

Hi!

I bought the iRedMailPro LDAP version v1.6.1. I installed it using the free version(Clean installation) and then upgraded to Pro.

When I installed it asked for a domain, I setup, for example, mydomain.com.

Everything is working great, but I have some doubts about how iRedMail handle multiple domains.

If I add a new domain, for example, mynewdomain.com. I already can manage it using the web interface, no problem.

But how should I handle, for example, DKIN? Should I use the same keys as mydomain.com? What should I configure in the DNS entries?

What about my MX DNS records? Should it point to the first domain MX, for instance, mx.mydomain.com?

I read some configuration files, amavisd for example, and the domain mydomain.com is hardcoded in it. If I add a new domain it doesn't get updated. Should it?

Is there any documentation about how iRedMail handle all those subsystems in a multi-domain configuration?

Is that possible to remove the initial domain(mydomain.com)?

Regards

----

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

2

Re: New User question

terciof wrote:

But how should I handle, for example, DKIN? Should I use the same keys as mydomain.com? What should I configure in the DNS entries?

You can config per-domain DKIM keys, we have some examples in Amavisd config file.
Using one DKIM key for all domains is OK too.

terciof wrote:

What about my MX DNS records? Should it point to the first domain MX, for instance, mx.mydomain.com?
I read some configuration files, amavisd for example, and the domain mydomain.com is hardcoded in it. If I add a new domain it doesn't get updated. Should it?

There're tutorials for config DKIM/SPF DNS records:
http://code.google.com/p/iredmail/wiki/TOC?tm=6

Because iRedAdmin-Pro cannot access file system directly, so we cannot change it via iRedAdmin-Pro. Sorry.

terciof wrote:

Is there any documentation about how iRedMail handle all those subsystems in a multi-domain configuration?
Is that possible to remove the initial domain(mydomain.com)?

Of course you can remove the initial domain.

3

Re: New User question

For example, to use Disclaimer in a Domain I can't just configure it in the iRedAdmin Pro web interface, I need to configure in the amavis config file /etc/amavis/conf.d/50-user. Is that right?

I though that I could do all those stuff directly in the Web Interface, in case I have a lot of domains it get a pain to manage all this.

Is there any documentation about which configuration we need to do to have all features configured for a domain?

Thanks in advance.

4

Re: New User question

terciof wrote:

For example, to use Disclaimer in a Domain I can't just configure it in the iRedAdmin Pro web interface, I need to configure in the amavis config file /etc/amavis/conf.d/50-user. Is that right?

You're right.

terciof wrote:

I though that I could do all those stuff directly in the Web Interface, in case I have a lot of domains it get a pain to manage all this.

We're sorry.
We want to achieve this too, but Amavisd + AlterMIME can't read disclaimer text directly from LDAP/MySQL, and we don't want to let iRedAdmin-Pro access file system directly.

terciof wrote:

Is there any documentation about which configuration we need to do to have all features configured for a domain?

Not yet.
I will create a new wiki tutorial to describe these steps.

5

Re: New User question

Working in progress:
http://www.iredmail.org/wiki/index.php? … ail.Domain

6

Re: New User question

ZhangHuangbin wrote:

Working in progress:
http://www.iredmail.org/wiki/index.php? … ail.Domain

Is that possible to edit the Wiki?

I can create the Debian/Ubuntu version...

I was thinking, what about a bash script to do those tasks?

Thanks!

7

Re: New User question

ZhangHuangbin wrote:

Working in progress:
http://www.iredmail.org/wiki/index.php? … ail.Domain

==== Provide basic information to help troubleshoot ====
- iRedMail version:
- Linux/BSD distribution name and version:
- Any related log? Log is helpful for troubleshooting.
====

Hi Zhang,

In the file / etc/amavis/conf.d/50-user you can set the local domain in "@local_domains_maps" within a variable or hash?

Marcelo M.

8

Re: New User question

M Martinatti wrote:

In the file / etc/amavis/conf.d/50-user you can set the local domain in "@local_domains_maps" within a variable or hash?

It's able to read from a plain text file, like this:

@local_domains_maps = read_hash(/etc/amavis/local_domains);

Then update this file via cron job.

Will try to achieve it in iRedMail and iRedAdmin-Pro in future release. Thanks very much for your feedback. smile

= Update =
I created an issue to track this feature request:
http://code.google.com/p/iredmail/issues/detail?id=63