Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Remove SMTP List Element (RMVSMTPLE) command is used to remove elements from SMTP configuration lists. These lists may be enabled or disabled using the Change SMTP Attributes (CHGSMTPA) command or from the SMTP Properties panel in iSeries Navigator. The changes take effect the next time the SMTP server is started either by the Start TCP/IP (STRTCP) command or by the Start TCP/IP Server (STRTCPSVR) command.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
TYPE | List type | *ACCEPT, *REJECT, *NEAR, *DOMAIN, *SVRBIND, *CLTBIND, *ETRNSVR, *FTRSUBJECT, *FTRORIGIN, *FTRFILNAME, *FTRTYPE | Required, Positional 1 |
INTNETADR | Internet address | Character value | Optional |
SUBNETMASK | Subnet mask | Character value, '255.255.255.255' | Optional |
HOSTNAME | Host name | Character value | Optional |
FTRDATA | Filter data | Character value | Optional |
Top |
Specifies which list to remove the element from.
Top |
Specifies the internet address to remove from the specified list. This address should be in dotted decimal format.
Top |
Specifies the mask to use with the internet address.
Top |
Top |
Top |
Example 1: Removing an Element from the Accept Relay list
RMVSMTPLE TYPE(*ACCEPT) INTNETADR('1.2.3.4')
This command removes the address 1.2.3.4 with netmask 255.255.255.255. This means that this address can NOT be used to connect to the SMTP server to relay mail to another server.
Example 2: Removing an Element from the Subject Filter list
RMVSMTPLE TYPE(*FTRSUBJECT) FTRDATA('Love you.')
This command removes an element from the Subject Filter list. Mail will NOT be checked for the subject 'Love you.'
Top |
*ESCAPE Messages
Top |