473,405 Members | 2,354 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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 3537
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: dp | last post by:
I am using the following code in .net 2: MailAddress fromAddress = new MailAddress("valid_smtp_addr", "name"); MailMessage message = new MailMessage(); message.From = fromAddress;...
2
by: Henry | last post by:
Hi, My hosting company supports SMTP relay. May I ask how can I write a C# code to send email through my program? string sender; string email; string subject; string message;
2
by: Jinsong Liu | last post by:
I need to using System.Web.Mail to send out notifications from my ASP.NET application. Based on what I know, a relay enabled SMTP server is required. Is there any way I can use a SMTP server which...
1
by: Irfan Akram | last post by:
Hi Guys, How can I get a relay server installed on my pc so that I can send and receive emails through in asp.net web-application. Thanks, I..A
1
by: Martin Pöpping | last post by:
Hello, I´m having a problem with the mail-method. It throws me an exeption and says: Mailbox unavailable. The server response was: 5.7.1 Unable to relay I´ve changed the server...
4
by: Jerry Spence1 | last post by:
I am trying, without much luck, to find help in implementing an SMTP server/relay program from VB2005. My company produces software to go on customer's PCs. I am trying to implement email fault...
1
by: Benedict Verheyen | last post by:
Hi, i get an "Unable to relay for" when trying to send an email from within my network to an email address not on my domain. I don't understand why it says "relaying" as i'm sending from an...
5
by: Carmine [www.thetotalsite.it] | last post by:
Hi everyone, I get a really odd error while using SMTPClient.Send() function in ASP.Net. The error is the following: Dim smtp As New Net.Mail.SmtpClient("smtp.thetotalsite.it", 25) Dim bodyMSG...
1
by: tshad | last post by:
I have a W2K3 Server we are setting up to run a Windows Service for a client at their location. I don't want this machine to go through exchange or their local mail server, I just want the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.