QUOTE
An "open relay" is a server that allows third-parties (non-customers) to send mail to other third-parties. In other words, an open relay mail server processes a mail message where neither the sender nor the recipient is a local user.
There are several techniques that spammers use to get other's mail servers to send their mail. (The spammer's goal is to be able to send to the outside -- not just to the local accounts.) The following are some of the techniques used to try to get a mail server to relay mail. (Some other techniques include abusing form-to-mail CGIs on webservers.)
quote from here
There are several techniques that spammers use to get other's mail servers to send their mail. (The spammer's goal is to be able to send to the outside -- not just to the local accounts.) The following are some of the techniques used to try to get a mail server to relay mail. (Some other techniques include abusing form-to-mail CGIs on webservers.)
I don't know about your guys but when I setup my mail settings in a control panel you wonder if it's really in effect. So I thought I post the ways I tested my mail servers relay response.
First off I will be using telnet to connect to the mail server. Open a new shell on your local machine or if your on windows run>"cmd"
Here is a basic session:
CODE
>micxz@neptune:~> telnet yourhost.com 25
Trying xxx.xx.xx.xx...
Connected to yourhost.com.
Escape character is '^]'.
220 hostname.yourhost.com ESMTP
>helo
250 hostname.yourhost.com
>mail from: [email]me@youremail.com[/email]
250 ok
>rcpt to: [email]me@thirdparty.com[/email]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
>rcpt to: [email]me@yourhost.com[/email]
250 ok
>data
354 go ahead
>This is a test email via telnet session' Hi'
>
>.
250 ok 1080286547 qp 31615
>rset
250 flushed
>quit
221 hostname.yourhost.com
Connection closed by foreign host.
micxz@neptune:~>
Trying xxx.xx.xx.xx...
Connected to yourhost.com.
Escape character is '^]'.
220 hostname.yourhost.com ESMTP
>helo
250 hostname.yourhost.com
>mail from: [email]me@youremail.com[/email]
250 ok
>rcpt to: [email]me@thirdparty.com[/email]
553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
>rcpt to: [email]me@yourhost.com[/email]
250 ok
>data
354 go ahead
>This is a test email via telnet session' Hi'
>
>.
250 ok 1080286547 qp 31615
>rset
250 flushed
>quit
221 hostname.yourhost.com
Connection closed by foreign host.
micxz@neptune:~>
OK so that's pretty simple right.
NOTE: I added ">" to every line I typed.
More commands here