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 October 2007, 23:05
minezamac minezamac is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default phantom mx domain still in system after removal, can't forward offsite.

I have a server running ISPConfig Version: 2.2.1 that i installed with a .org domain and tried to point a .com domain there as well. To make a long story short, when I deleted the .com domain all the mail is still attempting to stay on the box. So when you email me@blah.org forwarded to an offiste server it works. But when you email me@blah.org forwarded to the now off server domain it returns undelivered with: (changed domain and sender only)

This is the Postfix program at host www.blah.org.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to <postmaster>

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The Postfix program

<web2_me@www.blah.org> (expanded from
<me@blah.org>): mail forwarding loop for
web2_me@www.blah.org
Reporting-MTA: dns; www.blah.org
X-Postfix-Queue-ID: 27C5756003F
X-Postfix-Sender: rfc822; me@gmail.com
Arrival-Date: Thu, 18 Oct 2007 15:48:48 -0500 (CDT)

Final-Recipient: rfc822; web2_me@www.blah.org
Original-Recipient: rfc822; me@blah.org
Action: failed
Status: 5.0.0
Diagnostic-Code: X-Postfix; mail forwarding loop for
web2_me@www.blah.org

From: im me <me@gmail.com>
Date: October 18, 2007 3:47:58 PM CDT
To: me@blah.org
Subject: test email


test


I have tried to delete any references to the old .com domain but cannot find it anymore in the system. I then went into phpmyadmin and found it in a couple of places and deleted the row. I have restarted the SMTP and DNS services many times and still have the issue. Again, when you forward the address to any other domain to forwards the mail correctly, only when I have it forwarded to the domain that is now off the box that I tried to remove you get the loop message.

Any help would be greatly appreciated.
Reply With Quote
Sponsored Links
  #2  
Old 19th October 2007, 10:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
I then went into phpmyadmin and found it in a couple of places and deleted the row.
This was a really bad idea as this has messed up your ISPConfig DB now as you most likely did not delete all dependant records in isp_nodes, isp_dep, dns_nodes and dns_dep. Do you have a backup of the database, that you can restore?

Instead of changing the database manually, you just would have to empty the recycle bin to remove the items.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th October 2007, 17:46
minezamac minezamac is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Backups, yeah, not one that makes things better...

Quote:
Originally Posted by till
Do you have a backup of the database, that you can restore?
It was done many moons ago, I have made many revisions since the offending changes to the database. It only came to light since trying to move the .org mail back to the server from an offsite server. So no there is no way to restore back the database without affecting other things.

The underlying problem is trying to get the ability to have the sites mail not be seen as spam since it was coming from a different domain. So I need to get this domain straightened out.

The ultimate goal is to simply have the .com mail be able to be sent from the .org server to the .com server. Currently it thinks it is hosting the .com mail and is trying to send the mail internally so to speak and says the accounts don't exit since they really don't on this server.

I have reviewed all the tables in the database and have no rows representing the .com domain present. Prior to doing that I emptied all the recycle bins in the system. I have restarted the SMTP and DB functions and I can see in the postfix local-hosts-file that the .com domain is no longer present. Is there another file a .db I think that postfix has that I still need to rebuild?

Thanks again.
Reply With Quote
  #4  
Old 20th October 2007, 17:16
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
Default

Quote:
I have reviewed all the tables in the database and have no rows representing the .com domain present.
The dependant records do not contain the domain name, but they can prevent ISPConfig from updating records. If you dont have a backup, there is nothing we can do about this problem.

Quote:
I have restarted the SMTP and DB functions and I can see in the postfix local-hosts-file that the .com domain is no longer present. Is there another file a .db I think that postfix has that I still need to rebuild?
There is no other file for postfix, so if the domain is not in this files anymore, then postfix does not have theis domain in its setup.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 1st November 2007, 20:06
minezamac minezamac is offline
Junior Member
 
Join Date: Apr 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Domain has offiste mail service, but it is trying to service the mail requests itself

Hello, I am that ispconfig site with the messed up domains, but now I am trying to fix the problem with a simple redirect from another domains account to an offsite account. So the problemn looks like this.

domain1.org is truly hosted on the box.
domain1.com is not, but at a past time was in ispconfig and was appearently incorrectly ripped out, see previous unpleasent story that there is no solution for...

I tried to in the ispconfig email account setting forward the mail to another domain that I have godaddy forwarding the email to the true domain1.com email server.

But alas the domain is hosted on this ISPConfig box for it's web site and it will not forward the mail either. How do you tell the ISPconfig to use another DNS server as it's master DNS? It does not respect the MX record I am setting up in it apparently. I am open to suggestions. This is making tis server useless for emailing the folks that need to use an off box mail account that the domain is hosted on it. It just goes into a black hole of itself and never forwards the mail outward.
Reply With Quote
  #6  
Old 1st November 2007, 20:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,483
Thanks: 813
Thanked 5,255 Times in 4,121 Posts
 
Default

Your problem is not a DNS problem. Just set the website to external mailserver and all of its co-domains.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Proftpd + MySQL virtual users, can't connect geekman HOWTO-Related Questions 28 27th September 2010 18:03
ISPConfig takes forever to load b00gz Installation/Configuration 5 12th April 2007 22:00
This is %#@*&^$# embarrassing! domino Smalltalk 34 5th February 2007 21:57
Apache Forward / Domain forward mphayesuk General 2 11th September 2006 13:35
postfix config jmroth Installation/Configuration 6 18th September 2005 15:58


All times are GMT +2. The time now is 15:11.


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