Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Qmail-Vmailmgr-Courier-SquirrelMail setup is missing FQDN

Status
Not open for further replies.

bones108

IS-IT--Management
Oct 14, 2003
12
US
Hello,

I am new to QVCS and RedHat 9 configuration as a whole. I have set up a server on RH9 that successfully sends and receives email. However, I am attempting to resolve an issue in which many larger email servers view email from my server as being spam and reject it because it is missing its FQDN. I have done the minimum necessary configurations to the config files for QVCS to get it running and disabling external relays. This is an example error message (with usernames and domain names replaced with X's):

Hi. This is the qmail-send program at .
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<xxx@insightbb.com>:
Connected to 63.240.76.150 but my name was rejected.
Remote host said: 501 missing fully qualified domain name
I'm not going to try again; this message has been in the queue too long.

--- Below this line is a copy of the message.

Return-Path: <xxx@xxx.org>
Received: (qmail 27673 invoked from network); 29 Dec 2003 10:05:13 -0000
Received: from localhost (HELO mail.xxx.org) (127.0.0.1)
by localhost with SMTP; 29 Dec 2003 10:05:13 -0000
Received: from 66.72.173.134
(SquirrelMail authenticated user xxx@xxx.org)
by mail.xxx.org with HTTP;
Mon, 29 Dec 2003 04:05:13 -0600 (CST)
Message-ID: <4564.66.72.173.134.1072692313.squirrel@mail.xxx.org>
Date: Mon, 29 Dec 2003 04:05:13 -0600 (CST)
Subject: Hi!
From: "My name here" <xxx@xxx.org>
To: xxx@insightbb.com
User-Agent: SquirrelMail/1.4.2-1.qvcs.1
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3
Importance: Normal

My message here.

 
Your email server needs to have a DNS entry so that it's IP and Hostname match. It appears that this is not the case.

It may also be a problem that the machine itself is named "localhost" and not "fred.example.com" where this machine is known as "fred" within your domain.

1) Ensure that you've given it a valid FQDN on the machine itself.
2) Ensure that DNS links back to it.


Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
thedaver,

What would be the best way to assure that the system has a proper FQDN? (I am much more familiar with Windows than with RH9.) As for DNS, my zone file is hosted elsewhere since my IP has a tendency to change every so often and that zone file points all traffic, regardless of the server name, to my IP. NAT reservations take over from there.
 
You need to alter /etc/host or /etc/sysconfig/network and ensure that your machine calls itself "mail.yourorg.org".
You then need to configure/tell your ISP to return DNS that "mail.yourorg.org" is as IP w.x.y.z.

Apparently this is not the case and the other mail server is APPROPRIATELY denying access because you are just "some server out there".

You can test this from linux by typing.

"dig mail.yourorg.org"

"dig -x w.x.y.z"

Each of the answers should resolve to the other value... a request by name yields IP, by IP yields name. You may need to wait up to 36 hours for a DNS change to take effect, this depends a great deal on how your ISP does business.

Surfinbox.com Business Internet Services - National Dialup, DSL, T-1 and more.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top