ML2008
06-05-2001, 12:35 AM
How can I set-up virtmaps on my Raq3 for my virtual domains ?
i.e. sales@abc.com and sales@xyz.com :confused:
i.e. sales@abc.com and sales@xyz.com :confused:
![]() | View Full Version : How to virtmaps for my virtual domains ? ML2008 06-05-2001, 12:35 AM How can I set-up virtmaps on my Raq3 for my virtual domains ? i.e. sales@abc.com and sales@xyz.com :confused: Honu 06-05-2001, 01:53 AM Originally posted by mannylucio How can I set-up virtmaps on my Raq3 for my virtual domains ? i.e. sales@abc.com and sales@xyz.com :confused: Aloha well this is a bad part of RaQ as far as I can tell I have a 4i if you have virtuals on it and you let users create ther own accounts then this can be bad you will get calls (I imagine) I can not set up my name for sales @blah.com so I have tried this I have about 15 accounts on my raq to play with I set up a 3 letter code such as sdh for sdhawaii.com sdm for sdmaui.com that way the user has a name of sdm.name@blah.com so then you make an alias for that user with the name you want instead tha is the only way I can figure out how to do this anybody else have a better idea if you have end user resellers not sure how you would handle this ??? Chicken 06-05-2001, 03:40 AM Yep, once you take the actual username (with one site), you'll have to have something Honu posted, or 'sales1, sales2, sales3' and alias the other accounts. cperciva 06-05-2001, 04:03 AM The other solution is to have internal user names (u000000, u000001, etc.) and external user names (bob@domain1, bob@domain2, etc.) and require that people login as user@domain. This requires some tricky patching to the SSH, FTP, and POP3 binaries, but it is far from impossible. Of course, it would completely kill any warranty on a Raq, so it's probably a solution best kept for people running something like FreeBSD. Honu 06-05-2001, 04:08 AM Aloha yeah thinking more and more of getting a regular box adn running plesk or something easy to admin that allows a little more control and stuff got to check more into panels mlovick 06-05-2001, 06:34 AM You most likely know this, but for people who dont know: It is also wise to set a catchall for the main user in each domain, my experience is that it is possible for other users on the Cobalt to recieve emails intended for other users. Setting a catchall on each domain will stop this from happening. There are two ways of doing this: in the control panel enter the following line in the aliases box: @www.the.dom However, your users can easily remove this without knowing what it is. A more solid way (but be carefull) is to edit the virtusertable: in a telnet/ssh open /etc/mail/virtusertable after the line that says # Put custom additions below (Do not change/remove this line). enter the following : @www.the.dom \t user (where \t is to type a tab on your keyboard) save this file and from the shell: $ makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable |