On Tue, Nov 17, 2020 at 12:43:23PM -0800, David Koski wrote:
> In effort to relay by default, except for specific domains, I have
> configured a mysql transport table as follows:
>
> +--------------------+-------------------------------+
> | tkey | transport |
> +--------------------+-------------------------------+
> | * | relay:[barracuda.mydomai.com] |
> | .hotmail.com | smtp:hotmail.com |
> | @hotmail.com | smtp:hotmail.com |
> | hotmail.com | smtp:hotmail.com |
> +--------------------+-------------------------------+
Since the issue is with transport lookups... While posting
"postconf -n" output is appreciated, only its transport_maps
setting is relevant in this case:
> transport_maps = proxy:mysql:/etc/postfix/mysql_transport_maps.cf
But you've not posted (after eliding any password settings and if you
like also the server hostname) the content of the table definition,
i.e. /etc/postfix/mysql_transport_maps.cf.
Here you probably have a "domain" or similar setting that limits the
keys actually used for lookups.
You can check with:
postmap -q "*" mysql:/etc/postfix/mysql_transport_maps.cf
to see which keys are returning answers. With "-v" you'll
see which queries are being sent (or not).
--
Viktor.