lazyant
08-10-2005, 05:59 PM
Hello,
As summary, I want to have two domains (one.com and two.com) with several independent mail accounts like sales@one.com , webmaster@one.com and sales@two.com, webmaster@two.com
I have the standard Rimu Red Hat and Postfix.
I have created the Linux users onecom and twocom and set up the virtual Apache hosting in their /home directories, following pretty much:
http://rimuhosting.com/howto/virtualhosting.jsp
I'm able to receive mail for the users onecom and twocom (onecom@one.com and twocom@twocom.com), and I can set up virtual domains in Postfix so that email directed at (for example) sales@one.com goes into the onecom box. I've followed more or less: http://rimuhosting.com/support/settingupemail.jsp?mta=postfix , altough the instructions are for just one domain.
My question is, how do I have separate users ("sales" and "webmaster") for the two domains? if I create the sales user in Linux, that's system-wide (for all domains) and if I use aliases or virtual domains in Postfix, messages end up in the same user box.
There is a standard way of doing this that I'm missing. I guess creating the Linux users like onecom_sales, twocome_sales and then mapping then in Postfix or the mail client.
Thanks.
As summary, I want to have two domains (one.com and two.com) with several independent mail accounts like sales@one.com , webmaster@one.com and sales@two.com, webmaster@two.com
I have the standard Rimu Red Hat and Postfix.
I have created the Linux users onecom and twocom and set up the virtual Apache hosting in their /home directories, following pretty much:
http://rimuhosting.com/howto/virtualhosting.jsp
I'm able to receive mail for the users onecom and twocom (onecom@one.com and twocom@twocom.com), and I can set up virtual domains in Postfix so that email directed at (for example) sales@one.com goes into the onecom box. I've followed more or less: http://rimuhosting.com/support/settingupemail.jsp?mta=postfix , altough the instructions are for just one domain.
My question is, how do I have separate users ("sales" and "webmaster") for the two domains? if I create the sales user in Linux, that's system-wide (for all domains) and if I use aliases or virtual domains in Postfix, messages end up in the same user box.
There is a standard way of doing this that I'm missing. I guess creating the Linux users like onecom_sales, twocome_sales and then mapping then in Postfix or the mail client.
Thanks.