davide marchi: > Hi, my situation is this: > Smarthost with postfix forwarding with lmtp to dovecot residing on another > host for whole domain > Now i want to forward some emails of the same domain to same host but > instead of lmtp i want to use smtp > My question is how can i achieve this goal?
transport_maps would be a good solution here. To make exceptions for the smtp users, use transport_maps with per-recipient rules: /etc/postfix/main.cf: transport_maps = hash:/etc/postfix/transport /etc/postfix/transport # Assumes that most example.com mail is delivered via LMTP. us...@example.com smtp:[hostname] us...@example.com smtp:[hostname] (execute "postmap hash:/etc/postfix/transport" after editing the file). Wietse