[lug] linuxconf and sendmail config

D. Stimits stimits at idcomm.com
Mon Oct 8 17:45:30 MDT 2001


dan radom wrote:
> 
> saturn:~$ telnet radom.org 25
> Trying 24.255.187.190...
> Connected to radom.org.
> Escape character is '^]'.
> 220 mars.radom.org ESMTP Sendmail 8.11.2/8.11.2; Mon, 8 Oct 2001 17:17:27 -0600
> helo radom.org
> 250 mars.radom.org Hello host84-212.birch.net [216.212.84.212], pleased to meet
> you
> mail From:  me at me.org
> 250 2.1.0 me at me.org... Sender ok
> rcpt to: dradom at redback.com
> 550 5.7.1 dradom at redback.com... Relaying denied
> 
> > Can somebody here tell me if there is a simple way to test for mail
> > relay from another ip address, via something like telnet to port 25? Is
> > there a simple command line I could use? If so, we could arrange to help
> > test each other's machine in private. My saving grace here, even if
> > sendmail is lying and doing relay, is that it is completely blocked to
> > everywhere but the one ip from my ISP.
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

This did what I wanted. I went to my remote site, opened its ip up to
port 25, and it simply drops the connect without a prompt ever showing
up. Locally, from internal network, it does allow relay, so I am sure
the test does the job. I didn't even get a "Relaying denied", it
summarily dropped the connection. So even if I were to open up my
firewall to all IP's it wouldn't help anyone do relay.

D. Stimits, stimits at idcomm.com



More information about the LUG mailing list