#1  
Old 23rd August 2005, 02:58
roberto8080 roberto8080 is offline
Junior Member
 
Join Date: Aug 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default ISP Config as mailserver

I want to use ISPConfig just a mail server for some sites.

For example mysite1.com has the web and mail server in Server1, mysite2.com has the web server in Server2 and the mailserver in Server1, I have another machine working as DNS, but I see that ISPConfig has its own DNS.

How should I configure ISPConfig to act as mailserver for some sites and as web/mail server for others? Should I configure both DNS?
Reply With Quote
Sponsored Links
  #2  
Old 23rd August 2005, 09:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

You don't need to use the DNS Manager if youalready have DNS servers. It's just an option.
Now create your web sites both on the web server and on the mail server. In the web server ISPConfig you select "External Mailserver" under Options and Co-Domains for all the domains of that web site. That's it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 23rd August 2005, 18:44
roberto8080 roberto8080 is offline
Junior Member
 
Join Date: Aug 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, let me try it.
Reply With Quote
  #4  
Old 24th August 2005, 17:44
roberto8080 roberto8080 is offline
Junior Member
 
Join Date: Aug 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It seems to work, partially. Let me explain.

* We have three boxes: One Windows 2003 Server hosting most of web servers using ASP, another Win2003S hosting the DNS and now one box with ISPConfig which is going to be the mailserver for the domains in the other boxes. The name of the Linux box with ISPConfig is mydomain1.com

* First case: We wanted to host mydomain1.com (web and mail in the Linux box where ISPConfig is installed) and redirect web trafic from this domain to mydomain2.com, it suceeded. I just created a site with domain1.com, and added a directive "Redirect / mydomain2.com". Then I created a mail account postmaster@mydomain1.com. I can check the account from Thunderbird and web with no problems and the web only redirects.

* We wanted to add domain3.com, this time web in the Win2003S and mail in the Linux machine with ISPConfig. This didn't work. I added a site mydomain3.com and created a sample account me@mydomain3.com, I have no access to the DNS directly but the webadmin told me that configured web to the ip of the Win2003S and mail exchanger to my Linux box with ISPConfig. Unfortunately when I send a mail to m3@mydomain3.com it is bounced back, and says that the account does not exist.

Any suggestion? I haven't set up a mail server before and everything went almost smoothly (thanks by the way) until now, but I think that I have achieved most of the task , I just need to finish it.
Reply With Quote
  #5  
Old 24th August 2005, 18:04
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,782
Thanks: 821
Thanked 5,334 Times in 4,184 Posts
Default

Quote:
Originally Posted by roberto8080
* We wanted to add domain3.com, this time web in the Win2003S and mail in the Linux machine with ISPConfig. This didn't work. I added a site mydomain3.com and created a sample account me@mydomain3.com, I have no access to the DNS directly but the webadmin told me that configured web to the ip of the Win2003S and mail exchanger to my Linux box with ISPConfig. Unfortunately when I send a mail to m3@mydomain3.com it is bounced back, and says that the account does not exist.
Have you checked the logs on the linux server, that the mail is really bounced by this server?

Have you set domain3.com in the site settings on the tab options and for the co-domains to local mailserver?

Is domain3.com in /etc/postfix/local-host-names?

Is the email address listed in the postfix virtusertable?
Reply With Quote
  #6  
Old 25th August 2005, 17:54
roberto8080 roberto8080 is offline
Junior Member
 
Join Date: Aug 2005
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

After checking the logs it seems that I'm not getting the mails after all, the DNS simply points to another machine (the one with IIS).

In fact I tried to verify the records externally (using http://www.dnswatch.info) and there are no MX records for my domain3.com, I'm going to try to solve it in the Windows 2003 Server DNS.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DNS Config Problem bolinux Installation/Configuration 27 20th August 2005 16:12
Config file templates till Developers' Forum 0 30th July 2005 23:10
Use kernel 2.4 config for kernel 2.6? rookie Kernel Questions 1 20th May 2005 15:15


All times are GMT +2. The time now is 10:08.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.