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 12th January 2006, 01:21
mantasman mantasman is offline
Junior Member
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default something wrong with mail & hostname

if i send message myself, i see such error in /var/log/maillog:
Code:
B7A094F2043F: to=<web11_me@localhost.localhost>, orig_to=<postmaster@thehostman.net>, relay=none, delay=1, status=bounced (Host or domain name not found. Name service error for name=localhost.localhost type=A: Host not found)
i'm 100% sure, email exists. and web11_me exists too. and if ping localhost.localhost, 127.0.0.1 (so my server) replies.
ftp, www, sending emails work. the only one which doesnt is receiving emails :/
i'm under fedora core 4, setuped by "the perfect setup"
Reply With Quote
Sponsored Links
  #2  
Old 12th January 2006, 02:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

What's in /etc/resolv.conf and /etc/hosts?
__________________
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 12th January 2006, 06:55
mantasman mantasman is offline
Junior Member
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Code:
cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 203.141.128.34
nameserver 203.141.128.33
and
Code:
cat /etc/hosts

# 'hosts' file configuration.

127.0.0.1       indre.local     localhost
219.117.228.243 indre   indre
Reply With Quote
  #4  
Old 12th January 2006, 12:51
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,994
Thanks: 840
Thanked 5,647 Times in 4,457 Posts
Default

Try to change your /etc/hosts file to this:

Code:
# 'hosts' file configuration.

127.0.0.1       indre.local     localhost     localhost.localhost
219.117.228.243 indre   indre
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 12th January 2006, 18:44
mantasman mantasman is offline
Junior Member
 
Join Date: Jan 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

tried. didnt helped.

and i tried to set mydomain/hostname to my real domain.tld. this gets me "looppbacking to myself" error.

a part of a log:
Code:
Jan 13 01:18:39 spider-webhosting postfix/smtp[20921]: 7CEA54F20427: to=<web11_me@mail.thehostman.net>, orig_to=<postmaster@thehostman.net>, relay=none, delay=1, status=bounced (mail for mail.thehostman.net loops back to myself)
as i see from logs, it's received to postmaster@thehostman.net succesfully. but it fails to forward it to local mailbox. which seems to be working too

what should i enter into mydomain and myhostname in /etc/psotfix/main.cf ?

so, summary:
if myhostname and/or mydomain set to any local name - fail with "cant find A entry" error

if these two set to my domain - fail with "loops back to myself"
Reply With Quote
  #6  
Old 12th January 2006, 19:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Quote:
Originally Posted by mantasman
Code:
Jan 13 01:18:39 spider-webhosting postfix/smtp[20921]: 7CEA54F20427: to=<web11_me@mail.thehostman.net>, orig_to=<postmaster@thehostman.net>, relay=none, delay=1, status=bounced (mail for mail.thehostman.net loops back to myself)

if these two set to my domain - fail with "loops back to myself"
This is easy to solve: put mail.thehostman.net at the bottom of /etc/postfix/local-host-names (where it says that you're allowed to make manual entries) and restart Postfix:
Code:
/etc/init.d/postfix restart
__________________
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
Cant get mail after applying the update 2.1.2 mphayesuk Installation/Configuration 2 31st December 2008 15:48
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Mail being delivered to wrong user Sinisfun Installation/Configuration 19 14th May 2007 17:45
Mail server jas_esp Server Operation 1 7th December 2005 19:17
Can't get MX for external mail server to work semmelbroesel Installation/Configuration 4 25th November 2005 18:48


All times are GMT +2. The time now is 10:42.


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