Web Hosting Talk







View Full Version : exim and multiple domains


matt2kjones
05-07-2003, 12:43 PM
where can you find out how to compile exim to support mutliple domains, so you can have two email address like this:

matt@thedigitaldream.co.uk

and

matt@crystalphase.com

but as seperate email accounts, owned by two different people

i dont get how you do this and have searched the exim documentation for hours which doesn't seem to mention anything about it

i have no control panel, so nothing is configured for me.

any help?

X-Istence
05-08-2003, 03:31 AM
try google, sorry but exim is just really complicated.

eddy2099
05-08-2003, 03:58 AM
Not sure how it is done without a control panel but you could try checking out the documentation from http://www.exim.org/docs.html

wKkaY
05-08-2003, 07:31 AM
i've done this from scratch using a mysql backend before . it involves some editing of the exim.conf . i would paste my configs here if you're interested ..

matt2kjones
05-08-2003, 03:12 PM
hey that would be great if you could either post it here or by private message

Thanx :)

genlee
05-08-2003, 08:45 PM
That is very easy to do with exim. Basicly you need something like this:
local_domains = "mysql;SELECT domain FROM domain WHERE domain='$key' LIMIT 1"

Of course replacing your tables where I have mine. Don't forget to change your queries to mysql in your directors as well.

wKkaY
05-09-2003, 07:49 AM
exim.conf : http://wk.doubleukay.com/wht/exim.conf

and mysql tables : http://wk.doubleukay.com/wht/sqltables.txt

basically , the important parts are the local_domains and the directors (in my case , mysql_mailboxes , mysql_aliases , and mysql_wildcard_aliases)

i learned these from : http://www.tty1.net/virtual_domains_en.html . i think exim should be flexible enough if you wanna use a flat text db instead . all the best :)