473,809 Members | 2,591 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 3554
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.huygenslyc eum.nl smtp
Trying 172.16.64.12...
Connected to mail.huygenslyc eum.nl.
Escape character is '^]'.
220 mail.huygenslyc eum.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.huygenslyc eum.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********@hot mail.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.i d.au/>
Feb 17 '06 #6
D
Thanks guys for the info..the DSBL client app is exactly what I
need..unfortuna tely 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
480
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; message.To.Add(new MailAddress("someaddress@yahoo.com")); message.Body = Body; message.Subject = Subject; message.IsBodyHtml = true; SmtpClient smtp = new SmtpClient("valid_smtp_srv");
2
5142
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
1444
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 has relay disabled? thanks
1
1134
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
5814
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 properties like it was described in: http://codebetter.com/blogs/peter.van.ooijen/archive/2006/04/05/142331.aspx
4
2307
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 reporting back to our support centre, but cannot assume that the customer has an email account. I have found several examples showing how to send SMTP, but it always assumes you are sending to a known SMTP server. It's that actual SMTP...
1
5721
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 internal domain user to an external user. Email server is exchange 2003 See this trace
5
6659
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 As String bodyMSG = "something" smtp.Send("something@thetotalsite.it", someone@gmail.com, "Message from thetotalsite", bodyMSG)
1
3797
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 Server to send out a message from the SMTP Virtual Server to me (in a different company) to tell me that some exception has happened in our service. The problem is that it creates an error about a relay: Exception Type:...
0
10643
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10378
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10391
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9200
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7664
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4333
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.