Windows applications and some hardware like network scanners and printers are require anonymous relay in order to send email. You can do this with limit the scope of the anonymous relay to the application server in question.  Below given the PowerShell commands that can be used on SBS 2011 Standard or Exchange 2010 to correctly create an anonymous relay for any traffic coming from the application server with the IP of 192.168.1.3.

The process needs to be done in two steps – first command line will create the Anonymous Relay connector and the second like will modify the permissions of it to allow it to function correctly.

New-ReceiveConnector -Name "Application Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 192.168.16.2:25 -RemoteIpRanges 192.168.16.3 
Get-ReceiveConnector "Application Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Creating the Receive Connector via the Exchange System Manager is not enough – if you have done just that, then you also need to run the 2nd PowerShell command below for it to work.

If you for some reason do not like to use Exchange for relaying, you can use ISP relay. Some ISP relays you can find here.


Google AdSence

AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.

About

AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...

Contacts

Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077

Connect

Join us in social networks to be in touch.

Newsletter

Complete the form below, and we'll send you our emails with all the latest AUST IT news.