Hi Luca.
Luca Corti schrieb:
On Thu, 2006-05-11 at 15:16 +0200, Andreas Martin wrote:
and in the db:
+----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+ | id | domain | description | aliases | mailboxes | maxquota | transport | backupmx | created | modified | active | +----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+ | 2 | example.com | example.com | 5 | 10 | 20 | virtual | 0 | 2006-05-08 01:30:58 | 2006-05-08 11:42:55 | ^^^^^^^ 1 | +----+-------------+-------------+---------+-----------+----------+-----------+----------+---------------------+---------------------+--------+ This should be "dovecot" - corresponding to your master.cf:
The transport gets correctly selected upon mail delivery: Nope...
May 11 13:09:47 ns1 postfix/virtual[9797]: 7C4D4847BC: ^^^^^^^ to=<luca@example.com>, relay=virtual, delay=0, status=sent ^^^^^^^
This should be something like:
May 11 13:09:47 ns1 postfix/pipe[9797]: 7C4D4847BC: ^^^^ to=<luca@example.com>, relay=dovecot, delay=0, status=sent ^^^^^^^
Now it works... I thought
virtual_transport = dovecot
handled this. What is it doing then? Maybe it would work if I didn't specify the virtual_transport_maps?
virtual_transport is the general transport for virtual mailboxes. virtual_transport_maps overrides this to allow you to specify exceptions.
Have fun!
Andreas