[olug] Sendmail is making a fool of me.... help

Brian Roberson brian at bstc.net
Fri Aug 17 03:58:54 UTC 2001


Is sendmail listening on port 25 at all? `netstat -an | grep LISTEN |
grep 25` should show output similar to:

dns:/tmp # netstat -an | grep LISTEN | grep 25
tcp        0      0 0.0.0.0:25              0.0.0.0:*
LISTEN
dns:/tmp #

If it is, can you telnet to the smtp port localy? E.g.....

< DENOTES COMMANDS TO TYPE >

dns:/tmp # telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 mail.somewhere.net ESMTP
< AT THIS POINT, CHECKOUT THE FEATURES WITH THE NEXT LINE OF INPUT (ehlo
something) >
ehlo foobar
250-mail.somewhere.net
250-PIPELINING
250 8BITMIME
< THEN JUST QUIT >
quit
221 mail.somewhere.net
Connection closed by foreign host.
dns:/tmp #

There is a lot more to the troubleshooting, however, with the outcome of
this info, there will be a fork in the road, so email the list back with
the info!

--Brian


> -----Original Message-----
> From: Jeff Hinrichs [mailto:jlh at home.com] 
> Sent: Thursday, August 16, 2001 10:13 PM
> To: olug at bstc.net
> Subject: [olug] Sendmail is making a fool of me.... help
> 
> 
> I'm installing sendmail for the first time and I'm having a 
> problem<g> Sendmail version: 8.11.2
> 
> Short Version:  Sendmail is refusing to accept mail from the 
> outside world.
> 
> Long Version:
> Send mail is running, and I can send mail to other accounts 
> on the box.  I can send mail out to the 'net.  But when I 
> send mail from the outside in I get the following error. 
> 88888888888888888888888888888888888888888888888888
> The following addresses had transient non-fatal errors ----- 
> <jlh at xxxxxxxx.com>
> 
>    ----- Transcript of session follows ----- 
> <jlh at xxxxxxxx.com>... Deferred: Connection refused by 
www.xxxxxxxx.com.
Warning: message still undelivered after 4 hours
Will keep trying until message is 5 days old
8888888888888888888888888888888888888888888888888
I've blanked out the domain with xxxxxxxx.com but you get the idea.

I just ran a port scan and port 25 is not showing up.  SSH and HTTP are,
which I want. I poked a  hole through ipchains:
88888888888888888888888888888888888888888888888888888888
# Firewall configuration written by lokkit
# Manual customization of this file is not recommended.
# Note: ifup-post will punch the current nameservers through the
#       firewall; such entries will *not* be listed here.
:input ACCEPT
:forward ACCEPT
:output ACCEPT
-A input -s 0/0 -d 0/0 22 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 25 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 80 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 443 -p tcp -y -j ACCEPT
-A input -s 0/0 -d 0/0 -i lo -j ACCEPT
-A input -p tcp -s 0/0 -d 0/0 0:1023 -y -j REJECT
-A input -p tcp -s 0/0 -d 0/0 2049 -y -j REJECT
-A input -p udp -s 0/0 -d 0/0 0:1023 -j REJECT
-A input -p udp -s 0/0 -d 0/0 2049 -j REJECT
-A input -p tcp -s 0/0 -d 0/0 6000:6009 -y -j REJECT
-A input -p tcp -s 0/0 -d 0/0 7100 -y -j REJECT
88888888888888888888888888888888888888888888
but still no joy.

Suggestions?

Thanks,
Jeff



---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



---------------------------------------------------------------------
To unsubscribe, e-mail: olug-unsubscribe at bstc.net
For additional commands, e-mail: olug-help at bstc.net



More information about the OLUG mailing list