Web Hosting Talk







View Full Version : Multiple admin@ emails all goto admin of the box!


Shepski
08-01-2002, 09:50 AM
Hi

I have a raq called for names sake ns1.raq.com

Now why when anyone sends an email to say admin@domain.com which is hosted on raq.com it goes to the admin of the raq (admin@raq.com) even tho the alias admin is setup on one of the email accounts on domain.com.

It is a raq 3

regards

mjehlenz
08-01-2002, 10:13 AM
Originally posted by Shepski
Now why when anyone sends an email to say admin@domain.com which is hosted on raq.com it goes to the admin of the raq (admin@raq.com) even tho the alias admin is setup on one of the email accounts on domain.com.


That's supposed to be a feature, not a bug ;-)

Cu, Moritz

chirpy
08-01-2002, 10:38 AM
And a stupid one, what were Cobalt thinking of :rolleyes:

To fix it, you have to manually remove the entries that are created when you add the site in the UI (they don't get subsequently get recreated) from the virtusertable.

So, get to the shell prompt as root then:

cd /etc/mail
pico -w virtusertable
(find the admin@domain.com created by the UI and remove it)

Save your changes then convert the file:
makemap hash virtusertable < virtusertable

Now you can happily add your own admin alias for that domain.