This example shows typical output generated by imsimta test -rewrite. The most important piece of information generated by imsimta test -rewrite is displayed on the last few lines of the output, which shows the channel to which imsimta test -rewrite would submit a message with the specified test address and the form in which the test address would be rewritten for that channel. This output is invaluable when debugging configuration problems.
imsimta test -rewrite Address: joe.blue channel = l channel description = channel description = channel flags #1 = BIDIRECTIONAL MULTIPLE IMMNONURGENT NOSERVICEALL channel flags #2 = NOSMTP POSTHEADBODY HEADERINC NOEXPROUTE channel flags #3 = LOGGING NOGREY NORESTRICTED channel flags #4 = EIGHTNEGOTIATE NOHEADERTRIM NOHEADERREAD RULES channel flags #5 = channel flags #6 = LOCALUSER NOX_ENV_TO RECEIPTHEADER channel flags #7 = ALLOWSWITCHCHANNEL NOREMOTEHOST DATEFOUR DAYOFWEEK channel flags #8 = NODEFRAGMENT EXQUOTA REVERSE NOCONVERT_OCTET_STREAM channel flags #9 = NOTHURMAN INTERPRETENCODING text/plain charset def = (7) US-ASCII 5 (8) ISO-8859-1 51 channel envelope address type = SOURCEROUTE channel header address type = SOURCEROUTE channel official host = mailserver.eng.alpha.com channel local alias = channel queue name = channel after param = channel daemon name = channel user name = notices = channel group ids = header To: address = joe.blue@mailserver.eng.alpha.com header From: address = joe.blue@mailserver.eng.alpha.com envelope To: address = joe.blue@mailserver.eng.alpha.com (route (mailserver.eng.alpha.com,mailserver.eng.alpha.com)) envelope From: address = joe.blue@mailserver.eng.alpha.com name = mbox = joe.blue Extracted address action list: joe.blue@mailserver.eng.alpha.com Extracted 733 address action list: joe.blue@mailserver.eng.alpha.com Expanded address: joe.blue@mailserver.eng.alpha.com Submitted address list: ims-ms joe.blue@ims-ms-daemon (sims-ms-daemon) *NOTIFY FAILURES* *NOTIFY DELAYS* Submitted notifications list: Address: # |
In the following example, the sample PAGER mapping is tested. The -mapping_file option is used to select the mapping file pager_table.sample instead of the default mapping file.
imsimta test -mapping -noimage_file \ -mapping_file=msg-svr-base/config/pager_table.sample |
In the following example, the sample mapping pattern $[ax1]*@*.xyz.com is tested for several sample target strings:
imsimta test -match Pattern: $[ax1]*@*.xyz.com [ 1S] cglob [1ax] [ 2] "@" [ 3S] glob, req 46, reps 2 [ 4] "." [ 5] "x" [ 6] "y" [ 7] "z" [ 8] "." [ 9] "c" [ 10] "o" [ 11] "m" Target: xx11aa@sys1.xyz.com Match. 0 - xx11aa 1 - sys1 Pattern: $[ax1]*@*.xyz.com Target: 12a@node.xyz.com No match. Pattern: $[ax1]*@*.xyz.com Target: 1xa@node.acme.com Match. 0 - 1xa 1 - node Pattern: ^D % |