IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Sendmail on Linux II -- the sequel - I FIGURED IT OUT
SEE MY OWN REPLY TO THIS MESSAGE

It's unanimous -- sendmail is a beast and I should use something else. The problem is that for a variety of reasons I need to continue on this path using sendmail.

I got the outbound mail working OK -- It was only looking at the loopback device. Now I have the inbound to contend with. Below are excerpts from the logs generated at my ISP and the log generated by sendmail.

Anybody got any Ideas?

Cliff Kennedy

ISP Log
~~~~~~~
2002/01/25 09:47:18 0234: Using ESMTP for transmission
2002/01/25 09:47:19 Illegal command: SendFrom 550 5.0.0 Access Denied

Sendmail Log
~~~~~~~~~~~~
02627 >>> 220 xyz.com ESMTP Sendmail 8.11.6/8.11.6; Fri, 25 Jan 2002 10:46:50 -0800
02627 <<< EHLO mail2.netpipe.com
02627 >>> 250-xyz.com Hello mail2.netpipe.com [208.1.230.11], pleased to meet you
02627 >>> 250 ENHANCEDSTATUSCODES
02627 <<< MAIL FROM:<clkennedy@netpipe.com>
02627 >>> 550 5.0.0 Access denied
02627 <<< QUIT
02627 >>> 221 2.0.0 xyz.com closing connection
Expand Edited by clkennedy Jan. 25, 2002, 03:59:00 PM EST
Expand Edited by clkennedy Jan. 25, 2002, 04:05:02 PM EST
Expand Edited by clkennedy Jan. 25, 2002, 04:09:29 PM EST
Expand Edited by clkennedy Feb. 1, 2002, 06:05:01 PM EST
New Alternative to Sendmail
The best one that I can think of is [link|http://www.qmail.org|QMail] it is a good alternative to Sendmail. Just read the info on the links on the main QMail page.

"Will code Visual BASIC for cash."
New Re: Alternative to Sendmail
Please re-read -- that wasn't my question.
New By the way
Please don't post duplicates to multiple boards; most people interested in Linux will read the Unix area too, and it's more counterproductive than productive.
"Beware of bugs in the above code; I have only proved it correct, not tried it."
-- Donald Knuth
New Re: By the way
OK
New Huh?
Your description and the log you posted disagree: is the problem with email coming into your box (what you said) or email leaving your box (what the log says)?

And I'd like to know you're persisting with sendmail, since you've essentially said you can't or won't change.

Wade.

"All around me are nothing but fakes
Come with me on the biggest fake of all!"

New Re: Huh?
The problem is in receiving mail. The line in the log that I'm having trouble deciphering is:

02627 >>> 550 5.0.0 Access denied

This is coming from sendmail on my box (listed as xyz.com). It seems that sendmail can't write something to somewhere but I'm not sure exactly what or where.

550 is an smtp error code basically saying "I can't do that" the 5.0.0 is a mystery.

As for my obstinace for sticking with sendmail -- the reasons are many and varied. I'm not going to go into it here.

Cliff
New Oh.
I can only guess that your sendmail configuration is upset about email from netpipe.com. The 5.0.0 is probably a sendmail-specific error code. Considering all the advice so far about how to fix your problem has been to replace sendmail with something better, it doesn't look like there will be anyone who knows exactly what's wrong. Sorry.

Wade.

"All around me are nothing but fakes
Come with me on the biggest fake of all!"

New On replacing sendmail
You may be interested to know that exim can be used as a drop-in replacement for sendmail.

Indeed, on my system /sbin/sendmail is actually a symlink to exim.

This mainly works around the fact that many packages on Red Hat Linux require the smtpdaemon metapackage and I can't be bothered to make an exim RPM :-)


Peter
Shill For Hire
[link|http://www.kuro5hin.org|There is no K5 Cabal]
New Re: Sendmail on Linux II -- the sequel - I FIGURED IT OUT.
I found the problem ... I logged into the smtp service using telnet.

using: telnet localhost 25 -- everything worked fine.
using: telnet xyz.com 25 -- I got 550 5.0.0 Access denied when I did anything.

The problem -- I hadn't removed the /etc/hosts.allow & /etc/hosts.deny files.

Once I did it happily talked to any host that wanted to send me mail.

Duh !!

Cliff Kennedy
Expand Edited by clkennedy Feb. 1, 2002, 06:01:28 PM EST
New Congrats! Thanks for letting us know the solution.
New host.allow and host.deny are there for a reason
read up on tcp wrappers and use it.
thanx,
bill
My Dreams aren't as empty as my conscience seems to be
     Sendmail on Linux II -- the sequel - I FIGURED IT OUT - (clkennedy) - (11)
         Alternative to Sendmail - (nking) - (1)
             Re: Alternative to Sendmail - (clkennedy)
         By the way - (wharris2) - (1)
             Re: By the way - (clkennedy)
         Huh? - (static) - (3)
             Re: Huh? - (clkennedy) - (2)
                 Oh. - (static)
                 On replacing sendmail - (pwhysall)
         Re: Sendmail on Linux II -- the sequel - I FIGURED IT OUT. - (clkennedy) - (2)
             Congrats! Thanks for letting us know the solution. -NT - (Another Scott)
             host.allow and host.deny are there for a reason - (boxley)

Firecracker!
60 ms