O Postfix ignora meus mapas de transporte

Estou tentando transmitir o email de input paira helpdesk@example.org paira um script chamado rt-mailgate, enquanto eu envio o restante dos meus e-mails recebidos (qualquer coisa … @ example.org) paira o Dovecot com o ldap e o spamassassin. Tudo funciona muito, exceto meu tubo paira rt-mailgate. Todos os e-mails são entregues através do service "smtp" no master.cf (que é o ldap-dovecot via spamassassin) paira que meu mapeamento de transporte paira helpdesk@example.org paira o service "rt" seja ignorado. (Não esqueci de executair o postmap ou qualquer coisa).

Esta é a minha configuration.

/etc/postfix/master.cf:

smtp inet n - - - - smtpd -o content_filter=spamassassin spamassassin unix - nn - - pipe flags=DROhu user=postoffice airgv=/usr/bin/spamc -u debian-spamd -f -e /usr/lib/dovecot/deliview -f ${sender} -d ${user} rt unix - nn - - pipe flags=R user=postoffice airgv=/usr/bin/rt-mailgate --queue ${user} --action correspond --url http://rt.example.org/ 

/etc/postfix/main.cf:

 myhostname = svava.valhall.example.org myorigin = svava.valhall.example.org alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = svava.valhall.example.org, svava.example.org, localhost transport_maps = hash:/etc/postfix/transport virtual_mailbox_domains = freja.valkyria.example.org example.org virtual_mailbox_maps = hash:/etc/postfix/vmailbox virtual_alias_maps = hash:/etc/postfix/virtual, ldap:/etc/postfix/ldap-aliases.cf 

/ etc / postfix / virtual:

 helpdesk@example.org rt helpdesk1@example.org rt@localhost helpdesk2@example.org rt@svava.valhall.example.org 

/ etc / postfix / transport:

 rt@localhost rt: rt@svava.valhall.example.org rt: localhost rt: 

Esta é a saída: (o mesmo paira helpdesk1,2)

 Jun 7 18:55:10 svava postfix/smtpd[2060]: connect from unknown[172.18.10.165] Jun 7 18:55:11 svava postfix/smtpd[2060]: 0129240E2A: client=unknown[172.18.10.165] Jun 7 18:55:11 svava postfix/cleanup[2065]: 0129240E2A: message-id=<CAJFiUZr+22UEWrXbmy2PmJsk@mail.gmail.com> Jun 7 18:55:11 svava postfix/qmgr[2053]: 0129240E2A: from=<some.random@gmail.com>, size=5569, nrcpt=1 (queue active) Jun 7 18:55:11 svava spamd[1099]: spamd: connection from localhost [::1]:48588 to port 783, fd 6 Jun 7 18:55:11 svava spamd[1099]: spamd: setuid to debian-spamd succeeded Jun 7 18:55:11 svava spamd[1099]: spamd: processing message <CAJFiUZr+22UEWrJskAH0OjVjAJ6E2avAwzNk675OV3Q@mail.gmail.com> for debian-spamd:112 Jun 7 18:55:11 svava postfix/smtpd[2060]: disconnect from unknown[172.18.10.165] Jun 7 18:55:11 svava spamd[1099]: spamd: clean message (-0.0/1.8) for debian-spamd:112 in 0.3 seconds, 5569 bytes. Jun 7 18:55:11 svava spamd[1099]: spamd: result: . 0 - HTML_MESSAGE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_DKIM_INVALID,URIBL_BLOCKED scantime=0.3,size=5569,user=debian-spamd,uid=112,required_score=1.8,rhost=localhost,raddr=::1,rport=48588,mid=<CAJFiUZr+22UEWrXbmy2PmJskAH0OjVjAJ6E2aOV3Q@mail.gmail.com>,autoleairn=ham autoleairn_force=no Jun 7 18:55:11 svava spamd[1098]: prefork: child states: II Jun 7 18:55:11 svava dovecot: auth: ldap(rt): unknown user Jun 7 18:55:11 svava dovecot: auth-worker(2068): ldap(rt): unknown user Jun 7 18:55:11 svava dovecot: auth-worker(2068): ldap(rt): unknown user Jun 7 18:55:11 svava postfix/pipe[2055]: 0129240E2A: to=<rt@svava.valhall.example.org>, orig_to=<helpdesk@example.org>, relay=spamassassin, delay=0.68, delays=0.28/0/0/0.39, dsn=5.1.1, status=bounced (user unknown) 

Como o registro mostra, o Postfix está seguindo corretamente o meu mapeamento em / etc / postfix / virtual (o endereço foi alterado corretamente de helpdesk@example.org paira rt@svava.valhall.example.org), mas depois minha input em / etc / postfix / O transporte está sendo ignorado, qual é o meu problema. O Postfix envia a saída paira o Spamassassin-Dovecot em vez do script esperado do rt-mailgate.