user unknown in virtual alias table
I am running mail service on mac mini server running 10.6.8 and everthing works just fine. While I have followed the steps mentioned in the Mail Service Admin Guide to setup a virtual domain while it didn't work at all.
What I have done is:-
Enable Virutal hosting in Server Admin as below:-
Server Admin -> Mail -> Setting -> Advanced -> Hosting
checked the check box "Enable Virtual Hosting"
Put the virtual domain (virtual.com) into the "Locally Hosted Virtual Domain"
Of coz have already setup local domain (server.com) into the "Local Host Aliases"
In workgroup manager, create a new local account "testing" and put the testuser@virtualcom into the last line of the short name field and also enabled Mail in the Mail tab.
Included the user in Server Admin -> Access -> Mail service so that pop3 access to this account works perfectly.
added the line into /etc/postfix/main.cf
virtual_alias_maps = hash:/etc/postfix/virtual
Created the /etc/postfix/virtual as below :-
virtual.com virtual
testuser@virtual.com testing
executed the command postmap hash:/etc/postfix/virtual
executed the command sudo postfix reload
But it still complain when I mail to this virtual user "testuser@virtual.com" while I can successfully mail to "testing@server.com" which is the local user.
I have then executed "serveradmin stop mail" follows by "serveradmin start mail" but same problem again.
Anyone have experience on such setup?
Mac mini Server (Mid 2010), Mac OS X (10.6.8)