469,281 Members | 2,486 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,281 developers. It's quick & easy.

Open Relay Test

D
Hi all .. how could one test to see if an open relay exists on a
specific email server?

Feb 17 '06 #1
8 3360
D wrote:
Hi all .. how could one test to see if an open relay exists on a
specific email server?

I bet spammers would love someone to answer that question for them. You
wouldn't be planning spam, by any chance?

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Feb 17 '06 #2
D
Nope, quite the contrary..I'm looking to write a simple program for a
client of mine that will, among other things, verify that their
clients' email servers do not have open relays.

Feb 17 '06 #3
D wrote:
Nope, quite the contrary..I'm looking to write a simple program for a
client of mine that will, among other things, verify that their
clients' email servers do not have open relays.

I usually test it like this:

martin@proxy:~> telnet mail.huygenslyceum.nl smtp
Trying 172.16.64.12...
Connected to mail.huygenslyceum.nl.
Escape character is '^]'.
220 mail.huygenslyceum.nl ESMTP Sendmail 8.12.11/8.12.11; Fri, 17 Feb
2006 10:03:46 +0100 (CET)
~> helo 172.16.64.1
250 mail.huygenslyceum.nl Hello [172.16.64.1], pleased to meet you
~> mail from: mh******@xs4all.nl
250 2.1.0 mh******@xs4all.nl... Sender ok
~> rcpt to: ma************@gmail.com
550 5.7.1 ma************@gmail.com... Relaying denied. IP name lookup
failed [172.16.64.1]

To get a more verbose explanation, google for smtp + telnet.

hth
--
mph

Feb 17 '06 #4
On Fri, 17 Feb 2006 00:40:51 -0500, Steve Holden wrote:
D wrote:
Hi all .. how could one test to see if an open relay exists on a
specific email server?

I bet spammers would love someone to answer that question for them. You
wouldn't be planning spam, by any chance?


The spammers already know how to look for open relays. Unlike the original
poster, they know how to use Google. *wink*

Besides, not just spammers want to detect open relays. Many people like to
block mail from open relays.

--
Steven.

Feb 17 '06 #5
"D" <du********@hotmail.com> writes:
Hi all .. how could one test to see if an open relay exists on a
specific email server?


Use the Distributed Sender Blackhole List service:

<URL:http://dsbl.org/>

They have client programs to make it easy to use the service to test
mail systems for vulnerabilities:

<URL:http://dsbl.org/programs>

--
\ "Buy not what you want, but what you need; what you do not need |
`\ is expensive at a penny." -- Cato, 234-149 BC, Relique |
_o__) |
Ben Finney <http://www.benfinney.id.au/>
Feb 17 '06 #6
D
Thanks guys for the info..the DSBL client app is exactly what I
need..unfortunately the app I'm writing will be for Windows (the only
client I saw was for Linux). Do you know if there's a Windows command
line port?

Feb 20 '06 #7
On Friday 17 February 2006 05:31, D wrote:
Hi all .. how could one test to see if an open relay exists on a
specific email server?


My simple favorite... run:

telnet relay-test.mail-abuse.org

from the mail server in question (and be patient).

Kindly
Christoph
--
~
~
".signature" [Modified] 1 line --100%-- 1,48 All
Feb 20 '06 #8
D
Thanks, Christoph..in order to automate this in a program (so the test
can be initiated from a system other than the mail server), I'm
thinking it could be automated (via pstools) to run on the system in
question. I'll give it a try!

Cheers,

Doug

Feb 20 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Henry | last post: by
2 posts views Thread by Jinsong Liu | last post: by
1 post views Thread by Irfan Akram | last post: by
1 post views Thread by Martin Pöpping | last post: by
4 posts views Thread by Jerry Spence1 | last post: by
1 post views Thread by Benedict Verheyen | last post: by
5 posts views Thread by Carmine [www.thetotalsite.it] | last post: by
1 post views Thread by tshad | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.