Mail Relaying
What is Relaying?
When someone outside of your organization uses your SMTP Server to send mails out over the Internet; it’s a big problem if you have an “Open” Relay because this Relay will be used by other Spammer to send their mail.
How to test for Mail Relaying?
How can you check your SMTP server for relaying? Simple, All of you have to do is use a computer outside of your organization and type the commands shown below later in this section. You will need to type in these commands in a command shell.
- TELNET mail.example.com 25
- EHLO mail.example
- MAIL FROM:
- RCPT TO:
- DATA
From:sender@example.com
To:youremail@outsideaddress.com
Subject: Relay test
This is a relay test and only a test.
(Type
- QUIT
| You type this text | Server should respond with this |
| TELNET mail.example.com 25 | Trying 10.10.10.1. |
| EHLO 10.10.10.1 | 250-mail.example.com 250-PIPELINING 250-SIZE 9999360 250-VRFY 250-ENHANCEDSTATUSCODES 250-8BITTIME 250 DSN |
| MAIL FROM:<> | 250 2.1.0 OK |
| RCPT TO: | 250 2.1.5 OK |
| DATA | 354 End data with |
| From:sender@example.com | 250 2.0.0 OK: Queued as T22122A5 |
| QUIT | 221 2.0.0 bye |
Preventing message relaying with MS Exchange
Before you start checking which version you are running - you must be running Microsoft Exchange Server 5.5 or greater, then follow these 7 steps.
- Go to the Internet Mail Service Properties dialog box in Microsoft Exchange
- Select the Routing tab at the top.
- Select the option reroute incoming SMTP mail (required for POP3/IMAP4 support).
- Reroute incoming SMTP mail.
- For each domain you host, you need an entry in the Routing section.
- Click the Routing Restrictions button.
- Make sure Hosts and clients with these IP addresses are checked. Leave the list of IP addresses blank.
For further information you can check some of the reference websites below.
1. http://www.msexchange.org/pages/article.asp?id=54
2. http://www.slipstick.com/exs/relay.htm#basics
3. http://www.auditmypc.com/freescan/readingroom/relay.asp
4. http://support.microsoft.com/?kbid=304897
No comments:
Post a Comment