1

Topic: Manage subdomains in iredmail

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5.1
- Linux/BSD distribution name and version: debian 8.4
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====

Hi I have my dominio.com and 10 subdomains declared in my dns,
I put relay_domains and transport in the postfix and not deliver the mail to the ips subdomains
the email system Mail loops back to myself

Howto configure iredmail to subdomains?

----

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

2

Re: Manage subdomains in iredmail

I'm afraid that i don't fully understand what you want to achieve.

If you host sub-domains in iRedMail, emails sent to sub-domains will be delivered locally. If you want to relay received emails to other host, please update per-domain transport. Reference:
http://www.iredmail.org/docs/per-account.transport.html

3 (edited by yrjc2004 2016-05-31 22:03:56)

Re: Manage subdomains in iredmail

I think the open source domain iredamin I connect to ldap server
after I change the mtaTransport by which

mtaTransport: dovecot

for other postfix who is example?

mtaTransport: smtp:[ipsubdomain]

Jul  1 15:43:45 mail postfix/smtpd[14624]: NOQUEUE: reject: RCPT from mail-it0-f46.google.com[209.85.214.46]: 454 4.7.1 <user@subdomain.midomain.com>: Relay access denied; from=<yrjc2004@gmail.com> to=<user@subdomain.midomain.com> proto=ESMTP helo=<mail-it0-f46.google.com>




ZhangHuangbin wrote:

I'm afraid that i don't fully understand what you want to achieve.

If you host sub-domains in iRedMail, emails sent to sub-domains will be delivered locally. If you want to relay received emails to other host, please update per-domain transport. Reference:
http://www.iredmail.org/docs/per-account.transport.html

4

Re: Manage subdomains in iredmail

yrjc2004 wrote:

mtaTransport: smtp:[ipsubdomain]

Try to set mtaTransport to "relay:[ip_of_subdomain]", also add "domainBackupMX=yes" for this domain.