Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th December 2008, 21:07
pine1455 pine1455 is offline
Member
 
Join Date: Jan 2008
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Default use external mailserver for one of domain

hello all,
Is it possible to config only one of my domain in ispconfig to use external mail server ?! I set mail server to external in that domain and co-domain settings and then create a MX record that points to external mail server.But it does not work. I use dig tools and it return correct answer but it seems that ispconfig should remove my domain name form "/etc/postfix/local-host-names".because when i try to mail from other domains to that domain(with external mail server) it(postifx) try to deliver it locally....
Any Idea?!
TNX
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2008, 18:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by pine1455 View Post
hello all,
Is it possible to config only one of my domain in ispconfig to use external mail server ?!
Yes. Just select "External Mailserver" for the domain in question. If it's a Co-Domain, you can find that setting on the Co-Domains tab > select Co-Domain > Options.
For the web site's main domain it's on the Options tab of the web site.
__________________
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 13th December 2008, 20:08
pine1455 pine1455 is offline
Member
 
Join Date: Jan 2008
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Default

I done that before but no use! ...
When I try to send mail my MTA try to send that locally and I got 'unknown user ' error from postfix!
Reply With Quote
  #4  
Old 14th December 2008, 15:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Do you use that domain as the hostname for the server? Do you see it somewhere in /etc/postfix/main.cf or /etc/mailname?
__________________
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
  #5  
Old 15th December 2008, 17:55
pine1455 pine1455 is offline
Member
 
Join Date: Jan 2008
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Default

No, There is nothing about that domain in main.cf file ...
Reply With Quote
  #6  
Old 16th December 2008, 18:54
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Do you see the domain in the output of
Code:
telnet localhost 25
?
__________________
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
  #7  
Old 16th December 2008, 20:05
pine1455 pine1455 is offline
Member
 
Join Date: Jan 2008
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Default

no,another domain shown there !! but sth that may helps.. in the case my specefix domain that I wants to use other mail server is domain.com i have host1.mydomain.com in /etc/hosts ... and

Last edited by pine1455; 16th December 2008 at 20:20.
Reply With Quote
  #8  
Old 17th December 2008, 16:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What happens when you remove host1.mydomain.com from /etc/hosts?
__________________
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
  #9  
Old 18th December 2008, 14:06
pine1455 pine1455 is offline
Member
 
Join Date: Jan 2008
Posts: 43
Thanks: 3
Thanked 0 Times in 0 Posts
Default

no use... still have a problem ...
Reply With Quote
  #10  
Old 19th December 2008, 17:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Do you see that domain in /etc/postfix/main.cf or any of the file included in main.cf?
__________________
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
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
ispconfig - external mailserver martinfst Feature Requests 5 15th October 2008 20:31
Virtual users... Ubuntu 8.04 spaceuser HOWTO-Related Questions 12 19th June 2008 08:04
External Mailserver smartcall Installation/Configuration 5 26th January 2007 17:01
Problem setting external mailserver erk Installation/Configuration 4 18th May 2006 10:56


All times are GMT +2. The time now is 04:05.


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