Understand that address rewriting is at the heart of Postfix - but I
struggle to configure Postfix to deliver messages which are sent to the
domain @nottheoilrig.com, to localhost via LMTP, with envelope recipient
"nottheoilrig"

Using transport_maps or various related parameters, I can deliver
@nottheoilrig.com messages to localhost via LMTP

Using virtual_mailbox_domains or related parameters, I get Postfix to
accept all @nottheoilrig.com messages

But I struggle to rewrite the envelope recipient to "nottheoilrig" -
when Postfix delivers to LMTP, I struggle to make it send "RCPT
TO:<nottheoilrig>"

What's the best solution? Am I correct so far, that transport_maps and
virtual_mailbox_domains are "best practice"?

Reply via email to