Hey Ray, pretty good description, thanks for that.
But, it didn't solve my problem

the reason for that is simple: If you define an external domainname in your local server, then every email for a user which is not defined local will not be delivered if he has the same domainname as the local one. Please have a look at my example:
Two email users, one local, on external.
Our local guy gets his email from our SME-server which is getting all emails (except the external ones) via fetchmail. Let's say, the SME-server is working as an email proxy. Local users are known to the system.
The external guys are NOT defined local, because they get their email directly from our internet provider via pop3. The external guys don't access our SME-server. This ist volitional because of security reasons. So, this is why external guys are unknown to our SME-server.
1) jsmith has a local address (SME-server emailaddress) jsmith@mydomain.local. Fetchmail is queriing his pop3-server with his emailaccount jsmith@externaldomain.com and delivers it to the SME-server-user jsmith locally.
2) abecker has NO local address. He gets his mail via pop3 directly using his personal email client and accessing pop3.externaldomain.com with his username abecker@externaldomain.com. He has nothing to do with SME. He has NO account locally on our SME.
Now I define externaldomain.com as an additional domain name. So I have two domain names: mydomain.local and externaldomain.com (the last one of course with internet dns).
jsmith wants to write an email to abecker. What happens now: jsmiths' emailis is routed to SME's Qmail. Qmail is checking the table of local users according to the local defined list of domainnames. Qmail finds the local defined domainname externaldomain.com. Now Qmail is looking for a user whichs fits abecker@externaldomain.com and Qmail can't find it because abecker is not defined locally. Qmail breaks up looking for the user and delivers the email to the postmaster, catchall or whatever.
So, simply spoken: If you define your external domainname locally, your local created emails addressed to an external recipient with NO local account (but with an external pop3-account) will not leave the local system.
Well, this is the reason for my manually edited file virtualdomains:
mydomain.local:alias-localdelivery
jsmith@externaldomain.com:alias-localdelivery
[/size]
This won't work:
mydomain.local:alias-localdelivery
externaldomain.com:alias-localdelivery
[/size]
...because external users won't get their emails.
I hope, this description was sufficient.
But unfortunately my manually file will be overwritten on every reconfiguration. So, what to do?