Receiving Statistics |
Statistics on Dr.Web for UNIX mail servers operation for users and user groups can be received via the command interface of the control socket. Statistics is received with the use of special commands where the following common notions are used: •email - user mail address (according to RFC5322). It can be enclosed in angular brackets (<>) or quotation marks (''). Length of the address cannot exceed 1024 bytes. •client-email - [client-id/]email, where client-id is always an empty string. •group - name of the group enclosed in quotation marks (''). If the substring contains no spaces, the quotation marks can be omitted. If a quotation mark is used, the character must be doubled. Length of the group name cannot exceed 1024 bytes. •client-group = [client-id/]group - where client-id is always an empty string. When working with statistics, consider that statistics on users and user groups is saved directly to the corresponding records of the internal database. When data is saved and the most recent record exists in the database for more than five minutes, a new record is created and further changes are saved to it. As these commands work only with the internal database, the most recent record with statistics on users and user groups contains information for the period from its creation to the current moment. |