Can anyone tell me why the following situation is not working as I expect? I'm sure it is working to design, but it's not what I want, so am looking for a better way around it.
I have a an SME server on domain1.com, which is the main e-mail server.
It has a group called 'group1' with two users as members (user1 and user2). I can e-mail from another server to group1@domain1.com, and the message gets to both end users.
Now, I create an alias called alias1, which points to group1. I can send an e-mail from another server to alias1@domain1.com, and the message gets to both end users.
So far, so good.
I have another domain, domain2, on a non-SME virtual server somewhere else. I set up the virtual hosts file so that info@domain2.com gets forwarded to alias1@domain1.com or group1@domain1.com.
If I send a message to info@domain2.com, then where does the e-mail end up? Not with the two end users, but in the administrator's inbox on domain1.com.
The weird thing is, if I set up the forwarding to go to user1@domain1.com and user2@domain1.com, both end users get the e-mail. I just can't forward it via either the user group, or the group and alias, even though mail sent *directly* to the group or the alias does get through to the end users.
Any clues what could be happening? I've looked at the logs, but it does not make any sense to me.
I guess it has something to do with the way aliases and user mapping is configured on SME server, but I don't know what.
Ultimately, I just want to forward everything sent to domain2.com to aliases on domain1.com, where the local administrator can decide who it gets forwarded to.
-- Jason
Edit: perhaps anything sent to a group on SME server *must* have a local domain, but anything forwarded to an individual user does not?