Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
F: +44 (0)8456 446 899 / +44 (0)1223 359459
E: enquiries@precedence.co.uk
Email-ExchangeRelay

Jump To: Support > KB > NetManager > Email > ExchangeRelay

Configuring Exchange to allow system reports to be sent to Precedence and school admins

Setting up Exchange 2010 to relay SMTP email from NetManager

  1. Launch Exchange Management Console
  2. Expand tree in left-hand panel and selectServer Configuration
  3. Select Hub Transport
  4. Select the server and then from the Actions (right-hand) pane of the console choose New Receive Connector
  5. Type in a suitable name, e.g. NetManager. Leave intended use as Custom and click Next >
  6. On the Local Network settings page, leave the IP address as is. Enter the standard amil domain name of the site in the FQDN box and click Next >
  7. On the Remote Network settings page, select the default 0.0.0.0-255.255.255.255 range and click the X button above to delete
  8. For each NetManager, click on Add... and enter its IP address. When you have added all, click Next >
  9. Review settings and click New
  10. Once completed, click Finish
  11. In the bottom half of the Hub Transport panel, right-click on the new receive connector you have just created and choose Properties
  12. Switch to the Permission Groups tab and select Anonymous Users and Exchange Servers.
  13. Switch to the Authentication tab and select Externally Secured
  14. Click OK
  15. Test

Configuring NetManager to be able to send email externally and to Exchange users

  1. Determine the email domain name (school.lea.sch.uk in this example) and the IP address of the Exchange server (10.0.0.100 in this example)
  2. Set mail relay on NetManager to the IP address of the Exchange server. This can be done through Email > Send/Rcv in webadmin, from option I and then M on the Console Menu or by setting mail_relay in the NetManager configuration file. All non-local email will be sent to this server for onwards delivery.
  3. Set email domain on NetManager to the full email domain name. This can be done through Email > Send/Rcv in webadmin, from option I and then O on the Console Menu or by setting domain_external in the NetManager configuration file. This will cause email to be sent from user@school.lea.sch.uk, i.e. system mail will come from root@school.lea.sch.uk. This step is sufficient for the NetManager to send email to external addresses (e.g. Precedence support)
  4. To deliver mail to users at the school, an extra step is required. As the local domain is set to be the main mail domain, the NetManager will assume that any email to username@school.lea.sch.uk should be delivered locally to user username (see here for more information). Therefore, no mail will be sent on to Exchange. To forward all mail for the domain to another server, you need to set mail_forward in the NetManager configuration file to the IP address of the mail server, i.e.
    mail_forward="10.0.0.100"
    
  5. Once the changes have been made, you must run build_server to make the changes live. Do not be tempted to run just the sendmail build script.
  6. To receive system mails, set an email alias from root to a suitable user account @school.lea.sch.uk
  7. Test sending mail externally from the command line:
    netmanager 1# echo "Hello" | mail -s Test my.account@googlemail.com
    
  8. Test sending mail to root internally from the command line:
    netmanager 1# echo "Hello" | mail -s Test root
    
In summary, the NetManager configuration file should contain:
mail_relay="10.0.0.100"
mail_forward="10.0.0.100"
domain_external="school.lea.sch.uk"
© Copyright Precedence Technologies 1999-2017
Page last modified on February 28, 2012, at 02:09 PM by sborrill