The PMDF TEST/REWRITE (OpenVMS) or pmdf test -rewrite (UNIX and
NT) utility, particularly with the /FROM, /SOURCE_CHANNEL, and
/DESTINATION_CHANNEL (OpenVMS) or -from,
-source_channel, and -destination_channel
(UNIX and NT) qualifiers, can be useful in testing access control
mappings. For instance, a SEND_ACCESS mapping table of
SEND_ACCESS tcp_local|friendly@somewhere.com|l|AdamUser@acme.com $Y tcp_local|unwelcome@elsewhere.com|l|AdamUser@acme.com $NGo$ away!can be probed as follows:
$ PMDF TEST/REWRITE/FROM="friendly@somewhere.com" -
_$ /SOURCE=tcp_local/DESTINATION=l AdamUser@acme.com
...
Submitted address list:
l
AdamUser (ACME.COM) *NOTIFY FAILURES* *NOTIFY DELAYS*
Submitted notifications list:
$ PMDF TEST/REWRITE/FROM="unwelcome@elsewhere.com" -
_$ /SOURCE=tcp_local/DESTINATION=l AdamUser@acme.com
...
Submitted address list:
Address list error -- Go away!: AdamUser@acme.com
Submitted notifications list: