Jason Woods:
> It seems that if an entry is found in recipient_canonical_maps,
> postfix assumes the target address to exist. Is this intended
> behaviour?
That is how it works, and how it is documented. There currently is
no support in smtpd to follow the expansions of canonicial and
virtual maps, address masquerading, and so on.
Note: @domain is a wild-card. When this form is applied to
recipient addresses, the Postfix SMTP server accepts mail for
any recipient in domain, regardless of whether that recipient
exists.
> Also, a secondary question I have regarding recipient_canonical_maps
> - is it possible to specify this under "-o" for smtpd, so it only
> performs the canonical on the way out/in? I can't see a way to do
> this.
smtpd does not implement the actual canonical mapping, though it
tries to guess (see previous paragraph) the result in order to stop
most unknown recipients.
Wietse