Web Hosting Talk







View Full Version : Questions about emails and virtual hosts


Adriaan
01-22-2002, 11:39 AM
Well, I just bought a Raq4 and it's running all fine, but there are some thinks I would like to know..

I didn't find a possible way to make for example the user "adriaan" work on more then 1 domains. Do I need to make a whole new user for adding just an email?

I just want to add some mails, and don't want to create whole new site users.

It seems to be normal too, that it adds emails like adriaan@www.domain.com too, I allways have to add Web Server Aliases to work without www too?

And is it possible to resolve *.domain.com (* = wildcard) and when none specified DNS is added it just goes to virtual server that looks closest to it?

Much regards,
Adriaan Mol

Chicken
01-22-2002, 09:40 PM
It is possible to make for example the user "adriaan" work on more then 1 domain, and yes, you'd need to make a whole new user for adding just an email. On the RaQs, a user is a web/pop/ftp user, all in one, which actually saves a bit of time in some respects. Yeah, I know, what if you don't want them to have web space? Well, I just never told them about it and that seemed to work to a degree. You could kill the space via a couple of methods, but I'm not so certain you'd really need to.

Yes, you have to add a web server alias of just domain.com if you want that to work. Seems pointless when you are doing 'www.domain.com' but makes a bit more sense (not adding it) when you have other subdomains.

Wildcards must be DNS'ed, looks ain't got nuthin' to do with it. DNS the wildcard to an IP address (set A Record). I'm not sure if you can do it right out of the box with shared IPs, but it should be possible with a bit of httpd.conf editing (adding a DNS include which has been discussed a few times here).

Adriaan
01-23-2002, 11:09 AM
Still, my email only works when sending to adriaan@www.domain.com, it doesn't when I try to send to adriaan@domain.com. I made the MX just for domain.com.

Chicken
01-23-2002, 03:18 PM
there's also an email aliases field. you have to add domain.com there as well.

Adriaan
01-23-2002, 03:26 PM
It works now, looks like DNS wasn't fully done updating yet.

How can I make "adriaan@" work for more domains running?

Adriaan

Chicken
01-23-2002, 03:29 PM
Two ways, if you just want it to go into the same box, then do not set up a catch-all on the second domain and email sent to adriaan@anydomainonserver.com will be deleivered to adriaan.

Way #2, adriaan2 is user with alias of adriaan

Adriaan
01-23-2002, 03:35 PM
I know way #2 is possible, but I don't think that's a nice and clean way.