Re: Virtual alias address class and no_address_mappings

2019-12-30 Thread Viktor Dukhovni
On Mon, Dec 30, 2019 at 06:18:34PM -0800, Stats Student wrote: > Re: content_filter -- yes, I did uncomment this setting when > submitting the configuration to provide a fuller picture of my setup. > However, as you noted, the log entries were generated without the > content_filter set. Apologies

Re: Virtual alias address class and no_address_mappings

2019-12-30 Thread Stats Student
Thanks for looking into this and thank you Peter for reporting my issue to the list. To confirm, the alias is in the last database ( hash:/etc/postfix/virtual_alias_maps ) but the forwarding only works if "receive_override_options = no_address_mappings" is NOT set (commented out). And for the forw

Re: Virtual alias address class and no_address_mappings

2019-12-30 Thread Viktor Dukhovni
On Mon, Dec 30, 2019 at 10:52:28PM +1300, Peter wrote: > > The reported symptoms are not consistent with content_filter being set > > for the message. > > Yes, but does it preempt the resolution of whether a recipient exists at > all? I thought that was done in smtpd, not qmgr. I believe there

Re: Virtual alias address class and no_address_mappings

2019-12-30 Thread Peter
On 30/12/19 8:42 pm, Viktor Dukhovni wrote: With "ldap", "pgsql" and "mysql" it is generally a good idea to use "proxy:ldap", "proxy:pgsql", ... I agree, but in this particular case I was focusing on the problem at hand. I find on IRC it pays to not always get caught up in every problem I se

Re: Virtual alias address class and no_address_mappings

2019-12-29 Thread Viktor Dukhovni
On Mon, Dec 30, 2019 at 06:27:30PM +1300, Peter wrote: > > http://www.postfix.org/DEBUG_README.html#mail > > > > * postconf -nf content_filter = scan:127.0.0.1:10025 inet_interfaces = all receive_override_options = no_address_mappings virtual_alias_domains = [domain].com

Re: Virtual alias address class and no_address_mappings

2019-12-29 Thread Peter
On 30/12/19 5:15 pm, Viktor Dukhovni wrote: On Mon, Dec 30, 2019 at 04:37:32PM +1300, Peter wrote: If someone uses virtual_address_domains and has "receive_override_options = no_address_mappings", then postfix will kick back an error of "User unknown in virtual alias table" for any recipient in

Re: Virtual alias address class and no_address_mappings

2019-12-29 Thread Viktor Dukhovni
On Mon, Dec 30, 2019 at 04:37:32PM +1300, Peter wrote: > If someone uses virtual_address_domains and has > "receive_override_options = no_address_mappings", then postfix will > kick back an error of "User unknown in virtual alias table" for any > recipient in that domain. Addresses in virtual_ali

Virtual alias address class and no_address_mappings

2019-12-29 Thread Peter
I'm not entirely certain if this is intentional or not, but I ran across this one with someone in IRC just now. If someone uses virtual_address_domains and has "receive_override_options = no_address_mappings", then postfix will kick back an error of "User unknown in virtual alias table" for an