NAME

pmx-qdigest-approve - Queue quarantined messages for approval


SYNOPSIS

   # As invoked by sendmail to parse approval requests from users. Reads email
   # on standard input.
   | pmx-qdigest-approve
   # To decode quarantine ids read from standard input
   | pmx-qdigest-approve --decode-ids


DESCRIPTION

Quarantine digests are periodic notifications sent to end-users that summarize their quarantined messages. By replying to digests, users can automatically release messages from the quarantine. The replies use an alias, usually pmx-auto-approve, which is received by the PureMessage server that issued the quarantine digest. When it receives the message approval requests, the PureMessage server passes the requests to the pmx-qdigest-approve script, which processes the release requests.

The pmx-qdigest-approve program can either:

  1. Parse a user's approval request, adding each approved message to the Queue, where they await later delivery by the pmx-queue program.

  2. Decode quarantine IDs read from standard input, printing one decoded ID per line.

Options

--decode-ids
Used to determine the quarantine ID of a message. When digests are generated, the original quarantine ID number is obfuscated to prevent messages from being illegitimately released from quarantine. To determine the message's quarantine ID from the obfuscated digest ID, use this option.


LOGGING

Messages approved by pmx-qdigest-approve writes information about the released message to the pmx_log. The information is encoded using a modified form of q-encoding (see PureMessage::MessageLog for details). The following fields are logged:

t
The message envelope recipient. This is usually the person who released the message.

id
The message's quarantine ID.

f
The envelope sender address.

reason
The reason given to the message when it was quarantined.

p
The message's spam probability.

q
The message's queue ID.

r
The IP address of the relay that delivered the message to the PureMessage host.

h
A spam rule that was triggered for this message.

Not all fields will be present for all messages.


SEE ALSO

the pmx-qdigest manpage, the pmx-qdigest-expire manpage, the pmx-queue manpage


COPYRIGHT

Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.