Operation: | Update Relay Settings
Description: |

Sample Configuration
    	<RelaySettings>
    		<HostBased>
    			<AllowRelay>
    				<HostsOrNetworks>
    				<HostsOrNetwork>allowed1</HostsOrNetwork>
    				</HostsOrNetworks>
    			</AllowRelay>
    			<BlockRelay>
    				<HostsOrNetworks>
    				<HostsOrNetwork>blocked1</HostsOrNetwork>
    				</HostsOrNetworks>
    			</BlockRelay>
    		</HostBased>
    		<UpstreamHost>
    			<AllowRelay>
    				<HostsOrNetworks>
    				<HostsOrNetwork>allowed2</HostsOrNetwork>
    				</HostsOrNetworks>
    			</AllowRelay>
    			<BlockRelay>
    				<HostsOrNetworks>
    				<HostsOrNetwork>blocked2</HostsOrNetwork>
    				</HostsOrNetworks>
    			</BlockRelay>
    		</UpstreamHost>
    		<AuthenticatedRelaySettings>
    			<AuthenticatedRelay>Enable</AuthenticatedRelay>
    			<UsersOrGroups>
    				<UsersOrGroup>Open Group</UsersOrGroup>
    				<UsersOrGroup>Guest Group</UsersOrGroup>
    			</UsersOrGroups>
    		</AuthenticatedRelaySettings>
    	</RelaySettings>

Attribute/Parameter Information :

Parameter | Mandatory | Default | Description
--- | --- | --- | ---
HostsOrNetwork | No |  | Description: The hosts/networks which can use SF as an email relay. HostsOrNetwork confines to: Type is 'ARRAY'. Datatype is 'STRING'. Multiple values are allowed.
HostsOrNetwork | No | Any | Description: The hosts/networks that should be blocked by Device. HostsOrNetwork confines to: Type is 'ARRAY'. Datatype is 'STRING'. Multiple values are allowed.
HostsOrNetwork | No |  | Description: The upstream hosts/networks from whom you are to allow inbound emails, typically your ISP or external MX. HostsOrNetwork confines to: Type is 'ARRAY'. Datatype is 'STRING'. Multiple values are allowed.
HostsOrNetwork | No |  | Description: The hosts/networks whose inbound emails should be blocked by Device. HostsOrNetwork confines to: Type is 'ARRAY'. Datatype is 'STRING'. Multiple values are allowed.
AuthenticatedRelay | No | Disabled | Description: Checkbox to allow the authenticated users or groups selected below to use Device as an Email Relay. AuthenticatedRelay confines to: Type is 'SCALAR'. Datatype is 'STRING'. Only '0', '1' are allowed.
UsersOrGroup | No | Any | Description: Users or groups to be allowed to use Device as an Email Relay. UsersOrGroup confines to: Type is 'ARRAY'. Datatype is 'STRING'. Multiple values are allowed.

Status Message Information :

Operation | Status | Message
--- | --- | ---
Update Relay Settings | 200 | Operation Successful.
| Update Relay Settings | 500 | Operation Fail.

) Copyright 2017 Sophos Limited. All rights reserved.
Sophos is registered trademarks of Sophos Limited and Sophos Group. All other product and company names mentioned are trademarks or registered trademarks of their respective owners.No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise unless you are either a valid licensee where the documentation can be reproduced in accordance with the license terms or you otherwise have the prior permission in writing of the copyright owner.