Deleting an SMTP Gateway
Deletes a specified SMTP gateway.
smtpgw_delete smtpgw=SMTPGatewayName
Parameters:
Name Type Description Mandatory
smtpgw Object name SMTP gateway to be
deleted.
Y
This command deletes a specified SMTP gateway. A gateway cannot be deleted if it
is part of a notification rule, is being used as an SMS gateway or if it belongs to a
destination.
An SMTP gateway cannot be deleted while there are uncleared alerting events.
Example:
smtpgw_delete smtpgw=mailserverbackup
Output:
Command completed successfully
Access Control:
User Category Permission
Storage administrator Allowed
Storage integration administrator Disallowed
Application administrator Disallowed
Security administrator Disallowed
Read-only users Disallowed
Technicians Disallowed
Warnings:
v ARE_YOU_SURE_YOU_WANT_TO_DELETE_SMTP_GATEWAY
Are you sure you want to delete SMTP gateway Gateway?
Completion Codes:
v CANNOT_CHANGE_EVENT_CONF_WITH_ALERTING_EVENTS
Cannot change event configuration while there are alerting events
Troubleshooting: Clear all alerting events before changing event configuration
v GATEWAY_NAME_DOES_NOT_EXIST
Gateway name does not exist
v GATEWAY_USED_BY_DESTINATION
Gateway is used by a destination
v GATEWAY_USED_BY_SMS_GATEWAY
Chapter 14. Event Handling 305