I’ve previously written about problems with [Leopard server and forwarding of virtual hosted domain email]. My solution was somewhat inelegant and errors were written into the mail.log. Since that time I’ve found a solution that works and generates no errors. It also has the added benefit of being entirely within Server Admin.
Here’s what to do.
In Server Admin > Mail > Settings > Advanced > Hosting the following items are needed.
1. Obviously, in the lower panel _Virtual Domain Hosting_ needs to be checked and the domains entered.
2. In the upper panel I have the following entries.
* server.mydomain.private (this is the entry under Server Admin > Mail > Settings > General > Domain Name.
_virtual1.com_ and the others are the hosted virtual domains for which users have email accounts. That’s it. When I check my mail logs, mail is forwarded, I get errors regarding accounts not being set up, but mail is forwared.
Well, it seems I still see the bounces, but mail **is** forwarded. I’ve removed the virtual domains from the upper panel. It was a bad idea to start with. I don’t know if Snow Leopard server fixes this. Let me know.