Discussion Locked

Junk mailer thru my Exchange Server

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I don't have any previous experience with Exhange, our domain name was not yet registered, a week ago I have installed Exchane 5.5, and I succeded in configuring the organization, the site, Internet Mail Service and the mailboxes, and I succeded in sending mails. But after a few days I noticed a terrible uploading activity in our Internet connection. From the network monitor installed on the Exchange server machine, I found that all the packects are SMTP, in brief it was a junk mailer who used our Exchange to send his junk mails. All I could do is to stop the Internet Mail Service and everything went back to normal.
My question is how he was able to do that and in the first place how he could know about us (specially that our domain was not yet registered, so we can only send mails), second how can I prevent this from happening again.

I hope you can help me with this, and if this is the right way to send my inquiries please inform me with the right one.
Thanks in advance.
Best regards

7 replies

by mark.thomson

The spammer was probably scanning through IP addresses looking for SMTP servers (port 25). No registered domain is required from the spammer's point of view. Once he found your IP address he probably sent a single message to see if your Exchange Server would route incoming mail, after this was successful he used your Exchange server to deliver his spam. To prevent this from happening go to the routing tab of the Internet Mail Service (r-click on the Internet Mail service icon in the exchange administrator) and disable routing for incoming mail. If you need to route incoming mail then you will need to restrict the domains that will be forwarded - see your exchange documentation

by lordinfidel

To prevent mail relaying thru your Exchange server:

1. Open up exchange Admin
2. Go to connections
3. Open up Internet Mail Service
4. Go to the routing tab
5. Go to routing restrictions
6. Choose Clients who sucessfully authenticate.
7. press ok, ok, ok.
8. You will then need to stop and restart the the IMS service on the mail server.

notes** After this is done you will start seeing in your outgoing mail que originator tags that look like this <>

This is not relayed mail. It is actually being generated from your server.

This is what happens:
A spammer tries to relay thru your mail server but is denied.

The mail server generates an e-mail back to the originators address saying that 550 relay is prohibited.

Sincemost spammers use a fake address. The mail originated from the server get's stuck in it's own que since it can not deliver to that person.

When you finally get the NDR delivered to your mail box. The mail is not really the spam, but the attemptof your mail server to contact the host sending the mail. Which is why you get all those weird NDR's from other mail servers.

Hope this helps

This discussion is closed to new replies.