DevHeads.net

Virtual users and local users in the same domain?

Given that I have two users, <a href="mailto: ... at example dot com"> ... at example dot com</a> and <a href="mailto: ... at example dot com"> ... at example dot com</a> who are currently both local users and given that mydomain=example.com, is it possible to configure postfix such that one of them is in the mysql database and one is still local? It appears that once I add a domain to the mysql_virtual_domains_maps.cf Then all the users for that domain need to be in the mysql table.

(I’ve tried adding the user to the mysql table already, but since postfix figures out mydomain on its own it resolves it to the local user and delivers it to procmail as usual and doesn’t check the sql map as far as I can tell, which makes sense, but can I override this somehow? I am trying to avoid changing all the mydomain local users at once and prefer to start with my own account so if something goes wrong no one else is affected).