You should be checking "postconf" not "postconf -d" to determine
what's actually configured on your system.

Yes sorry, i checked both and they both showed the same result having $smtpd_sender_login_maps included. For some reason in my brain when writing the email because it was using defaults i thought to include the -d.


but it looks like when running under submission that
default isn't carrying over.

Rather, smtpd(8) does not use this parameter at all...

Oh, so trying to set this only in the -o param lines to use proxy: wont work.


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

Only the last setting applies, there's no cumulative behaviour, the parameter is used by the proxymap(8) service, setting it for the smtpd(8) entry has no
effect.

Sorry i worded it confusing. I didn't mean i tried them both at the same time. I tried one way, it didn't work, so then i tried the other way. But as you explained it can't be set in that method. So i just tried removing

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

completely from master.cf and putting it in main.cf and now everything works without having to do anything to proxy_read_maps and letting it work off defaults.


Thank you.

Reply via email to