tbaecker - 2010-07-13

Hello,

the alias domain feature doesn't work for me.
Mail is not redirected to the target domain but is delivered to the Maildir of the alias domain user.
Everything else works fine.

I am using dovecot 1.1.13. and postfix 2.5.5 with postfixadmin 2.3

Postfix seems to be fine. If I run
postmap -q user@alias_domain mysql:/etc/postfix/sql/mysql_virtual_alias_domain_mailbox_maps.cf
target_domain/user/

I can see the correct Maildir where the email should be delivered to.

dovecot is configured as follows in master.cf:
dovecot   unix  -       n       n       -       -       pipe
    flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -d ${recipient}

I suppose, here must be something wrong?

I searched the web and found several alternatives for the master.cf entry of dovecot
(-d ${user}@${domain} or  -f ${sender} -d ${user}@${nexthop}) but I am unsure
if I am on the right track to solve that problem.

Before I mess up my config I wonder if someone has some suggestions for me?