Loading ...
Sorry, an error occurred while loading the content.

270462Re: Redirect mail from particular sender

Expand Messages
  • Wietse Venema
    Nov 2, 2010
      lst_hoe02@...:
      > Hello
      >
      > is it possible to redirect (rewrite recipient) incoming mail based on
      > the sender envelope address??

      Built-in: the REDIRECT access map feature, but this causes Postfix
      to ignore all existing message recipients.

      Built-in: the Milter protocol has "add recipient" and "delete
      recipient" primitives. There currently is no policy daemon support
      to manipulate the message envelope.

      Heavy-weight: an external content filter (before- or after-queue)
      could manipulate the message envelope.

      Grotesque: use sender_dependent_transport_maps to select on sender,
      and use smtp_generic_maps to replace the recipient. It does not
      scale well when you have to do this a lot.

      Wietse

      > Many Thanks
      >
      > Andreas
      >
      >
    • Show all 4 messages in this topic