The only other concern is to make sure that the table in question
is (typically indirectly) listed in $proxy_read_maps.

Everything in main.cf worked out of the box with proxy:mysql:/
However when i tried to add it to master.cf for submission i got the error you talking about.

127.0.0.1:submission inet n - n - - smtpd
        ...
-o smtpd_sender_login_maps=proxy:mysql:/etc/postfix/mysql_sender_login_matching

I checked postconf -d and the map is included, but it looks like when running under submission that default isn't carrying over. I tried to add it to the submission trying both of

        -o proxy_read_maps=$smtpd_sender_login_maps
-o proxy_read_maps=proxy:mysql:/etc/postfix/mysql_sender_login_matching

And neither worked. I still got the error saying request unapproved for table. What is the correct way when using proxy in a master.cf submission line?

Reply via email to