PDA

View Full Version : Real domain name required for sender address


leanuisine
06-29-2002, 01:25 PM
Hi

I have previously posted about my problems with sendmail. Now my problem is narrowed down to this: Real domain name required for sender address

This is an exampel of what happens when I mail my own external mailaddress with an ISP.

From leanderl Sat Jun 29 20:16:38 2002
Date: Sat, 29 Jun 2002 20:16:38 +0200 (CEST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: leanderl
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="g5TIGcE00353.1025374598/localhost"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--g5TIGcE00353.1025374598/localhost

The original message was received at Sat, 29 Jun 2002 20:16:38 +0200 (CEST)
from leanderl@localhost

----- The following addresses had permanent fatal errors -----
mailto:leander1@telia.com
(reason: 553 5.5.4 <leanderl@localhost>... Real domain name required for sender address)

----- Transcript of session follows -----
... while talking to mail.telia.com.:
>>> MAIL From:<leanderl@localhost> SIZE=68
<<< 553 5.5.4 <leanderl@localhost>... Real domain name required for sender address
501 5.6.0 mailto:leander1@telia.com... Data format error

--g5TIGcE00353.1025374598/localhost
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost
Arrival-Date: Sat, 29 Jun 2002 20:16:38 +0200 (CEST)

Final-Recipient: RFC822; leander1@telia.com
Action: failed
Status: 5.5.4
Diagnostic-Code: SMTP; 553 5.5.4 <leanderl@localhost>... Real domain name required for sender address
Last-Attempt-Date: Sat, 29 Jun 2002 20:16:38 +0200 (CEST)

--g5TIGcE00353.1025374598/localhost
Content-Type: message/rfc822

Return-Path: <leanderl>
Received: (from leanderl@localhost)
by localhost (8.10.2/8.10.2) id g5TIGcF00351
for mailto:leander1@telia.com; Sat, 29 Jun 2002 20:16:38 +0200 (CEST)
Date: Sat, 29 Jun 2002 20:16:38 +0200 (CEST)
From: Leander Lindahl <leanderl>
Message-Id: <200206291816.g5TIGcF00351@localhost>
To: mailto:leander1@telia.com
Subject: test again

jkjsdns nbxbcxc

--g5TIGcE00353.1025374598/localhost--

Does anyone know how one makes the sender something other than localhost, obviously that is what's bothering my sendmail...

I've been looking around the vast amount of threads and articles there is out there about OSX and sendmail, but it's all rather complex and pointing in so many different directions... If anyone would recognise this particular situation and be able to give some advice it would be of great help...

mervTormel
06-29-2002, 01:51 PM
firstly, name your rig ( a simple single word, please, like tunaboat )...

% sudo pico /etc/hostconfig

and change

HOSTNAME=-AUTOMATIC-

to

# HOSTNAME=-AUTOMATIC-
HOSTNAME=tunaboat

then

% sudo hostname tunaboat

% hostname # should spit out your new hostname
tunaboat

then test mail. let us know.

leanuisine
06-29-2002, 02:23 PM
Thanks for the advice which did indeed do what I asked about. I changed the hostname to "macleander". And the change was effective.... Unfortunately the mail still doesn't get delivered. The invented domain name is no good it should seem... Would you have any idea how this problem is to be dealt with?

I really appreciate the help... this site is great!

Here's the returned mail:

From root Sat Jun 29 21:16:59 2002
Date: Sat, 29 Jun 2002 21:16:58 +0200 (CEST)
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: leanderl
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
boundary="g5TJGwX00407.1025378218/macleander"
Subject: Returned mail: see transcript for details
Auto-Submitted: auto-generated (failure)

This is a MIME-encapsulated message

--g5TJGwX00407.1025378218/macleander

The original message was received at Sat, 29 Jun 2002 21:16:58 +0200 (CEST)
from root@localhost

----- The following addresses had permanent fatal errors -----
mailto:leander1@telia.com
(reason: 553 5.1.8 <leanderl@macleander>... Domain of sender address leanderl@macleander does not exist)

----- Transcript of session follows -----
... while talking to mail.telia.com.:
>>> MAIL From:<leanderl@macleander> SIZE=80
<<< 553 5.1.8 <leanderl@macleander>... Domain of sender address leanderl@macleander does not exist
501 5.6.0 mailto:leander1@telia.com... Data format error

--g5TJGwX00407.1025378218/macleander
Content-Type: message/delivery-status

Reporting-MTA: dns; macleander
Arrival-Date: Sat, 29 Jun 2002 21:16:58 +0200 (CEST)

Final-Recipient: RFC822; leander1@telia.com
Action: failed
Status: 5.1.8
Diagnostic-Code: SMTP; 553 5.1.8 <leanderl@macleander>... Domain of sender address leanderl@macleander does not exist
Last-Attempt-Date: Sat, 29 Jun 2002 21:16:58 +0200 (CEST)

--g5TJGwX00407.1025378218/macleander
Content-Type: message/rfc822

Return-Path: <leanderl>
Received: (from root@localhost)
by macleander (8.10.2/8.10.2) id g5TJGwY00403
for mailto:leander1@telia.com; Sat, 29 Jun 2002 21:16:58 +0200 (CEST)
Date: Sat, 29 Jun 2002 21:16:58 +0200 (CEST)
From: Leander Lindahl <leanderl>
Message-Id: <200206291916.g5TJGwY00403@macleander>
To: mailto:leander1@telia.com
Subject: test again jabba

jabba the hut forever!

--g5TJGwX00407.1025378218/macleander--

leanuisine
06-29-2002, 02:39 PM
I can add to my last posting that I also tried mailing myself "internally" at the new domain "macleander" like this

leanderl@macleander

and that worked fine

leanuisine
06-29-2002, 04:01 PM
My GOD!!!! It's working!

I do own my own domain which is leanderweb.com. Though it is administered and hosted somewhere else at an ISP. Well I decided to try that for lack of better things to try out seeing that the "complaint" was that the hostname wasn't "real" as sendmail kindly informed me. Well I followed MervTormel's exquisit instructions once again, but this time used leanderweb.com as the hostname and tried mailing my external emailaddress. My jaws fell about ten feet through the floor in astonishment when it worked... I'll have to crack open a bottle of champagne!!

Now I don't know if it worked becuase the domain does exist or becuase of the addition of ".com". I remember seeing something posted somewhere from someone who was using an invented domain gunther.net or something and that worked fine for him...

Anyhow I hope this thread will help someone out sometime... It sure was a lot of wasted time for me just trying to set up an environment for testing PHP pages...