Name: qmailanalog Version: 0.70 Release: 3 Group: Utilities/System Source0: ftp://koobera.math.uic.edu/pub/software/qmailanalog-0.70.tar.gz URL: http://www.qmail.org/ Copyright: Check with djb Summary: Analysis tools for qmail Buildroot: /tmp/qmailanalog-root Requires: qmail >= 1.01 functions > 1 Packager: mw@moni.msci.memphis.edu %description qmailanalog is a collection of tools to help you analyze qmail-send's activity record. It supplies statistics to answer a wide variety of questions: * overall: how many messages? recipients? attempts? etc. * ddist: how soon were 50 percent of the messages delivered? 90 percent? 95 percent? 99 percent? * rxdelay: what's the best order of recipients for mailing lists? * recipients, rhosts: who's getting mail? bytes? messages? attempts? * successes, failures, deferrals: why? how often? how much delay? * senders, suids: messages? bytes? load? recipients? attempts? delay? qmailanalog also includes several tools to focus attention on particular senders, recipients, or messages. %prep %setup %build make man prog # add /usr/local/qmailanalog/bin to PATH via shellinit files echo 'setenv PATH "${PATH}:/usr/local/qmailanalog/bin"' > qmailanalog.csh echo 'appath PATH /usr/local/qmailanalog/bin' > qmailanalog.sh %install INST_ROOT=$RPM_BUILD_ROOT /bin/rm -rf $INST_ROOT mkdir -p $INST_ROOT/usr/local sed "s}/usr/local}$INST_ROOT/usr/local}" conf-home > conf-home.tmp mv conf-home.tmp conf-home make install ./install make instcheck ./instcheck #install shell init files mkdir -p $INST_ROOT/etc/profile.d cp qmailanalog.sh $INST_ROOT/etc/profile.d cp qmailanalog.csh $INST_ROOT/etc/profile.d chmod a+x $INST_ROOT/etc/profile.d/* %clean INST_ROOT=$RPM_BUILD_ROOT /bin/rm -rf $INST_ROOT %files %config /etc/profile.d/* %doc ACCOUNTING BLURB CHANGES INSTALL MATCHUP README THANKS TODO %doc VERSION /usr/local/qmailanalog