Post #25,749
1/25/02 3:49:19 PM
2/1/02 6:05:01 PM
|
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
Edited by clkennedy
Jan. 25, 2002, 03:59:00 PM EST
Edited by clkennedy
Jan. 25, 2002, 04:05:02 PM EST
Edited by clkennedy
Jan. 25, 2002, 04:09:29 PM EST
Edited by clkennedy
Feb. 1, 2002, 06:05:01 PM EST
|
Post #25,753
1/25/02 3:56:07 PM
|
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."
|
Post #25,754
1/25/02 4:00:39 PM
|
Re: Alternative to Sendmail
Please re-read -- that wasn't my question.
|
Post #25,773
1/25/02 5:13:05 PM
|
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
|
Post #26,061
1/28/02 12:23:16 PM
|
Re: By the way
OK
|
Post #25,917
1/27/02 12:02:37 AM
|
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!"
|
Post #26,060
1/28/02 12:22:41 PM
|
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
|
Post #26,239
1/29/02 5:00:21 AM
|
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!"
|
Post #26,247
1/29/02 6:22:20 AM
|
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]
|
Post #26,918
2/1/02 5:59:27 PM
2/1/02 6:01:28 PM
|
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
Edited by clkennedy
Feb. 1, 2002, 06:01:28 PM EST
|
Post #26,919
2/1/02 6:02:26 PM
|
Congrats! Thanks for letting us know the solution.
|
Post #27,220
2/4/02 1:24:32 PM
|
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
|