550 Rejected: Cannot route to sender (RHL 7.2)

550 Rejected: Cannot route to sender (RHL 7.2)

Post by thompso » Wed, 24 Jul 2002 12:17:41

I'm trying to config sendmail (8.11.6 I think) under RHL 7.2.  I think
I'm almost there, but I get a 550 Rejected message when attempting to send
a test message.
        The config: RHL 7.2, connecting to Earthlink/mindspring (normal dialup
account) using an analog modem, dial-on-demand with pppd.  That all works.
 I want the Linux box to (eventually) run Fetchmail, or (as the Fetchmail
documentation calls it) "Fetcahmail".  I have several Win clients
connecting to the Linux box, and I would like the Linux box itself, plus
the Win clients, to be able to send and receive email using the Linux box
as the mail server, instead of the Earthlink SMTP server (That is how
Fetchmail works, isn't it?????).  I only have a single email identity
(address) on Earthlink.  I don't want the Linux box to become a spam
relay magnet when I migrate to DSP later this year, so a "good neighbor"
configuration is important.

        I tried to research this, but the relevant link posted as an answer on
Google was to NETCOM, which doesn't exist anymore)

        Thanks in advance for any hints.

Here's my sendmail.mc
--------  cut here  --------
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl OSTYPE(`linux')dnl
FEATURE(`local_procmail', `/usr/bin/procmail')dnl FEATURE(`access_db',
`hash /etc/mail/access')dnl FEATURE(`nocanonify')dnl
define(`SMART_HOST', `smtp:mail.mindspring.com')dnl --------  cut here

Here's the result of a "mail" session --------  cut here  --------

this is yet another in a continuous series of tests. .

smtp... 220-tisch.mail.mindspring.net ESMTP Exim 3.33 #1 Sun, 21 Jul 2002
17:53:03 -0400 220-NO UCE.  EarthLink does not authorize the use of its
computers or network 220 equipment to deliver, accept, transmit, or
distribute unsolicited e-mail.

Quote:>>> EHLO turkey.33.third

250-tisch.mail.mindspring.net Hello 1cust221.tnt4.longmont.co.da.uu.net
[] 250-SIZE 10485760
250 HELP

Quote:>>> DATA

354 Enter message, ending with "." on a line by itself
Quote:>>> .

Saved message in /root/dead.letter Closing connection to
Quote:>>> QUIT

221 tisch.mail.mindspring.net closing connection --------  cut here

Here's the last few lines from /var/log/maillog --------  cut here
Jul 21 15:46:47 turkey sendmail[19709]: alias database /etc/aliases
rebuilt by root Jul 21 15:46:47 turkey sendmail[19709]: /etc/aliases: 40
aliases, longest 10 bytes, 395 bytes total Jul 21 15:46:47 turkey
/var/log/sendmail[19723]: starting daemon (8.11.6): SMTP Jul 21 15:47:10
turkey sendmail[19731]: g6LLlA319731: from=root, size=80, class=0,

xdelay=00:00:54, mailer=smtp, pri=30080, relay=mail.mindspring.com.
[], dsn=5.0.0, stat=Service unavailable Jul 21 15:53:22
turkey sendmail[19840]: g6LLrMt19840: from=root, size=104, class=0,

xdelay=00:00:53, mailer=smtp, pri=30104, relay=mail.mindspring.com.
[], dsn=5.0.0, stat=Service unavailable

-------  cut here  --------


1. exim setup problem/"550 cannot route to sender address"

I'm having trouble setting up the SMTP with my ISP. My messages return
with errors like:

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to all of its recipients.
following address(es) failed:

    unrouteable mail domain "leda"

------ This is a copy of the message, including all the headers. ------

Received: from ridingwood.shef.ac.uk ([])
        by mailhub1.shef.ac.uk with esmtp (Exim 3.02 #2)
        id 12RkAK-0006FK-00

Received: from RIDINGWOOD/SpoolDir by ridingwood.shef.ac.uk (Mercury
    5 Mar 00 23:10:24 +0000
Received: from SpoolDir by RIDINGWOOD (Mercury 1.46); 5 Mar 00 23:10:15

Date:    Sun, 5 Mar 2000 23:10:09 +0000
Subject: Delivery failure notification

This is an automatically generated message. Please read this carefully
the most common reasons for failure, which are caused by invalid address
formats, are described below.


With reference to your message with the subject:

One or more addresses in your message have failed with the following
responses from the mail transport system:


The name of the computer in /etc/hostname is "leda", and I don't have a
domain (AFAIK).

I suspected that my SMTP server objects that my computer doesn't have a
valid internet name (or maybe just a domain, for example shef.ac.uk???).
Thus I've set things so that my computers name is changed (in one of the
scripts in /etc/ppp/ip-up.d/) to the name that is nslookup-ed from my
${PPP_IPLOCAL} address after ppp is established (and changed to
/etc/hostname from a script in /etc/ppp/ip-down.d).

But somehow I suspect that there must be a better way.

Is sendmail's "masquerading" the thing I need? Will my mail go if the

that) How do I achieve this with exim?

Ljubomir Josifovski

Ljubomir Josifovski, SPandH, DCS, University of Sheffield
Regent Court, 211 Portobello St, Sheffield S1 4DP, UK
tel/fax: +44-(0)114-222-1878/222-1810

2. Font problem

3. Sendmail Problem Reject=550; relaying not allowed

4. Linux and WAR deploy, not!

5. Sendmail: mails rejected with "550-unrouteable mail domain "blade150.lafr.de""

6. stripping spaces

7. Sendmail Problem Reject=550; relaying not allowed

8. KDE login manager configuration on Red Hat 7.2

9. Routing problem with source-based routing and routing packets back to sender machine.

10. Login failed: 550 Cannot set privileges and hylafax

11. "cannot route to sender..." Why??

12. gnome pager applet in RHL 7.2

13. kernel 2.4.19/RHL 7.2 problems