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 18th May 2006, 09:04
erk erk is offline
Member
 
Join Date: Oct 2005
Location: Göteborg, Sweden
Posts: 41
Thanks: 0
Thanked 4 Times in 3 Posts
Question Problem setting external mailserver

Hi!

I dicovered a problem with setting external mailserver. I have set external mailserver for one of my hosted domains but the mail still did not work. I discovered that the domain was still in /etc/postfix/local_host_names.
I logged in to the web interface again and checked the setting and it was set for external mailserver. Strange. The mystery deepens as I check the database in table isp_isp_domain. There I find that isp_isp_domain.domain_local_mailserver = 1 for all domains.
Doing a manual update on this table to domain_local_mailserver=0 for the domain in question solved the problem but I don't understand how this could happen. Should not the setting of domain_local_mailserver be what is reflected in the web interface?
Is this a bug that has been resolved in later releases?

Best regards,

Erik

BTW. I'm running ISPConfig 2.1.2 on Debian Sarge

Last edited by erk; 18th May 2006 at 09:07.
Reply With Quote
Sponsored Links
  #2  
Old 18th May 2006, 09:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

You will have to set the mailserver to external in the website settings and in the settings for every co-domain of this website that is on the external mailserver too!
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 18th May 2006, 09:54
erk erk is offline
Member
 
Join Date: Oct 2005
Location: Göteborg, Sweden
Posts: 41
Thanks: 0
Thanked 4 Times in 3 Posts
Default

I'll admit that I forgot to check the settings for the co-domains but that still does not explain why the main domain had external mailserver in the web interface and domain_local_mailserver = 1 in the database. Or do you have to set external mailserver for both the main domain AND all co-domains for the setting to work?

Best regards,

Erik
Reply With Quote
  #4  
Old 18th May 2006, 10:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
Originally Posted by erk
Or do you have to set external mailserver for both the main domain AND all co-domains for the setting to work?
Yes. The logic behind that is very simple.

The website has the domain www.example.com. If you set mailserver to external in the website, the local server does not accept mails for ...@www.example.com anymore. If you have a co-domain example.com (with empty host), you will have to set this to extaernal mailserver if you dont want to get emails for this domain (example.com) on the local mailserver.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 18th May 2006, 10:56
erk erk is offline
Member
 
Join Date: Oct 2005
Location: Göteborg, Sweden
Posts: 41
Thanks: 0
Thanked 4 Times in 3 Posts
 
Default

Great! Thanx a bunch.
I'm happy that that is all sorted out then.
I wonder if I should get a pair of reading glasses or if this is something that might be good to add to the manual.

Best regards,

Erik
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
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 17:58
How to use an external mailserver within ISPConfig? Hans General 8 3rd September 2009 19:37
sending e-mail using mail() function linuxuser1 HOWTO-Related Questions 38 21st April 2009 12:20
External Mailserver - how to use? tom Installation/Configuration 3 21st April 2006 10:42
Postfix and external Mailserver vpns2000 Installation/Configuration 2 7th April 2006 22:00


All times are GMT +2. The time now is 00:31.


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