Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon May 31, 2010 9:59 pm 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 12:57 am
Posts: 13
As of today, I can send, but not receive, email on my linode. I am the only person with server access, and no changes were made. It worked last night before I went to sleep - no longer works today.


Here's the bounceback error I'm receiving:

"<gremmy@li14-195.li14-195> (expanded from <dmg@dm-gremlin.com>): Host or domain
name not found. Name service error for name=li14-195.li14-195 type=A: Host
not found"

I've gotten limited help from tech support, concluding with the following statement:

"The problem you are having is because your mail aliases are being expanded to the incorrect name "li14-195.li14-195", rather than "li14-195.members.linode.com", or another valid name for your Linode."

The last email I received on my system appears to have been right before the linode outage that caused the graph dead time this morning. Tech support said:

"An incorrect or NXDOMAIN record may have been cached by your server for the name li14-195.members.linode.com during the outage."

I don't know how to check to see if that's the case, or to correct this if it is the case.


Tech support also said the following:

"That the name is showing up as li14-195.li14-195 is quite strange. You may want check your "/etc/resolv.conf" to ensure that your search and domain options are set to "members.linode.com". If you already have the correct settings in your "/etc/resolv.conf" you may want to add:

64.71.152.195 li14-195.li14-195

To your "/etc/hosts" file as a temporary fix."


I tried to do this, rebooted, but no change.


Here's the contents of the two files tech support suggested I check:

etc/resolv.conf:

; generated by /sbin/dhclient-script
search members.linode.com
nameserver 74.207.241.5
nameserver 74.207.242.5


etc/hosts, with the very last line being what tech support advised me to add:

# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
64.71.152.195 li14-195.li14-195

I'm extremely inexpert at this, am not the person who originally configured the server, and can not look at this information and know if it's correct or not.

Any assistance will be very much appreciated. Files to look in, what the cause of this problem might be, etc. I'm way out of my league of knowledge here as to where to look for a solution.

Thank you.


Top
   
 Post subject: add'l info
PostPosted: Tue Jun 01, 2010 12:21 am 
Offline
Senior Newbie

Joined: Thu Aug 16, 2007 12:57 am
Posts: 13
I'm trying to troubleshoot the alias thing. Upon running the "newaliases" command in console, I get this error:

My hostname li14-195 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

In /etc/postfix/main.cf, where should I be defining this? I see references to myhostname and mydomain, but I am not sure exactly what to change.

Does this help clear up anything about where the problem is happening? I can provide the contents of the main.cf file if that would be helpful.

Thank you.


Top
   
 Post subject:
PostPosted: Tue Jun 01, 2010 1:23 pm 
Offline
Junior Member
User avatar

Joined: Thu Apr 29, 2010 3:32 pm
Posts: 44
Website: http://devjonfos.net
Location: Oregon
I think fundamentally you need a proper short hostname. See this thread: http://www.linode.com/forums/viewtopic.php?t=5615 where I tried to explain the short hostname and FQDN there.

It's derived from the Getting Started Guide

Then once you set your hostname and DNS "A" record, you need to set up the reverse DNS through the Linode Manager for proper mail handling:
Postfix Guides wrote:
Now you'll need to set the system mail name. This should be a fully qualified domain name (FQDN) that points to your Linode's IP address. In this example, we're using an example organization's domain for our mail server. You should set the reverse DNS for your Linode's IP address to the fully qualified domain name you assign as the system mail name, while other domains you wish to host email for will be handled through later virtual domain setup steps.


And did you follow a particular Email guide?


Top
   
 Post subject: Re: add'l info
PostPosted: Tue Jun 01, 2010 1:47 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
wynnesome wrote:
My hostname li14-195 is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf

In /etc/postfix/main.cf, where should I be defining this? I see references to myhostname and mydomain, but I am not sure exactly what to change.

On a properly configured system you normally don't need to set either of those two parameters in postfix - they will derive their default values from the system's FQDN. If you tell us which linux distro you are using, I'm sure someone can help you sort out setting your system's FQDN.

Oh and lose the "64.71.152.195 li14-195.li14-195" line from /etc/hosts - that is not a proper fix for anything.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group