Web Hosting Talk







View Full Version : Forwarding Email for Domain Pointers?


Synergy
09-08-2001, 11:59 AM
Hi I have a client who was orginally from someotherhost and they have done this for him......

He have Domain1.com and

domains2.com pointed to a folder...

He also wanted to have all the email for domain2.com pointed to another email address. How can I do this? I've have tried various concepts for 3 days and it didn't work too well.

Any advice would be great..

freakysid
09-09-2001, 02:49 AM
Um - you could provide us with more information - like the SMTP MTA you are using - qmail, postfix, exim, sendmail ???

Lets say you are using sendmail or postfix. Then you would put an entry into the "virtusertable" file (this file is probably called "virtual" if you are using postfix) like so

@domain2.com user@redirect.to.domain

Then rehash the database that is made from that file. That will now make all mail for domain2.com go to the email address user@redirect.to.domain

With sendmail there might be more jiggery-pokery to get it to accept domain2.com as a valid host for the server to handle.

Best you tell us exactly which MTA you are using for more specific help.

Synergy
10-06-2001, 11:56 AM
im using sendmail (redhat 6.2)