Access_counts MTA option

From MsgServerDocWiki

(Link to this page as [[Access counts MTA option]])
Jump to: navigation, search



Counter information in access mappings (access_counts)

(New in JS MS 6.3.) This option provides a way to get at various types of recipient count information in the various recipient-based *_ACCESS mappings. access_counts is bit-encoded in the same way as access_orcpt is, and if set, enables the addition of a set of counts after the (optional) access_orcpt field and before the (optional) include_conversiontag field in the access mapping probe string. Currently the format of the count addition is: RCPT-TO-count/total-recipient-count/


Note the trailing slash. It is expected that additional counter information will be added to this field in the future; all mappings making use of this information should be coded to ignore anything following the (current) last slash or they may break without warning. The total-recipient-count is the count of valid recipients resulting from previous RCPT TO commands (not including the RCPT TO command corresponding to this probe).

Bit Value Usage
0 1 If set, include recipient counts in each [ORIG_]SEND_ACCESS and [ORIG_]MAIL_ACCESS mapping table probe
1 2 If set, include recipient counts in each ORIG_SEND_ACCESS probe
2 4 If set, include recipient counts in each SEND_ACCESS probe
3 8 If set, include recipient counts in each ORIG_MAIL_ACCESS probe
4 16 If set, include recipient counts in each MAIL_ACCESS probe

Bit 0 is the least significant bit.

See also: MTA options, Option value syntax, Getting option changes to take effect, MTA options, listed alphabetically, MTA options, listed by functional groups, Mapping table options, Recipient access mapping tables, access_orcpt, include_conversiontag.

Personal tools