[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Exchange 2003 - How can this scanner be relaying SMTP mail through Virtual Server ???

Posted on 2009-02-20
Medium Priority
Last Modified: 2012-05-06
We have scanners installed that relay mail through exchange and have been adding in the IPs as relays before we commissioned but have missed a couple and strangely they still relay mail, without adding their IP addresses into allowed relay on our virtual server (VS). I've activated SMTP logging on the VS and can see the data below showing that the scanner ( is relaying through this VS (SMTPSVC1) even though the IP is not in the specified relay list.

2009-02-19 15:05:32 RNPC94680 SMTPSVC1 UKEXBHMAN01 0 HELO - +RNPC94680 250 0 52 14 0 SMTP - - - -
2009-02-19 15:05:32 RNPC94680 SMTPSVC1 UKEXBHMAN01 0 MAIL - +FROM:<mfd.scanner@xxxxx.com> 250 0 51 38 0 SMTP - - - -
2009-02-19 15:05:32 RNPC94680 SMTPSVC1 UKEXBHMAN01 0 RCPT - +TO:<c@xxxxx.com> 250 0 29 26 0 SMTP - - - -
2009-02-19 15:05:32 RNPC94680 SMTPSVC1 UKEXBHMAN01 0 DATA - +<200902191502102N.DCSML-S001300000.000074C94680@> 250 0 145 187451 94 SMTP - - - -
2009-02-19 15:05:32 RNPC94680 SMTPSVC1 UKEXBHMAN01 0 QUIT - RNPC94680 240 94 74 4 0 SMTP - - - -

I have since removed another existing relay for a similar scanner (stopped and started services) from Exchange and the scanner continues to relay - very strange.

The settings we have are the default (as below) with the addition of allowed relays.

Relay Restrictions
*Only the list below - selected and computers added
*Allow all computer which successfully authenticate to relay, regardless of the above list - Selected but if we remove this the scanners still relay.

* Anonymous access - Selected
* resolve anonymous email - NOT Selected
* Basic authentication - Selected
* Requires TLS - NOT Selected
* Integrated Windows Authentication - Selected

Authenticated users have submit permission only

If anyone can spot why these are still relaying I would be very grateful. We would like to control what devices can send mail through exchange more than this if possible.



Question by:cmuir
LVL 65

Expert Comment

ID: 23690912
Remove the entire list of relay machines and authenticated relaying. Then restart the SMTP Server service. If you do not restart the SMTP Server service then the server can continue to be abused.


Expert Comment

ID: 23690920
Your configurations seems to  be just fine. Have you restart the services (SMTP, Exchange POP, etc.) after the changes you've made?

In my case this resolved the problem...

Author Comment

ID: 23691044
Just noticed that if I remove an IP from the relay list that the IP Scanner can continue to Relay to the internal domain but not externally - is this by design? We would like to have the ability to stop all devices relaying internally or externally if we want.
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.


Author Comment

ID: 23691067
MESTHA - unfortunately removing all items from the relay list isn't an option as we have legitimate machines that do need to relay mail and if we remove just the scanners from the list and restart services they can still relay mail internally (though not externally as we have just found out)

Author Comment

ID: 23691070
PGHN - yes stopped and started MTA and SMTP - would you suggest restarting more?

Accepted Solution

MNH1966 earned 200 total points
ID: 23691624
I think there's a slight misunderstanding here.
Relaying means sending mail to the outside world from an address that does not exist within your organization (simply put). It's perfectly normal that, unless you apply IP connection restrictions, any SMTP device is able to send mail to internal mailboxes.

Author Closing Comment

ID: 31549171
Thanks - we will look at IP restrictions to tighten down who can connect at all.

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

On September 18, Experts Exchange launched the first installment of the Help Bell, a new feature for Premium Members, Team Accounts, and Qualified Experts. The Help Bell will serve as an additional tool to help teams increase question visibility.
There can be many situations demanding the conversion of Outlook OST files to PST format and as such, there is no shortage of automated tools to perform this conversion. However, what makes Stellar OST to PST converter stand above the rest? Let us e…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

872 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question