-   Linux - Newbie (
-   -   Postfix virtual domain (

eyt 02-23-2004 05:07 PM

Postfix virtual domain
Hi all,

I have a mail server and web server running using domain
I just registered a new domain

I set the new domain as virtual domain.
I edit the httpd.conf and add as virtual host. I add the zone file for the virtual domain at BIND named.conf. Now the web server is running OK for the old domain and new domain. But I had problem in setting the postfix.

I want all the users' mail to be sent from the server using the new domain Moreover, I also want to receive mails that are sending both to the old domain and the new domain

I edit the following lines in Postfix
mydomain =
myorigin = $mydomain
mydestination = $myhostname,localhost.$mydomain,$mydomain

I add the following lines in virtual: anything

I had problem in receiving mails. Any idea what is the problem. Thanks

All times are GMT -5. The time now is 01:55 PM.