Stop accepting connections for sending e-mail from users not having a mailbox

Not open for further replies.



i have an exchange server 2010 used for receiving and sending e-mail from/to the internet. My server then was found out by spammers and they started sending massive e-mails to other people outside our domain. I stopped this by setting a filter that checks the sender and if the sender is not on the list then it deletes the message. By this way though, the server received the message and then deleted it, but never spammed other mail servers on the internet.

Is there a way to stop the attack in an earlier stage, before the server saves the message? I mean there is a lot of traffic generated by this, can i disconnect them without receiving the message?

Or do you suggest another approach?

Thank you all


Thanks Leif for your response but it doesn't help me.

I want to be able to exchange e-mails with users outside the domain of my server. So in some way it must relay.

There must be a way to stop the spammers from giving the server the message that they want to send to other mail servers, e.g. yahoo, hotmail, etc.

Am i missing something?

Leif Pedersen [MVP]


The problem is on your receive connector where you are accepting mails to any recipients (and thereby allowing external users to send mails to other external users). External users sending mails to users on your server is not relaying.

So only if you have application servers sending mails through your exchange servers it must be configured to relay - but here you can restrict by IP addresses of your application servers.



In the Server Configuration -> Hub Transport-> Receive connectors , i have 2 connectors "Client" and "Default".

The client has checked for Authentication : "TLS" and "Basic Authentication after TSL" and for Permission: "Exchange Users" and "Exchange servers"

The default has checked for Authentication: "TLS" and for Permissions: "Anonymous users, Exchange users and servers and Legacy Exchange Servers"

Where should i make changes?

Leif Pedersen [MVP]


It must be on the default connector that there are some extended permissions set ( -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"). These should be removed



I though the previous post was a solution to my problem since i was checking the Message Tracking tool of the Exchange Server.

The i tried to check the server using:

220 MYADDRESS Microsoft ESMTP MAIL Service ready at Thu, 16 Dec 2010 15:27:29 +0200
250 MYADDRESS Hello []
250 2.0.0 Resetting
250 2.1.0 Sender OK
Test Failed, 250 2.1.5 Recipient OK

It seems that the connection is still done, even though the RCPT TO: is different than that of the users on my server. I tried also with Putty and the server received the mail, although it got rejected by Content Filtering.

Any other solution to stop the connection at the RCPT level?
Not open for further replies.
Thread starter Similar threads Forum Replies Date
A Exchange 2003 how to stop accepting EHLO and AUTH commands Exchange Server Administration 2
T "Words In Recipient's Address" Rule Causes Outlook To Stop Processing Rules Using Outlook 3
Y Outlook 2013 Stop Outlook from automatically assigning categories to Tasks Using Outlook 0
D Any updates or fixes that would make this code stop working just moving emails to another folder Outlook VBA and Custom Forms 1
F Outlook 2016 call to Stop Timer Event Outlook VBA and Custom Forms 4
S stop calendar date reverting to today Using Outlook 7
B Contacts just stop syncing, yesterday... Using Outlook 4
O Stop more than one person responding to an email? Using Outlook 1
A Stop Rule (not turn off) that Delays Outgoing Items Outlook VBA and Custom Forms 1
A Can't stop from setting reminders on appointments? Using accounts in Outlook 3
D Stop meeting acceptance notifications Using Outlook 1
J it goes like outlook has stopped working, a problem caused the program to stop working correctly, wi Using Outlook 2
makinmyway Research Pane in Emails Turns on and Cut Paste Keys then Stop Working Using Outlook 5
J How to Stop OutLook from being Installed Using Outlook 1
M Outlook 2010 IMAP rules occasionaly stop working Using Outlook 4
C How to stop iCloud calendars opening by default Using Outlook 8
icacream outlook 2007 - how do I stop spacing when I hit return ? Using Outlook 4
T Outlook 2007 SSL selfsigned certificate how to stop security popup everytime? Using Outlook 10
Y How do you stop double booking? Using Outlook 1
Commodore Why some RSS feeds stop getting updates? Using Outlook 12
N Rules stop running automatically Using Outlook 10
S Stop mail checking Using Outlook 5
M Can you stop "Microsft Office Outlook is synchronizing folders"? Using Outlook 2
C stop messages to personal folders Using Outlook 2
M Why rules stop running automatically? Using Outlook 1
J Stop Outlook 2010 from showing face pictures in From/To/Cc/Subject box Using Outlook 2
S Shared Calendar Need To Stop Receiving Other Peoples Reminders Using Outlook 3
R Stop Double Booking Rooms Using Outlook 3
W To stop outlook 2010 to open my browser at file:///C:/Users/username/AppData/Local/Microsoft/Windows Using Outlook 1
G How can I stop duplicate e-mails being sent to my sent folder in Outlook 2010? Using Outlook 2
D Outlook 2010 - Tasks - Stop using "To-Do List" Using Outlook 2
M when I save my messages it saves images as attachments . how can I stop it ? Using Outlook 16
A How do I stop automatic e-mail forwarding? Using Outlook 2
P After window 7 idle for few minutes then outlook 2010 stop send and receive Using Outlook 2
G How to stop Live mail from getting my Outlook mail Using Outlook 2
D Use of outlook blocked by stop symbol Using Outlook 2
A stop Outlook 2010 from downloading email with IMAP settings Using Outlook 1
F how do i stop my emails from leaving the outbox the moment I hit "send". Using Outlook 2
W Outlook 2007 stop sending mail, can receive but not send email Using Outlook 2
B Using Oulook and have 2 accts. Admin acct gets other acct email as well. How do I stop? Using Outlook 1
J Stop details info reply from Exchange 2010 Server of undeliverable message to external recipent Exchange Server Administration 2
F Stop Address Auto Save Using Outlook 1
M Can't stop the new mail beep - already unchecked play sounds box. Using Outlook 1
A How to stop .pst getting email repeatedly ? ( outlook 2010 ) Using Outlook 3
B Stop read receipts from being requested when i send emails Using Outlook 1
C how do i stop calender reminders? Using Outlook 1
R Emails Stop Exchange Server Administration 21
J Outlook 2007 - How Do I stop Most Messages Getting Marked As Spam? Using Outlook 2
J Appointment times automatically moved 2 hours when I changed time do I stop this? Using Outlook 1
Y How can I stop incoming mail but keep the old mail? Using Outlook 1
Similar threads