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 17th February 2008, 20:00
shanta shanta is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to shanta
Default Mail problem when www in site name.

Hi

I set up a mail server with ISPConfig on Debian 4 etch.

As I have all web services on a different server I did not want to have WWW.domain.name in the configuration.

Unfortunately ISPConfig wants to put it in the subdomain by defalut.

If you go to add an email address and forget to remove the www It get saved to the configuration file and mail to that domain no longer works until it is removed.

How can I fix this problem?

Thanks
Shanta
Reply With Quote
Sponsored Links
  #2  
Old 18th February 2008, 14:11
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Select "External Mailserver" for that Co-Domain (it's on the Options tab).
__________________
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 18th February 2008, 20:54
shanta shanta is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to shanta
Default mail problem

Quote:
Originally Posted by falko
Select "External Mailserver" for that Co-Domain (it's on the Options tab).
would this not disable the mailserver all togethe? This is the mailserver I want accepting and delivering mail. External mailserver means to me that mail is controlled by another server.

I am attempting to configer a mail only server.
Thanks Shanta
Reply With Quote
  #4  
Old 19th February 2008, 13:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Quote:
Originally Posted by shanta
would this not disable the mailserver all togethe?
No, it would only remove that domain from the Postfix configuration, but Postfix keeps running.
__________________
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 22nd February 2008, 08:33
shanta shanta is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to shanta
Default

Quote:
Originally Posted by falko
No, it would only remove that domain from the Postfix configuration, but Postfix keeps running.
Which means Postfix on the mail server will not accept mail for the domain?
I what the server with ISPconfig to accept mail and only mail for the domain. If I do that who will accept mail for the domain? I guess I am missing what ISPconfig means by remote mail server.

The web applications, DNS etc run on another server not configured with ISPconfig. The DNS points mail to the ISPconfigured system.
Reply With Quote
  #6  
Old 22nd February 2008, 11:28
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

It looks as you mix things up here. www.domain.com and domain.com are two absolutely different things. If you want to not receive emails for www.domain.com but for domain.com, set mailserver to external on the options tab of the website www.domain.com. As long as you did not set the co-domain doemain.com to external mailserver too on the options tab of this co-domain record, you will receive emails for domain.com.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 24th February 2008, 20:07
shanta shanta is offline
Junior Member
 
Join Date: Feb 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to shanta
Default

In truth I don't care if the postfix accepts mail for www or not. The problem is; if ISPconfig has www set it the domain box in the main configuration screen for the domain NO mail is accepted by the server for that server. Erase the www and the system acceptes mail to domain.com. This seems to me to be a problem with the ISPConfig defalut setup. I also don't want reselers to have to deal with comfigureing the server to remote or to remove the www each time they add a new email address or edit anything in their mail server.

There also are no codomains set up for most of the severs. I also don't quite get the diffrence between ISPConfigs definition of a co-domain, subdomain, server alias.

Doc are not clear on these. I am more used to Apache definitions and WebMin/virtualmin definitions and setup. I am guessing that co-domain and server alias are equivelent and ISPconfig deals with sub-domain as a new server. So www.domain.com is a defalut co-domain of domain.com and points to the same directory as dose an apache server alias. subdomain.domain.com points to a different web root, an apache virtual server.
Reply With Quote
  #8  
Old 25th February 2008, 10:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Please read my post again. You still mix up things! Do what I posted above to solve the problem. Set the website to external mailserver and the co-domain (with empty hostname) must be set to local mailserver. If such a co-domain does not exits (e.g. because you set the domain limit to 1 and ispconfig was not allowed to create this for you automatically), then create the co-domain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 17th March 2008, 17:54
TomC TomC is offline
Member
 
Join Date: Mar 2008
Posts: 37
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Let me once again raise the issue of the "external mailserver" option.

When I set my main site (www.domain.tld) to "external mailserver" while my co-domain (domain.tld) uses "local mailserver" I get a behavior with which I am not too happy:

If I send an email to user@www.domain.tld I get the response "mail for www.domain.tld loops back to myself", which is not surprising after all.

So what I'd love to see is that ISPConfig removes the entries from the virtusertable, but leaves www.domain.tld in the local-host-names. Then postfix knows it's responsible for the domain, yet bounces mail because there are no mail addresses for that domain.

...or is there a better way of achieving what I want?!

Greetz,
Tom
Reply With Quote
  #10  
Old 18th March 2008, 16:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by TomC
So what I'd love to see is that ISPConfig removes the entries from the virtusertable, but leaves www.domain.tld in the local-host-names. Then postfix knows it's responsible for the domain, yet bounces mail because there are no mail addresses for that domain.
But then Postfix won't send out emails for www.domain.tld because it thinks it is responsible for www.domain.tld...
__________________
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
mail forwarding loop for ... marra87 Installation/Configuration 1 31st October 2007 08:08
Problem with mail and plugin djmostek Installation/Configuration 10 3rd September 2007 21:12
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Another Problem: Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP bluegrass Installation/Configuration 24 8th March 2006 01:41
SMTP TLS Problem with Mail Client dschmid Installation/Configuration 1 9th December 2005 01:56


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


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