On Thu, Sep 09, 2021 at 09:44:35AM +0200, TTM <fo...@gmx.de> wrote: > raf wrote: > >> main.cf > >> ------------------------------------------------------------------------- > >> [...] > >> receive_override_options = no_address_mappings > > > >I could be wrong, but I don't think you want the above setting. > >You have canonical address maps and virtual alias maps, and > >this setting disables them both. > > > >Normally, I think you'd only use this setting when there's an > >external filter, and you want the address mappings to take > >place after the filter so that the filter itself has access > >to the original addresses. But you don't have a content_filter, > >so address mapping is just completely disabled. > > > > http://www.postfix.org/postconf.5.html#receive_override_options > > > >The above documentation doesn't specifically mention > >"sender canonical address mapping", but it might be > >implied where it refers to "canonical address mapping". > >Not sure about that, but you did say that the address > >rewriting isn't happening, so it probably is implied. > > That's it! :) > After removing it from the main.cf, the rewrite works. > > Thanks a lot! > > > > >> smtp_sasl_security_options = noanonymous > > > >I'd leave the above at its more secure default value to > >ensure that passwords can't be sent unencrypted. But > >perhaps I just don't understand the reason why people > >change this setting. But it probably never actually > >results in passwords being sent unencrypted anyway, so > >it probably doesn't really matter. > I will look into it. > > > > > >> [...] > >> smtpd_sasl_auth_enable = yes > > > >The above should probably be removed from main.cf and > >added to the submission service in master.cf instead. > > ok. > I would say my problem is solved. > Thanks. > > -- > best regards, > Thomas
Glad to hear it. cheers, raf