mailstat.pl man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

MAILSTAT(1)	      User Contributed Perl Documentation	   MAILSTAT(1)

NAME
       mailstat.pl - shows mail-arrival statistics

SYNOPSIS
       mailstat [-klmots] [logfile]

DESCRIPTION
       mailstat.pl example program using Log::Procmail to mimic mailstat(1)

       mailstat parses a procmail-generated $LOGFILE and displays a summary
       about the messages delivered to all folders (total size, average size,
       nr of messages). The $LOGFILE is truncated to zero length, unless the
       -k option is used. Exit code 0 if mail arrived, 1 if no mail arrived.

OPTIONS
       -k  keep logfile intact

       -l  long display format

       -m  merge any errors into one line

       -o  use the old logfile

       -t  terse display format

       -s  silent in case of no mail

NOTES
       Customise to your heart's content, this program is only provided as a
       guideline.

AUTHOR
       This program was written by Philippe 'BooK' Bruhat as an example of use
       for Log::Procmail. It mimics mailstat(1) as much as possible.

       The original mailstat(1) was created by S.R. van den Berg, The
       Netherlands.

       The original manual page was written by Santiago Vila
       <sanvila@debian.org> for the Debian GNU/Linux distribution (but may be
       used by others).

COPYRIGHT
       Copyright (c) 2002-2005, Philippe Bruhat. All Rights Reserved.

LICENSE
       This script is free software. It may be used, redistributed and/or
       modified under the terms of the Perl Artistic License (see
       http://www.perl.com/perl/misc/Artistic.html)

SEE ALSO
       perl, Log::Procmail.

perl v5.20.2			  2013-01-02			   MAILSTAT(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net