> On May 24, 2017, at 11:17 AM, D'Arcy Cain <[email protected]> wrote:
>
>> Because relay recipients are blocked only when relay_recipient_maps
>> lists the 'valid' recipients; this is not a required setting.
>
> So would this setting make sense?
>
> relay_recipient_maps = $virtual_maps, $alias_maps
Mailboxes listed in virtual_alias_maps ($virtual_maps is obsolete)
are automatically valid for every address class and need not be
listed in relay_recipient_maps and the like.
The lookup keys in $alias_maps are presumably just "bare" localpart
addresses ("user" not "[email protected]"), so not useful here either.
If there are no valid relay recipients, set "relay_domains =" and
then you don't need relay_recipient_maps. If there are valid
relay domains, create a table that lists them (by full address).
--
Viktor.