ggggus
Programmer
- Jul 5, 2003
- 114
Setting up a server, and the machine identifies itself everywhere as localhost.localdomain
First, is there a way to blanket change this everywhere do a fully qualified domain like piercedmedia.com?...and is this advisable?
Here's my immediate problem...
I'm getting mail returned like this:
I think that the problem probably has something to do with this line in the M4 config file:
But I'm not sure how I should change it, the server is running about 20 virtual hosts on apache and many of the sites need to send mail out as themselves...should I add multiple lines for each virtual host?
***************************************
J. Jacobs
First, is there a way to blanket change this everywhere do a fully qualified domain like piercedmedia.com?...and is this advisable?
Here's my immediate problem...
I'm getting mail returned like this:
Code:
The original message was received at Thu, 16 Mar 2006 08:31:29 -0600
from localhost.localdomain [127.0.0.1]
----- The following addresses had permanent fatal errors -----
<info@somedomain.co>
(reason: 501 Your domain does not seem to be valid. Could not find MX record
for your domain.)
----- Transcript of session follows -----
... while talking to mail.somedomain.com.:
>>> MAIL From:<apache@localhost.localdomain> SIZE=1383
<<< 501 Your domain does not seem to be valid. Could not find MX record for your
domain.
501 5.6.0 Data format error
I think that the problem probably has something to do with this line in the M4 config file:
Code:
LOCAL_DOMAIN(`localhost.localdomain')dnl
***************************************
J. Jacobs