1

Topic: transport dovecot for vuser and one domain transport local

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Linux/BSD distribution name and version: debian wheezy
- Related log if you're reporting an issue:
====

Hi
I have one stupid question smile

All works fine smile but I have one problem for ... I must create one domain with transport local and one user

In normal configurations (not in iredmail) i use:

local_transport = local:$myhostname

#local_recipient_maps = $alias_maps $virtual_mailbox_maps unix:passwd.byname
local_recipient_maps = proxy:unix:passwd.byname $alias_maps

virtual_transport = virtual
virtual_mailbox_domains = vdomain1 , vdomain2

and working fine


but i dont known how force iredmail to working with default transport (virtual dovecot) vdomain and one domain with transport local i change transport in db to local and use

local_transport = local:$myhostname

and dont working because any time i get in log:

status=deferred (temporary failure)
or
status=bounced


Now it works temporarily domain local (delivery local) but this is alias for vdomain

any idea ?

----

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

2

Re: transport dovecot for vuser and one domain transport local

With iRedMail, you should set per-domain transport to 'local:xxx' (whatever you want) for this domain.

With SQL backends, per-domain transport is set in SQL table "vmail.domain", column "transport". For example:

sql> USE vmail;
sql> SELECT domain,transport from domain;
sql> UPDATE domain SET transport='local:xxx' WHERE domain='your_domain.com';

Per-user transport is set in table "vmail.mailbox", column "transport".

Note: if no per-user transport is set for your mail user, per-domain transport will be used.

By the way, may i know why you need to use 'local' transport?

3

Re: transport dovecot for vuser and one domain transport local

UPDATE: i created a tutorial about how to set per-domain or per-user transport moment ago:
http://www.iredmail.org/docs/per-account.transport.html

hope it helps.