On Mon, Mar 29, 2021 at 08:23:40AM +0200, DEPRÉ Gaëtan - NGServers.com wrote:
> I modified the files master.cf & main.cf as you adviced. > > The command postmap -q y...@mydomain.dom "$(postconf -Phx > smtps/inet/smtpd_sender_login_maps)" > returns me the two users that are able to send email from. > > Everything, is working, the problem was the invert with 'owned' & 'owner'. Congrats. I should perhaps note that with SQL you hardly need a unionmap: query = SELECT email as user FROM virtual_users WHERE email='%s' UNION SELECT owned as user FROM virtual_delegation WHERE owner='%s' -- Viktor.