#!/bin/sh

##
# Get all deferrals with recipient and timestamp in a minute.
##

DIR="$( cd "$( dirname "$0" )" && pwd )"
RECIPIENTS_TYPE="${DIR}/../lib/detail.sh"
COLUMNT=/usr/local/qmailanalog/bin/columnt

( echo date time sender user dest recipient reason
$RECIPIENTS_TYPE success \
   | sort -k1,2) \
   | $COLUMNT \
   | less -F
