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

Re: canonical_maps and relay_recipients

Expand Messages
  • Magnus Bäck
    On Tuesday, August 01, 2006 at 09:04 CEST, ... Wildcard canonical mappings break recipient validation. You must specify each recipient address separately.
    Message 1 of 3 , Aug 1, 2006
    • 0 Attachment
      On Tuesday, August 01, 2006 at 09:04 CEST,
      Carlos Kramer <csk_1975@...> wrote:

      > I have legacy mail address formats and domains where I need to rewrite
      > the domain and the user address independently.
      >
      > Joe.User@... -> Joe.User@...
      > joe_user@... -> Joe.User@...
      > joe_user@... -> Joe.User@... etc.
      >
      > I'm using recipient_canonical_maps to rewrite the address and it seems
      > to work fine but unknown addresses where the domain has been rewritten
      > aren't being rejected by relay_recipient_maps.
      >
      > I'm doing it like this:-
      >
      > main.cf
      > relay_recipient_maps = hash:/etc/postfix/recipients
      > recipient_canonical_maps = hash:/etc/postfix/domain /etc/postfix/user
      >
      > domain:-
      > @... @...

      Wildcard canonical mappings break recipient validation. You must specify
      each recipient address separately.

      user1@... user1@...
      user2@... user2@...
      ...
      userN@... userN@...

      [...]

      --
      Magnus Bäck
      magnus@...
    Your message has been successfully submitted and would be delivered to recipients shortly.