On 4/15/2011 5:47 AM, Timo Veith wrote:
Hi postfix users,

I think I don't understand the ADDRESS_REWRITING_README in the
"virtual" section where it says:

"Addresses found in virtual alias maps are subjected to
another iteration of virtual aliasing, but are not subjected
to canonical mapping, in order to avoid loops."

Let's say in main.cf <http://main.cf> has:
virtual_alias_maps = hash:/etc/posftix/virtual

and /etc/posftix/virtual has:
u...@example.com <mailto:u...@example.com> u...@example.com
<mailto:u...@example.com>

What happens here?

[please post in plain text next time]

There is no loop here. Postfix stops looking when the result is the same as the key.

This is referred to as an "identity mapping" and sometimes intentionally used to prevent an address from being rewritten by eg. a wildcard rewrite rule.


  -- Noel Jones

Reply via email to