PMDF System Manager's Guide


Previous Contents Index

16.1.5 Testing Access Control Mappings

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@example.com      $Y 
  tcp_local|unwelcome@elsewhere.com|l|AdamUser@example.com     $NGo$ away! 
 
can be probed as follows:


$ PMDF TEST/REWRITE/FROM="friendly@somewhere.com" -
_$  /SOURCE=tcp_local/DESTINATION=l AdamUser@example.com
...
Submitted address list: 
  l 
    AdamUser (EXAMPLE.COM) *NOTIFY FAILURES* *NOTIFY DELAYS* 
 
Submitted notifications list: 
 
$ PMDF TEST/REWRITE/FROM="unwelcome@elsewhere.com" -
_$  /SOURCE=tcp_local/DESTINATION=l AdamUser@example.com
...
Submitted address list: 
Address list error -- Go away!: AdamUser@example.com 
 
Submitted notifications list: 
 


Previous Next Contents Index