Setting Up Gateway Accounting

The Async Gateway can supply accounting information for all messages, including details such as the message's source, priority, size, and destination.

The accounting file is an ASCII-delimited text file that records the source, priority, message type, destination, and size of each item sent through the GroupWise Async Gateway. The file, which is updated daily at midnight, is called acct and is located in the xxx.prc directory. If no accountant is specified for the gateway in ConsoleOne, the file is deleted and re-created each day.

The following sections contain more information about gateway accounting:


Enabling Accounting

By default, the gateway is installed with the accounting functionality. You should verify that the settings have not been changed and that accounting is still enabled.

  1. In ConsoleOne, browse to and right-click the Domain object where the Async Gateway is located.

  2. Right-click the Async Gateway object, then click Properties.

  3. Click GroupWise > Optional Gateway Settings.


    Optional Gateway Settings page
  4. Verify that Accounting is set to Yes.

  5. Verify that Correlation Enabled is set to Yes.

  6. If necessary, click Apply to save your changes.

  7. Continue with Selecting an Accountant.


Selecting an Accountant

You can select one or more GroupWise users to be Accountants. Every day at midnight, each Accountant receives an accounting file (acct) that contains information about the messages the gateway sent that day.

  1. From the Optional Gateway Settings page, click GroupWise > Gateway Administrators.


    Gateway Administrators page
  2. Click Add to display the Select GroupWise Object dialog box.

    All users in your GroupWise system are listed alphabetically by their user IDs. You can select Distribution Lists to list distribution lists instead of users.

  3. Use the Filter fields above the list to restrict the length of the list.

  4. Double-click a user that you want to add to the list of gateway accountants.

    The user's context is displayed in the Gateway Administrators list.

  5. Select the user, then select Accountant.

  6. Click Apply.

  7. To add more accountants, repeat Step 4 through Step 6.

  8. When your accountant list is complete, click OK.


Understanding the Accounting File

One line of an accounting file is shown below.

O,07/06/05,20:42:55,,Mail,2,Sales,Advert,Bob,,,Memo,Headq,Async,0,2593

Each item sent through the gateway is recorded on a separate line, with the fields separated by commas (,). Two or more commas in a row indicate that a field has no data. The following table describes the fields in the order in which they are found in the accounting file.

Fields Description Sample

IN/OUT indicator

Indicates if message is outbound (O) or inbound (I)

O

Message Date

The date of the message that was sent

07/06/05

Message Time

The time the message was sent

20:42:55

GroupWise Message ID

Set of numbers that uniquely identifies the message

 

GroupWise Message Type

The type of item sent (Appointment or Mail)

Mail

GroupWise Message Priority

Priority of the message sent (0=High, 2=Normal, 4=Low)

2

GroupWise User Domain

GroupWise domain of recipient (if message is inbound), or of sender (if message is outbound)

Sales

GroupWise User Post Office

GroupWise post office of recipient or sender

Advert

GroupWise UserID

User ID of recipient (if message is inbound) or sender (if message is outbound)

Bob

GroupWise User Account ID

Account ID specified in the User Information field of the recipient or sender

0

MsgSubject

Maximum length of the Subject field

Memo

Gateway Domain

Gateway Name

HEADQ

Gateway Name

Name of the gateway

Async

Message Type

Type of item sent

Mail

Address

Internet address or recipient's user name

1

# of users at this destination

Number of users the message was sent to

1

# of Attachments

Number of attachments sent with message

0

Accounting Units

Byte size of item sent through gateway

2593

Other Info