Sun Java System Messaging Server 6.3 Administration Guide

18.5 To Test Access Control Mappings

The imsimta test -rewrite utility—particularly with the -from, -source_channel, -sender and -destination_channel options—can be useful in testing access control mappings. Seeimsimta test in Sun Java System Messaging Server 6.3 Administration Reference for details. The example below shows a sample SEND_ACCESS mapping table and the resulting probe.


MAPPING TABLE:

SEND_ACCESS

  tcp_local|friendly@siroe.com|l|User@sesta.com     $Y 
  tcp_local|unwelcome@varrius.com|l|User@sesta.com  $NGo$ away!

PROBE:

$ TEST/REWRITE/FROM="friendly@siroe.com" -
_$ /SOURCE=tcp_local/DESTINATION=l User@sesta.com
...
Submitted address list: 
  l
    User (SESTA.COM) *NOTIFY FAILURES* *NOTIFY DELAYS* Submitted 
notifications list:

$ TEST/REWRITE/FROM="unwelcome@varrius.com" -
_$ /SOURCE=tcp_local/DESTINATION=l User@sesta.com
...
Submitted address list: 
Address list error -- 5.7.1 Go away! User@sesta.com  

Submitted notifications list: