Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 26th July 2006, 17:14
reimagine reimagine is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Postfix Loops Back error and weird email headers

I'm getting the "loops back" error on my new ISPConfig setup (running on CentOS). Sometimes emails go through properly, other times I receive the following error message. In this example, email was sent to ben@domain1.com.
This is the Postfix program at host domain2.com.

I'm sorry to have to inform you that your message could not be
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

<web26_ben@domain3.com> (expanded from < ben@domain1.com>): mail for
domain3.com loops back to myself
The headers of emails that make it through also display multiple domains. For example:
X-Original-To: ben@domain1.com
Delivered-To: web26_ben@domain2.com
Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by www.domain3.com (Postfix) with ESMTP id B7AEBF6045A for <ben@domain1.com>; Wed, 26 Jul 2006 10:49:41 -0400 (EDT)
Any ideas of where to look as I try to fix this? It seems that the main.cf file for Postfix is set up properly:
virtual_maps = hash:/etc/postfix/virtusertable

mydestination = /etc/postfix/local-host-names
Reply With Quote
Sponsored Links
  #2  
Old 27th July 2006, 09:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
Default

Please add:

Quote:
domain3.com
(the domain that is mentioned in the error message)

at the end of the file:

/etc/postfix/local-host-names
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 27th July 2006, 16:27
reimagine reimagine is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Trying that...

Thanks for the info. I looked at the site settings. domain3.com was a co-domain on another site. I had a www version setup (so www.domain3.com was listed in local-host-names), but no non-www version (so domain3.com was not listed there). I went ahead and set up domain3.com (no www) as a co-domain and it's now showing up it the local-host-names file. I did a postfix reload and I'll keep an eye out for any more errors.

How should I set up co-domains if they aren't going to be used for email. My only options are local mail server or external mail server ... there is no "none" option.

Thanks!
Reply With Quote
  #4  
Old 28th July 2006, 03:27
reimagine reimagine is offline
Junior Member
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default variation on the error

Here is another example of a "loops back" error that I'm getting, but with a slight variation:
Jul 27 20:54:53 ns1 postfix/smtp[19638]: E3C74F604AA: to=<web26_ben@mail.domain1.com>, orig_to=<ben@domain1.com>, relay=none, delay=7053, status=SOFTBOUNCE (mail for mail.domain1.com loops back to myself)
"domain1" is the same name in both instances, but somehow "mail" gets added to the beginning of the domain name. There are no mail.domains listed in the local-host-names file.

The DNS settings for this domain are as follows:
A Record
ip.ad.dr.ess www
ip.ad.dr.ess mail

Mailserver
mail.domain1.com @
Thanks.
Reply With Quote
  #5  
Old 28th July 2006, 09:04
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,792
Thanks: 821
Thanked 5,338 Times in 4,188 Posts
 
Default

Please add mail.domain1.com to the local-host-names file too.
__________________
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


All times are GMT +2. The time now is 23:39.


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