LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-13-2002, 07:36 AM   #1
antken
Member
 
Registered: Nov 2000
Posts: 368

Rep: Reputation: Disabled
Question Open Relay test another server using linux


hi,


how would i go about testing a mail server on my network for openrelay-ness using linux?

i am asking because i am replacing a huge mailserver that is a massive open relay and i want to make sure it is secure before it goes live again and we get black listed


any ideas?
 
Old 11-13-2002, 08:36 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I think you'll find this interesting: http://www.geocities.com/spamresourc....htm#test-self
 
Old 01-06-2003, 08:58 AM   #3
antken
Member
 
Registered: Nov 2000
Posts: 368

Original Poster
Rep: Reputation: Disabled
i found out how to do it manually eventually

step 1. ( joe.doe.com = your server ) telnet your server on the smtp port ( 25 ) to open a connection

telnet joe.doe.com 25

step 2. identify your self ( my.addr is your boxes ip address )


helo my.addr

step 3. tell the server who the message if from

mail from:spammer@badhost.com

step4. tell your server who the message is going to ( final destination )

rcpt to:tobespammed@targetuser.com

at this point it will either say:
ok... will forward ( or something to that effect ) - this is bad your mail server is an open relay, you need to fix it ASAP

relaying not allowed ( or something to that effect ) - this is good your attempted message has been blocked and your server is not an open relay


it may be best to test this from outside your network because some mail servers are setup to relay everything from inside its local network

Last edited by antken; 01-06-2003 at 09:04 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Postfix/SMTPD] Getting no AUTH from server; open relay superhausi Linux - Security 2 11-19-2008 05:37 PM
is my mail server open to relay??? luca2005 Linux - Security 5 12-30-2004 08:27 PM
relay mail to sendmail relay server??? lemay_jeff Linux - Newbie 0 07-06-2004 04:54 PM
setting up a SMTP server with an "open" relay zyrtech Slackware 0 10-25-2003 09:13 AM
how to test on open relay? foreverbigface Linux - Newbie 2 08-16-2003 05:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration