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 27th March 2010, 15:31
Br8knitOFF Br8knitOFF is offline
Member
 
Join Date: Sep 2008
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default /etc/postfix/local-host-names again

Been looking around for a solution for my problem and have seen a lot of suggestions and similar problems, but nothing appears to be a fix.

Brand new ISPConfig system (2.2.35) running on debian lenny. Followed Falko's perfect config to a tee.

The problem is that somewhere/for some reason, ispconfig insists on appending the 'www' to the hostname I've got configured for a couple of domains we're accepting mail for.

When it does that, it rejects mail for local recipients because 'someuser@example.com' isn't in the recipients table...(because ispconfig is rewriting the /etc/postfix/local-host-names for the target domain as 'www.example.com'.

I've got no subdomains for either domain configured on this box, and it's not obeying a manual entry at the bottom of the local-host-names file.

Right now, my workaround is to delete the www field in the basis tab of the domain, go into the DNS zone inside iSPConfig and delete the 'www' host from the domain, and it will rewrite the local-host-names file correctly. (example.com)

However, upon restart of ISPConfig or reboot of the server, the problem is back and rewrites the domain as 'www.example.com' and rejects mail for 'somebody@example.com'.

A bonus is the server is in production now, and we're only using it for hosting mail- no webs/databases.

Thanks in advance!
//Todd
Reply With Quote
Sponsored Links
  #2  
Old 29th March 2010, 15:14
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Please create a Co-Domain example.com (without www).
__________________
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 29th March 2010, 15:56
Br8knitOFF Br8knitOFF is offline
Member
 
Join Date: Sep 2008
Posts: 35
Thanks: 0
Thanked 1 Time in 1 Post
Default

Falko,
As usual, you came through BIG time- thank you so much!

I ran into this problem once before a LONG time ago, but couldn't for the life of me remember what the fix was.

Popped into another of my ISPConfig boxes and sure enough, that's what I did. (probably at your suggestion)

Thanks again!!!
//Todd
Reply With Quote
  #4  
Old 25th November 2010, 00:12
anomaly0617 anomaly0617 is offline
Junior Member
 
Join Date: Oct 2010
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Falko,

I too have followed one of your wonderful how-to documents to create a LAMP server on a CentOS 5.x server running ISPConfig. For those, I thank you!

I'm also running into the same problem as the gentleman above, but I cannot figure out what you mean by "create a co-domain" - can you clarify where I find this setting? I assume it's somewhere in the admin interface for ISPConfig3?

Thank you!
-Anomaly0617
Reply With Quote
  #5  
Old 25th November 2010, 13:34
falko falko is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by anomaly0617 View Post
Falko,

I too have followed one of your wonderful how-to documents to create a LAMP server on a CentOS 5.x server running ISPConfig. For those, I thank you!

I'm also running into the same problem as the gentleman above, but I cannot figure out what you mean by "create a co-domain" - can you clarify where I find this setting? I assume it's somewhere in the admin interface for ISPConfig3?

Thank you!
-Anomaly0617
This thread is about ISPConfig 2. Please post in the ISPConfig 3 forum.
__________________
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

Tags
local-host-names, postfix, www

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
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 11:56
Is my postfix is hacked? bzzik Server Operation 21 15th July 2009 14:13
smtp is error!!! fhawk Installation/Configuration 2 7th April 2009 13:17
Postfix problem: lost connection after CONNECT from unknown fernando_torrez Server Operation 5 30th November 2007 14:17
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57


All times are GMT +2. The time now is 13:03.


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