Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error: Domain of sender address does not exist

1,046 views
Skip to first unread message

David Smith

unread,
Sep 1, 2004, 8:30:49 PM9/1/04
to
I know this question has been asked a lot in this newsgroup, but in the
course of the research in this NG about how to fix it, issues are raised
and discussed which leave me in the proverbial dust, so I hereby ask it
again.

Before proceeding, a caveat: At times I may display only a very
rudimentary knowledge of things, so if in the course of trying to solve
my problem, I ask elementary questions, I ask forbearance.

I am an end user connected via dialup modem to my ISP. I use MUTT as my
MUA on a Redhat linux system, and am using sendmail to send my messages.

Following is a transcript of a bounced message:
------------------------------------------------------------------
This is a MIME-encapsulated message

--i81KX2xb003678.1094070782/localhost.localdomain

The original message was received at Wed, 1 Sep 2004 13:32:54 -0700
from localhost.localdomain [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<us...@hotmail.com>
(reason: 553 5.1.8 <us...@hotmail.com>... Domain of sender
address mys...@localhost.localdomain does not exist)

----- Transcript of session follows -----
... while talking to smtp.lafn.org:
>>> DATA
<<< 553 5.1.8 <us...@hotmail.com>... Domain of sender address
mys...@localhost.localdomain does not exist
550 5.1.1 <us...@hotmail.com>... User unknown
<<< 503 5.0.0 Need RCPT (recipient)

--i81KX2xb003678.1094070782/localhost.localdomain
Content-Type: message/delivery-status

Reporting-MTA: dns; localhost.localdomain
Received-From-MTA: DNS; localhost.localdomain
Arrival-Date: Wed, 1 Sep 2004 13:32:54 -0700

Final-Recipient: RFC822; us...@hotmail.com
Action: failed
Status: 5.1.8
Remote-MTA: DNS; smtp.lafn.org
Diagnostic-Code: SMTP; 553 5.1.8 <us...@hotmail.com>... Domain of
sender address mys...@localhost.localdomain does not exist
Last-Attempt-Date: Wed, 1 Sep 2004 13:33:02 -0700

--i81KX2xb003678.1094070782/localhost.localdomain
Content-Type: message/rfc822

Return-Path: <mys...@localhost.localdomain>
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by localhost.localdomain (8.12.8/8.13.1) with ESMTP id i81KWrxb003676
for <us...@hotmail.com>; Wed, 1 Sep 2004 13:32:54 -0700
Received: (from david@localhost)
by localhost.localdomain (8.12.8/8.12.8/Submit) id i81KWrvi003674
for us...@hotmail.com; Wed, 1 Sep 2004 13:32:53 -0700
Date: Wed, 1 Sep 2004 13:32:53 -0700
From: deleted
To: deleted
Subject: Re: FW: A Positive Start To Each Day
Message-ID: <2004090120...@smtp.lafn.org>
References: <BAY18-F247Cky...@hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BAY18-F247Cky...@hotmail.com>
User-Agent: Mutt/1.4i

--------------------------------------------------------------------

I would add my sendmail.mc here, but it is long, and I don't know what,
if any are the relevant portions. If I could simply be pointed in some
directions, I would appreciate it. TIA.


What, if anything, in sendmail.mc do I need to change where to get rid
of the "Domain of sender address mys...@localhost.localdomain does not
exist" problem? Thank you.

Alexander Dalloz

unread,
Sep 1, 2004, 8:59:09 PM9/1/04
to
On Wed, 01 Sep 2004 17:30:49 -0700 David Smith wrote:

> I am an end user connected via dialup modem to my ISP. I use MUTT as my
> MUA on a Redhat linux system, and am using sendmail to send my messages.

> ----- Transcript of session follows -----


> ... while talking to smtp.lafn.org:
>>>> DATA
> <<< 553 5.1.8 <us...@hotmail.com>... Domain of sender address
> mys...@localhost.localdomain does not exist
> 550 5.1.1 <us...@hotmail.com>... User unknown
> <<< 503 5.0.0 Need RCPT (recipient)

Configure mutt to use a valid sender address (see the mutt documentation)
and setup Sendmail to use your ISP's mail server as smart host with

define(`SMART_HOST',`isp-smtp-server-address')dnl

in the sendmail.mc. Maybe you have to set the ISP's mail server name in
squared brackets.

Alexander


--
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416 14CD E197 6E88 ED69 5653

David Smith

unread,
Sep 2, 2004, 5:29:08 PM9/2/04
to
Alexander Dalloz wrote:
> On Wed, 01 Sep 2004 17:30:49 -0700 David Smith wrote:
>
>
>>I am an end user connected via dialup modem to my ISP. I use MUTT as my
>>MUA on a Redhat linux system, and am using sendmail to send my messages.
>
>
>> ----- Transcript of session follows -----
>>... while talking to smtp.lafn.org:
>>
>>>>>DATA
>>
>><<< 553 5.1.8 <us...@hotmail.com>... Domain of sender address
>>mys...@localhost.localdomain does not exist
>>550 5.1.1 <us...@hotmail.com>... User unknown
>><<< 503 5.0.0 Need RCPT (recipient)
>
>
> Configure mutt to use a valid sender address (see the mutt documentation)

I do. In .muttrc, I have:

set from="ac...@lafn.org".

Aside: It occurs to me just now that perhaps you thought that
"mys...@localhost.localdomain" and "user@hotmail" were actual users.
No, I had copied an actual transcript to my message, and changed e-mail
addresses to "protect the innocent". Perhaps unnecessary.

> and setup Sendmail to use your ISP's mail server as smart host with
>
> define(`SMART_HOST',`isp-smtp-server-address')dnl

I already had this sentence in my sendmail.mc. It is the following:
define(`SMART_HOST',`smtp.lafn.org')

It does lack the ending "dnl", which was on the next
line. Even though I don't think that should have made any difference, I
moved that ending "dnl" to follow immediately the ")" on the above
"define" line.


>
> in the sendmail.mc. Maybe you have to set the ISP's mail server name in
> squared brackets.

Nope. Parentheses.

>
> Alexander
>
>

Dave

unread,
Sep 2, 2004, 7:32:52 PM9/2/04
to
I've seen this before just this past weekend.

Edit /etc/hosts.

For both your network IP address and your loopback address (127.0.0.1), make
sure that a valid hostname.domainname is the first host listed after the IP
address, then restart sendmail (service sendmail restart) or simply reboot.

Your hostname will have to be resolvable to an IP address by your smart host
(smtp.lafn.org).

For example, if you have a hostname.domainname of dalloz.lafn.org, your
/etc/hosts should look at least like this:
-----------------/etc/hosts------------------------------------------------------------
127.0.0.1 dalloz.lafn.org localhost.localdomain localhost
w.x.y.z dalloz.lafn.org dalloz
-------------------------------------------------------------------------------------------
where w.x.y.z is your IP address, like 192.168.0.1

And, I don't think the w.x.y.z is necessary. The primary change has to be
that on the 127.0.0.1 line your host.domain come first.

Hope this helps,
David Boone

Alexander Dalloz

unread,
Sep 2, 2004, 7:59:55 PM9/2/04
to
On Thu, 02 Sep 2004 14:29:08 -0700 David Smith wrote:

> I do. In .muttrc, I have:
>
> set from="ac...@lafn.org".
>
> Aside: It occurs to me just now that perhaps you thought that
> "mys...@localhost.localdomain" and "user@hotmail" were actual users.
> No, I had copied an actual transcript to my message, and changed e-mail
> addresses to "protect the innocent". Perhaps unnecessary.

mutt is acting correct now?
If things still not work as expected you might use feature genericstable
to map outgoing mail addresses to valid ones.

>> in the sendmail.mc. Maybe you have to set the ISP's mail server name in
>> squared brackets.
>
> Nope. Parentheses.

But a dig lafn.org shows:

lafn.org. 86400 IN MX 20 zoon.lafn.org.

And host smtp.lafn.org shows:

smtp.lafn.org is an alias for zoot.lafn.org.
zoot.lafn.org has address 206.117.18.6

So you would have to use squared brackets to prevent a lookup.

Mark Frank

unread,
Sep 3, 2004, 9:46:09 AM9/3/04
to
In article <ch8340$2l44$1...@zook.lafn.org>, David Smith wrote:
>
> I do. In .muttrc, I have:
>
> set from="ac...@lafn.org".

See the mutt manual. You need:

set envelope_from


--
Mark Frank
"The fix is only temporary...unless it works." - Red Green

David Smith

unread,
Sep 3, 2004, 4:44:59 PM9/3/04
to
Alexander Dalloz wrote:
> On Thu, 02 Sep 2004 14:29:08 -0700 David Smith wrote:
>
>
>>I do. In .muttrc, I have:
>>
>>set from="ac...@lafn.org".
>>
>>Aside: It occurs to me just now that perhaps you thought that
>>"mys...@localhost.localdomain" and "user@hotmail" were actual users.
>>No, I had copied an actual transcript to my message, and changed e-mail
>>addresses to "protect the innocent". Perhaps unnecessary.
>
>
> mutt is acting correct now?
> If things still not work as expected you might use feature genericstable
> to map outgoing mail addresses to valid ones.
>
>
>>>in the sendmail.mc. Maybe you have to set the ISP's mail server name in
>>>squared brackets.
>>
>>Nope. Parentheses.

Please, please excuse me. In my haste to read your e-mail, I misread
"Maybe you HAVE TO set...." as "Maybe you have set..."

>
>
> But a dig lafn.org shows:
>
> lafn.org. 86400 IN MX 20 zoon.lafn.org.
>
> And host smtp.lafn.org shows:
>
> smtp.lafn.org is an alias for zoot.lafn.org.
> zoot.lafn.org has address 206.117.18.6
>
> So you would have to use squared brackets to prevent a lookup.
>

True newbie time...is the form


define(`SMART_HOST',`[isp-smtp-server-address]')dnl

or


define(`SMART_HOST',[`isp-smtp-server-address'])dnl

> Alexander
>
>

David Smith

unread,
Sep 3, 2004, 4:50:51 PM9/3/04
to
Dave wrote:
> I've seen this before just this past weekend.
>
> Edit /etc/hosts.
>
> For both your network IP address and your loopback address (127.0.0.1), make
> sure that a valid hostname.domainname is the first host listed after the IP
> address, then restart sendmail (service sendmail restart) or simply reboot.

Thank you for the command and format of restarting sendmail. Sometimes
I am very embarrassed at my elementary knowledge of some things. I am
still at the point where I appreciate it if I am directed to do
something as superuser or myself.

Alexander Dalloz

unread,
Sep 3, 2004, 5:04:41 PM9/3/04
to
On Fri, 03 Sep 2004 13:44:59 -0700 David Smith wrote:

> True newbie time...is the form
> define(`SMART_HOST',`[isp-smtp-server-address]')dnl
> or
> define(`SMART_HOST',[`isp-smtp-server-address'])dnl

The former version. The squared brackets are around the host name or IP.
The parentheses are around elements of sendmail.mc lines.

0 new messages