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 --------
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl OSTYPE(`linux')dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl
FEATURE(`local_procmail', `/usr/bin/procmail')dnl FEATURE(`access_db',
`hash /etc/mail/access')dnl FEATURE(`nocanonify')dnl
MAILER(`smtp')dnl
MAILER(`procmail')dnl
MASQUERADE_AS(`33.third')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. .
Cc:
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.
250-tisch.mail.mindspring.net Hello 1cust221.tnt4.longmont.co.da.uu.netQuote:>>> EHLO turkey.33.third
[67.234.191.212] 250-SIZE 10485760
250-PIPELINING
250 HELP
354 Enter message, ending with "." on a line by itselfQuote:>>> DATA
Quote:>>> .
Saved message in /root/dead.letter Closing connection to
mail.mindspring.com.
221 tisch.mail.mindspring.net closing connection -------- cut hereQuote:>>> QUIT
--------
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.
[207.69.200.148], 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.
[207.69.200.157], dsn=5.0.0, stat=Service unavailable
------- cut here --------